From: Drew Adams <drew.adams@oracle.com>
To: Jean Louis <bugs@gnu.support>
Cc: "Dmitry Gutov" <dgutov@yandex.ru>,
"Daniel Martín" <mardani29@yahoo.es>,
"emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: RE: [External] : Re: A feature to go to last edit locations
Date: Tue, 14 Feb 2023 05:21:24 +0000 [thread overview]
Message-ID: <SJ0PR10MB54888C6941B07EF3508BF416F3A29@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <Y+qoJGXZCMj1dEGT@protected.localdomain>
> > (Single key to set, single key to jump to.)
>
> Which single key? I have to use complex key
> combinations, or maybe function keys.
Setting an autonamed bookmark:
Command, `bmkp-toggle-autonamed-bookmark-set/delete'
sets or deletes an autonamed bookmark. It does this:
If there is an autonamed bookmark at point, delete it, else create one.
The bookmark created has no region. Its name is formatted according
to option `bmkp-autoname-bookmark-function'.
With a prefix arg, delete *ALL* autonamed bookmarks for this buffer.
Bind it to any key you like. By default it's `RET' on
the `bookmark-map', which by default is on prefix key
`C-x x' -- so `C-x x RET'.
By default it's also `RET' on `bmkp-set-map', which by
default is on prefix key `C-x x c' (all commands that
set bookmarks are on this keymap).
Jumping to an autonamed bookmark:
Command `bmkp-autonamed-jump' jumps to an autonamed
bookmark. By default it's `#' on `bmkp-jump-map',
which by default is on prefix key `C-x j'.
There's also `bmkp-this-buffer-jump' which jumps to
an autonamed bookmark in the current buffer. By
default it's `C-x j , #'.
The jump commands prompt for an autonamed bookmark,
so they're not single-key in the same way that the
set/delete command is. You generally don't want to
bind a key to just jump to a single bookmark (but
you can, of course). Instead, you want to have a
key that jumps only to a bookmark of a given type
(in addition to a key that jumps to a bookmark of
any type).
_______
FYI, this is the automatic bookmarking doc string:
bmkp-automatic-bookmark-mode is an interactive Lisp function in
‘bookmark+-1.el’.
It is bound to menu-bar file bookmark options
bmkp-automatic-bookmark-mode.
(bmkp-automatic-bookmark-mode &optional ARG)
Toggle automatic setting of a bookmark when Emacs is idle.
Non-interactively, turn automatic bookmarking on for the current
buffer if and only if ARG is positive.
To enable or disable automatic bookmarking in all buffers, use
`bmkp-global-automatic-bookmark-mode'.
When the mode is enabled in the current buffer, a bookmark is
automatically set every `bmkp-automatic-bookmark-mode-delay' seconds,
using the setting function that is the value of option
`bmkp-automatic-bookmark-set-function'. Note that a buffer must be
current (selected) for an automatic bookmark to be created there - it
is not enough that the mode be enabled in the buffer.
Turning the mode on and off runs hooks
`bmkp-automatic-bookmark-mode-on-hook' and
`bmkp-automatic-bookmark-mode-off-hook', respectively.
If you want the automatic bookmarks to be temporary (not saved to your
bookmark file), then customize option
`bmkp-autotemp-bookmark-predicates' so that it includes the kind of
bookmarks that are set by `bmkp-automatic-bookmark-set-function'.
For example, if automatic bookmarking sets autonamed bookmarks, then
`bmkp-autotemp-bookmark-predicates' should include
`bmkp-autonamed-bookmark-p' or
`bmkp-autonamed-this-buffer-bookmark-p'.
If you want the automatically created bookmarks to be highlighted,
then customize option `bmkp-auto-light-when-set' to highlight
bookmarks of the appropriate kind. For example, to highlight
autonamed bookmarks set it to `autonamed-bookmark'.
next prev parent reply other threads:[~2023-02-14 5:21 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m1fsbakchr.fsf.ref@yahoo.es>
2023-02-12 17:41 ` A feature to go to last edit locations Daniel Martín
2023-02-12 17:52 ` Eli Zaretskii
2023-02-12 18:59 ` Daniel Martín
2023-02-12 19:26 ` Eli Zaretskii
2023-02-12 19:42 ` andrés ramírez
2023-02-12 22:19 ` Daniel Martín
2023-02-12 23:54 ` Dr. Arne Babenhauserheide
2023-02-13 7:50 ` Juri Linkov
2023-02-12 21:40 ` [External] : " Drew Adams
2023-02-13 20:28 ` Jean Louis
2023-02-12 18:07 ` Dmitry Gutov
2023-02-12 18:50 ` Daniel Martín
2023-02-12 18:52 ` Dmitry Gutov
2023-02-12 19:23 ` Daniel Martín
2023-02-13 19:28 ` Jean Louis
2023-02-13 19:24 ` Jean Louis
2023-02-13 19:41 ` Dmitry Gutov
2023-02-13 20:22 ` Dr. Arne Babenhauserheide
2023-02-13 20:56 ` Jean Louis
2023-02-14 3:25 ` Eli Zaretskii
2023-02-14 4:36 ` [External] : " Drew Adams
2023-02-14 4:56 ` Drew Adams
2023-02-14 5:53 ` Jean Louis
2023-02-14 16:24 ` Drew Adams
2023-02-15 5:45 ` Jean Louis
2023-02-15 16:34 ` Drew Adams
2023-02-16 8:17 ` On Bookmarks+ package Jean Louis
2023-02-16 17:38 ` [External] : " Drew Adams
2023-02-14 20:08 ` A feature to go to last edit locations Dmitry Gutov
2023-02-13 19:48 ` [External] : " Drew Adams
2023-02-13 20:28 ` Dr. Arne Babenhauserheide
2023-02-13 21:17 ` Drew Adams
2023-02-13 21:21 ` Jean Louis
2023-02-13 21:14 ` Jean Louis
2023-02-14 5:21 ` Drew Adams [this message]
2023-02-13 19:49 ` Michael Welsh Duggan
2023-02-13 21:35 ` Jean Louis
2023-02-13 23:14 ` Konstantin Kharlamov
2023-02-14 0:00 ` Ergus
2023-02-14 6:29 ` Dr. Arne Babenhauserheide
2023-02-15 0:00 ` Karthik Chikmagalur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SJ0PR10MB54888C6941B07EF3508BF416F3A29@SJ0PR10MB5488.namprd10.prod.outlook.com \
--to=drew.adams@oracle.com \
--cc=bugs@gnu.support \
--cc=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=mardani29@yahoo.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.