Some bookmarking commands to get you started:
C-x r m – set a bookmark at the current location (e.g. in a file)
C-x r b – jump to a bookmark
C-x r l – list your bookmarks
M-x bookmark-delete – delete a bookmark by name
Courtesy of emacswiki
The location (file) of a bookmark is in literal (string) form in the bookmark data, which is in variable bookmark-list and which is saved in your bookmark file.
You have these options, to change the file name of one or more bookmarks:
You can use command bmkp-edit-bookmark-name-and-location, which is bound to C-x p r globally. (A similar command is bound ...
Just bind the keys in the keymap used by the mode of buffer *Bookmark List*.
This is what mode keymaps are for. There is no need to use the mode hook.
(define-key bookmark-bmenu-mode-map (kbd "1") 'jump-to-1th-bookmark)
(define-key bookmark-bmenu-mode-map (kbd "2") 'jump-to-2nd-bookmark))
It's unclear to me why you want/need to add such symlinks. Why not just use Emacs bookmarks?
If you use Bookmark+ then you can have:
Bookmarks to Dired buffers (which record lots of stuff, including markings, subdir insertions, omit settings, etc.).
Bookmarks to bookmark files (to load different sets of bookmarks).
Bookmarks to bookmark-list displays (...
There are several ways to do this. One of my preferred methods is the bm package. The package provides visual bookmarks:
The setup is dead simple:
(global-set-key (kbd "<C-f2>") 'bm-toggle)
(global-set-key (kbd "<f2>") 'bm-next)
(global-set-key (kbd "<S-f2>") 'bm-previous)
You can change the color of the bookmark with
There is a command for connecting to all bookmarked group chats that have the "autojoin" flag set: M-x jabber-muc-autojoin. This is included in jabber-post-connect-hooks by default, so you should only need to use it just after modifying bookmarks.
You can join a room manually with M-x jabber-muc-join. It currently doesn't offer the bookmarked rooms for ...
Are you interested in using only the *Bookmark List* display to jump to bookmarks, or are you interested in jumping to them from any buffer?
If the former, you can bind the keys you want (0 to 9 or whatever) in bookmark-bmenu-mode-map to commands that jump to particular bookmarks or to, say, the Nth next bookmark. Or you can just define a command that ...
If you use Bookmark+ then you can reorder the bookmark-list display (from C-x r l) in many ways, and you can easily define additional ways.
See Sorting Bookmarks. Just a flavor of what's involved:
There are many such predefined sort orders bound to keys with the prefix s — use C-h m or ? for more info.
s > – Sort marked (>) before unmarked
s * – Sort ...
It will be necessary to decide ahead of time what windows/buffers will be A, B and C. The alist argument for the left window-width can be adjusted to taste -- it is presently hard-coded to 70. This example uses an internal function window--display-buffer, which requires some general understanding of certain functions inside window.el. The selected-window ...
Just to highlight another approach from the comments: you can use a library such as ace-jump or avy. These libraries are not specific to bookmarks, but provide a general way to jump to a specific location in the visible window.
For example, with avy you could use the command avy-goto-line. When invoked this command adds a number or character (depending on ...
Bookmark+ already provides automatically named bookmarks.
By default, the names used do not come from RST mode section titles etc., however.
C-x p RET creates a bookmark at point without prompting you for the name. By default, it is named using the current buffer name preceded by the position in the buffer. For example, the autonamed bookmark in buffer foo....
Bookmark+ gives you lots of ways to manage sets of normal Emacs bookmarks, including for EWW.
It also offers several unique possibilities for bookmarking URLs with EWW, if you use Emacs 25 or later.
You can convert your existing EWW "bookmarks" (which are not normal Emacs bookmarks) to normal Emacs bookmarks.
From then on, you can just create normal Emacs ...
@Aaron answered well with the usual way to take care of this in Emacs: set a mark where you are now, then get back to it later using C-u C-SPC.
Another way is to use a bookmark, in particular a temporary bookmark (unless you want to get back to the position in a later Emacs session).
You can easily create (and delete) temporary bookmarks using Bookmark+. ...
By default, Bookmark+ saves bookmarks in such a way that you can have multiple bookmarks with the same bookmark name, but with different data. Whether this happens is controlled by option bmkp-propertize-bookmark-names-flag.
(Being able to have such bookmarks is handy for autofile bookmarks, that is, bookmarks whose names are automatically the same as the ...
The left column of the bookmark-list display shows your bookmark names.
The right column (which you can hide/show using M-t) shows the file names of the bookmark targets (or the buffer name, if the targeted buffer has no associated file).
In your case it looks like you named the bookmarks the same as the files. You might have done this yourself, explicitly. ...
Load the library: M-x load-library RET bookmark RET.
Customize your bookmarks file using M-x customize-option RET bookmark-default-file. Completion is available for the option names, so type bookm TAB to see the options concerning bookmarks, etc.
After you delete bookmarks from your bookmark list, which is in memory, if you want those changes saved then you ...
The relevant Bookmark+ code is in functions bmkp-bmenu-mode-line-string (which creates the string, with its faces) and bmkp-bmenu-mode-line (which displays that in the mode-line), in file bookmark+-bmu.el.
In the first of these functions you will see that the faces used are (1) bmkp-heading (for the sorting... information) and (2) one or more of these faces ...
You cannot easily do that. The Bookmark+ layout generally follows that of vanilla Emacs, but more information is provided in the "heading" (first few lines).
This "heading" information includes the bookmark file and the current filtering type (kinds of bookmarks that are shown). That is why more than one line is used. The bookmark file location alone can be ...
Spacemacs saves the bookmarks in ~/.emacs.d/.cache/bookmarks, and the recent files lise in ~/.emacs.d/.cache/recentf. You can copy these two files somewhere outside of ~/.emacs.d, and copy them back in after re-installing.
In fact, there might be more files in ~/.emacs.d/.cache that you'd like to save. I suggest backing up the entire ~/.emacs.d/.cache and ...
I don't know whether it is possible to bookmark the whole remote path as you type it. But please be aware, that the pipe notation /sshx:user@myhost|su:myhost: is called ad-hoc proxies, it is not intended to survive an Emacs session. I recommend you to add the proxy configuration in your .emacs file, as described in the Tramp manual:
I use this function to quickly create meaningful bookmarks with a single keypress, without having to think about it:
(defun my/quick-save-bookmark ()
"Save bookmark with name as 'buffer:row:col'"
(bookmark-set (format "%s:%s:line %s:column %s"
It looks like the relevant bookmark function is bookmark-get-filename. You could advise this to expand or otherwise transform the path.
For example, add some 'filter return' advice to call expand-file-name:
(advice-add 'bookmark-get-filename :filter-return 'expand-file-name)
To be able to share a bookmarks file between systems, you need some way ...
(The error message is telling you that something expected a list and instead was passed a symbol (that names the file). Turn on debug-on-error, so you can see what the calling function is. Then use C-h f for that function, to see how it should be called instead.)
I can't speak to file-props.el. But I can speak to this:
Are there other functions than ...
You can view the doc on the Web, here: https://www.emacswiki.org/emacs/BookmarkPlus. It is essentially the same doc as what is in bookmark+-doc.el, and it is just as up-to-date. It also shows screenshots.
It says this in the first section of bookmark+-doc.el:
If you have library linkd.el and Emacs 22 or later, load
linkd.el and turn on linkd-mode now....
Bookmark+ uses the vanilla Emacs standard form of bookmarks. It can also use additional kinds of bookmarks that it defines (or that you define), but they are still based on the same overall bookmark-list structure of vanilla Emacs.
Library bm.el does not - its "bookmarks" are overlays, and they are not at all compatible with Bookmark+ bookmarks (including ...
Please explain why you do not want that user option to be saved in your custom-file. That's the logical place for it. User options are saved in custom-file if it exists, or in your init file otherwise.
If you really do not want it to be saved there , and you do not want it to be customizable (using Customize), you can do this:
I had the same problem. Turned out there was a file ~/.emacs-bmk-bmenu-state.el
that still contained the pesky symbol. I moved the file to a save directory, restarted Emacs, and now bookmark+ works again.