diff --git a/README.org b/README.org index ef189ff..5693029 100644 --- a/README.org +++ b/README.org @@ -795,12 +795,23 @@ and [[lst:3rd-window-management]] implement a selection of his recommendations. :CUSTOM_ID: sec:bookmarks :END: +Listing [[lst:setup-bookmark][bookmark setup]] preserves bookmark history in [[./var/bookmark-default.el][bookmark-default.el]]. To +access the bookmark history, type: +- {{{kbd(C-x r b)}}} src_emacs-lisp[:results silent]{(call-interactively + 'consult-bookmark)} to jump to a saved bookmark. +- {{{kbd(A-x list-bookmarks)}}} src_emacs-lisp[:results + silent]{(call-interactively 'list-bookmarks)} to edit or use the history. +BUG: The virtual buffers of the ~consult-buffer~ command do not seem to work. +Therefore, ~consult-buffer~ is no means to access the bookmark history (contrary +to claims in [[info:consult#Top][consult (info)]]). + #+caption[Let Emacs save bookmarks when it is killed]: #+caption: Let Emacs save bookmarks when it is killed. #+name: lst:setup-bookmark #+begin_src emacs-lisp -n :results silent (with-eval-after-load 'bookmark - (setopt bookmark-save-flag 1)) + (setopt bookmark-save-flag 1) + (setf bookmark-exit-hook 'bookmark-unload-function)) #+end_src * [[info:emacs#Dired][Dired: directory editor as file manager (info)]]