On Sun, Nov 26, 2017 at 07:27:37PM +0100, Jeremie Courreges-Anglas wrote:
> On Tue, Nov 21 2017, Anton Lindqvist <[email protected]> wrote:
> > Hi,
> > While writing tests for the Emacs editing mode in ksh I discovered some
> > potential errors in the manual:
> >
> > - Sync the order of key bindings in emacs.c with the manual
> >
> > - ^W is bound to delete-word-backward and not kill-region which is
> >   mentioned in emacs.c. I don't know the full history here...
> >
> > - Add missing '^' in backward-char binding
> >
> > - The WERASE control character is also bound to delete-word-backward,
> >   see x_emacs_keys().
> >
> > - Rephrase delete-word-forward to match the other bindings
> >
> > - Move kill-region to a separate list of commands without default
> >   bindings
> 
> The last points brings the following question: what should we do with
> other undocumented functions?
> 
> --8<--
> --- a Wed Nov 22 02:47:00 2017
> +++ b Wed Nov 22 02:47:07 2017
> @@ -1,4 +1,5 @@
>  abort
> +auto-insert
>  backward-char
>  backward-word
>  beginning-of-history
> @@ -19,12 +20,14 @@
>  end-of-line
>  eot
>  eot-or-delete
> +error
>  exchange-point-and-mark
>  expand-file
>  forward-char
>  forward-word
>  goto-history
>  kill-line
> +kill-region
>  kill-to-eol
>  list
>  list-command
> @@ -42,5 +45,6 @@
>  transpose-chars
>  up-history
>  upcase-word
> +version
>  yank
>  yank-pop
> -->8--
> 
> I assume that "auto-insert" and "error" should be left out as
> implementation details, but what about "version"?
> 
> Here's a diff to remove that function.  If people want to keep and
> document it I would not object, but I don't really see the point.
> Quick way to see for yourself: bind ^[v=version then type ESC v
> 
> ok?

ok anton@

While at it, another gem: in Vi normal mode typing ^V inserts the
version string. Does not seem to be documented either.

Reply via email to