Contents
What do you need to know about bookmarking in Emacs?
Emacs bookmarking makes use of three things that are related but different: a bookmark list, a bookmark file, and a bookmark-list display. Understanding these is important to using Emacs bookmarks. They are explained at Bookmark Basics. Some bookmarking commands to get you started:
How to reload bookmarks file without restarting Emacs?
Take a look at bookmark+. There are a lot of things in that package but this is very handy: bookmark-load is an interactive compiled Lisp function in bookmark+-1.el . It is bound to C-x p l, . (bookmark-load FILE &optional OVERWRITE BATCHP) Load bookmarks from FILE (which must be in the standard format).
Are there any Lisp libraries available on emacswiki?
Bookmark+, as well as my other libraries that are on EmacsWiki, used to be obtainable also from MELPA. You may still find some of them there, but they are likely not up-to-date. MELPA has decided to no longer accept Lisp libraries from EmacsWiki.
How to create a bookmark for a specific file?
Show the bookmark list just for bookmarks for the current file. Set `bmkp-last-specific-file` to the current file name. If the current buffer is not visiting a file, prompt for the file name. It shows the *Bookmark List* display, listing only and all bookmarks that target the current file.
How to save a list of Bookmark values?
Load a file named filename that contains a list of bookmark values. You can use this command, as well as bookmark-write, to work with other files of bookmark values in addition to your default bookmark file. Save all the current bookmark values in the file filename .
How to show bookmarks in a separate buffer?
To display a list of all your bookmarks in a separate buffer, type C-x r l (list-bookmarks). If you switch to that buffer, you can use it to edit your bookmark definitions or annotate the bookmarks.
Is there a way to cycle among bookmarks?
Bookmark+ lets you cycle among any set of bookmarks, including visible (highlighted) bookmarks. DoReMi command ‘doremi-bookmarks’ lets you cycle among bookmarks using the up and down arrow keys or a mouse wheel. Icicles command ‘icicle-bookmark’ lets you cycle cycle among bookmarks.