Skip to content

New feature: bb-jump: quickly navigate directly to any bm#37

Open
Boruch-Baum wants to merge 2 commits into
joodland:masterfrom
Boruch-Baum:bb-jump
Open

New feature: bb-jump: quickly navigate directly to any bm#37
Boruch-Baum wants to merge 2 commits into
joodland:masterfrom
Boruch-Baum:bb-jump

Conversation

@Boruch-Baum

Copy link
Copy Markdown
  • Inspired by function bookmark-jump from emacs-core package bookmark.el

  • List of bookmarks are presented as mini-buffer completion candidates

  • Presentation includes enhanced fontification of each bookmark's file name and line number.

@joodland

joodland commented May 5, 2021

Copy link
Copy Markdown
Owner

I am not getting this to work properly:

  • No auto-complete in the minibuffer just a history list to scroll up or down.
  • Jumping to a bookmark in a buffer other than the current buffer does not work.

Isn't this use-case already solved by the functionality of bm-show and bm-show-all?

@Boruch-Baum

Boruch-Baum commented May 5, 2021 via email

Copy link
Copy Markdown
Author

Comment thread bm.el
"Jump to bookmark: "
(mapcar 'car candidates) nil t)))
(when (setq decision (assoc decision candidates))
(goto-char (overlay-start (cadr decision))))))

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand that the bookmark is not available, but I don't like that jumping to a bookmark is done without using bm-goto() since there are more things happening in addition to the jump.

@Boruch-Baum

Boruch-Baum commented May 6, 2021 via email

Copy link
Copy Markdown
Author

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.

2 participants