From: Ihor Radchenko <yantar92@posteo.net>
To: Visuwesh <visuweshm@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Add repeat-map for navigation commands
Date: Sun, 22 Sep 2024 11:48:23 +0000 [thread overview]
Message-ID: <87frprrjso.fsf@localhost> (raw)
In-Reply-To: <87r09jwzlm.fsf@gmail.com>
Visuwesh <visuweshm@gmail.com> writes:
> Please find attached. I tried my best to write the manual entry but it
> still reads awkward.
Thanks!
> * lisp/org-keys.el (org-up-heading): Add new alias for
> outline-up-heading.
Please quote Elisp symbols as `outline-up-heading'.
> +** Repeating commands
> +:PROPERTIES:
> +:DESCRIPTION: Repeating navigation commands
> +:END:
> +
> +#+cindex: repeat-mode, org-mode
> +#+cindex: repeating navigation commands
> +When ~repeat-mode~ is turned on, headline motion commands, link and
> +block navigation commands by only pressing a single key. For example,
> +when navigation to the next headline using {{{kbd(C-c C-n)}}}, a
> +repeat map is activated that lets you quickly execute headline motion
> +commands. When a key not in the map is pressed, it exits ~repeat-mode~
> +and the command corresponding to the key is executed.
1. You can link to "9.11 Repeating a Command" section of Emacs manual
2. I think that it is a good idea to provide a more clear example.
Something like: "Instead of pressing C-c C-n repeatedly, you can
omit C-c and just use C-c C-n n n p u... to move around."
3. We need to clarify which bindings are default (n, p, u, f,
b). Probably as a table.
> +*** Some navigation commands can now be repeated
> +
> +When ~repeat-mode~ is turned on, certain navigation can be repeated.
> +These include the headline navigation commands, ~org-next-link~ and
> +~org-previous-link~, and ~org-next-block~ and ~org-previous-block~.
Example and a link to Emacs manual would also be good here.
And we probably need to mention `org-navigation-repeat-map' to let users
know what to customize if they prefer alternative bindings.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2024-09-22 11:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-09 14:21 [PATCH] Add repeat-map for navigation commands Visuwesh
2024-09-09 16:53 ` Ihor Radchenko
2024-09-10 1:36 ` Karthik Chikmagalur
2024-09-15 12:54 ` Ihor Radchenko
2024-09-10 5:11 ` Visuwesh
2024-09-15 13:08 ` Ihor Radchenko
2024-09-16 12:29 ` Visuwesh
2024-09-22 11:48 ` Ihor Radchenko [this message]
2024-09-22 12:58 ` Visuwesh
2024-09-22 15:43 ` Ihor Radchenko
2024-10-06 11:42 ` Visuwesh
2024-10-12 17:56 ` Ihor Radchenko
2024-10-12 18:16 ` Visuwesh
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87frprrjso.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=visuweshm@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).