Skip to content

Improve bookmark rename/delete on bufferlo bookmarks#77

Open
shipmints wants to merge 1 commit intoflorommel:mainfrom
shipmints:shipmints-bookmark-rename-delete-improve
Open

Improve bookmark rename/delete on bufferlo bookmarks#77
shipmints wants to merge 1 commit intoflorommel:mainfrom
shipmints:shipmints-bookmark-rename-delete-improve

Conversation

@shipmints
Copy link
Copy Markdown
Collaborator

See #70

  • bufferlo.el (bufferlo--active-set-name-for-bookmark): Rename to 'bufferlo--active-set-names-for-bookmark'.
    (bufferlo--active-set-names-for-bookmark): Rename from 'bufferlo--active-set-name-for-bookmark' and return a list of active set names rather than just one.
    (bufferlo-mode-line-format): Change to call
    'bufferlo--active-set-names-for-bookmark'.
    (bufferlo-bookmark-rename-confirmations): New user option. (bufferlo-bookmark-delete-confirmations): New user option. (bufferlo--bookmark-handlers): Change defvar to defconst. (bufferlo--bookmark-handler-types): New defconst.
    (bufferlo-mode): Install/remove
    bufferlo--bookmark-delete-all-advice.
    (bufferlo--bookmark-type): New function.
    (bufferlo--rename-tab-bookmark): New function.
    (bufferlo--rename-frame-bookmark): New function.
    (bufferlo--rename-or-delete-bookmark-in-sets): New function. (bufferlo--rename-bookmark): New function.
    (bufferlo--bookmark-rename-advice)
    (bufferlo--bookmark-delete-advice): Change to prompt under various destructive conditions.
    (bufferlo--bookmark-delete-all-advice): New function.
  • README.org (General bookmark commands): Document new features. (Complete configuration sample): Document new user options.

See florommel#70

* bufferlo.el (bufferlo--active-set-name-for-bookmark): Rename
to 'bufferlo--active-set-names-for-bookmark'.
(bufferlo--active-set-names-for-bookmark): Rename from
'bufferlo--active-set-name-for-bookmark' and return a list of
active set names rather than just one.
(bufferlo-mode-line-format): Change to call
'bufferlo--active-set-names-for-bookmark'.
(bufferlo-bookmark-rename-confirmations): New user option.
(bufferlo-bookmark-delete-confirmations): New user option.
(bufferlo--bookmark-handlers): Change defvar to defconst.
(bufferlo--bookmark-handler-types): New defconst.
(bufferlo-mode): Install/remove
bufferlo--bookmark-delete-all-advice.
(bufferlo--bookmark-type): New function.
(bufferlo--rename-tab-bookmark): New function.
(bufferlo--rename-frame-bookmark): New function.
(bufferlo--rename-or-delete-bookmark-in-sets): New function.
(bufferlo--rename-bookmark): New function.
(bufferlo--bookmark-rename-advice)
(bufferlo--bookmark-delete-advice): Change to prompt under
various destructive conditions.
(bufferlo--bookmark-delete-all-advice): New function.
* README.org (General bookmark commands): Document new features.
(Complete configuration sample): Document new user options.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant