--- Begin Message ---
Subject: |
zap-up-to-char should appear in "Deletion and Killing" Emacs info section and "Command Index" |
Date: |
Tue, 26 Nov 2019 19:34:37 +0100 |
Hello,
According to the documentation, zap-up-to-char allows one to kill up
to, but not including ARGth occurrence of CHAR. No reference is made
to zap-up-to-char in
https://www.gnu.org/software/emacs/manual/html_node/emacs/Killing.html
or https://www.gnu.org/software/emacs/manual/html_node/emacs/Command-Index.html.
It isn't immediately apparent from the documentation on zap-to-char in
the above sections, and also from the source of zap-to-char, that
there exists a way of zapping up to a char without writing this code
manually. I couldn't find any combination of keys, either, to press
after pressing M-z which would result in the same functionality.
It took me quite a while to come across zap-up-to-char. Could
documentation for this function be added to the Emacs manual?
Kind regards,
Justin
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#38392: zap-up-to-char should appear in "Deletion and Killing" Emacs info section and "Command Index" |
Date: |
Fri, 29 Nov 2019 12:19:15 +0200 |
> Date: Thu, 28 Nov 2019 13:45:20 +1300
> From: Phil Sainty <address@hidden>
>
> Eli wrote:
> > I'm not sure we should have it in the manual. The fact that you
> > wanted it doesn't yet mean it's useful enough to have in the manual.
> >
> > Does anyone else have an opinion?
>
> Mentioning only one of the two commands just seems arbitrary,
> so I think it should be either "both" or "neither" for the sake
> of consistency.
>
> I think the manual should mention both of them, and that their
> docstrings should probably mention one another as well, so that
> users can learn about these alternatives more easily.
Thanks, done (I only added the reference to the doc string of
zap-to-char, though).
--- End Message ---