all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 20135@debbugs.gnu.org
Subject: bug#20135: 25.0.50; Emacs manual typos for key bindings
Date: Wed, 18 Mar 2015 21:12:46 +0200	[thread overview]
Message-ID: <831tkmxgpd.fsf@gnu.org> (raw)
In-Reply-To: <237c103a-4391-4792-adf3-e35b6d7fceff@default>

> Date: Wed, 18 Mar 2015 11:34:14 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: 20135@debbugs.gnu.org
> 
> > > Do we write `<S-up>' or `S-<up>'?  Or do we use both conventions, and if
> > > so, are they interchangeable (same meaning)?
> > 
> > S-<up> is the right way for the manuals.
> 
> Any chance to revisit that?

Not for the manuals: this is how makeinfo translates @kbd{S-@key{up}},
which is how one should write modified keys in Texinfo.

> > > Another question is about whether, aside from special cases (which are
> > > already called out, AFAIK), function-key names should be written using
> > > uppercase.  For example, is `<S-RIGHT>" correct, or should it be
> > > `<S-right>" (or `S-<right>')?
> > 
> > We've been though this before, and AFAIK the manual was fixed to be
> > consistent at that time.
> 
> I know nothing about whether that was the case.  But it does not seem to
> be consistent now, at least.

As I said, feel free to point out specific inconsistencies, keeping in
mind that upper-case is the rule.

> > In the doc strings, that's substitution, right?  It's not that these
> > are written verbatim in the doc string, right?  If so, they are
> > formatted how the relevant APIs (key-description, I believe) do it.
> 
> Correct.  It is generally `key-description' that provides help commands
> with their syntax.
> 
> Which means that this is the syntax users will be likely to see most
> often.  Which means that it might well be the syntax that they will
> try (mistakenly) to use when searching the manual, for instance.

Let's not reiterate old arguments.

> But why would you give as a reason being consistent with TAB, SPC, DEL,
> etc., which are *exceptions* (correponding to ASCII names)?
> 
> Why not speak about consistency with the other function keys and
> pseudofunction keys - <prior>, <next>, <home>, etc.?

Where a key has a name printed on it, we should try using that name
literally, except when there's some tradition to the contrary.

> > If we want the doc strings to follow suit, the relevant primitives should
> > be changed to follow suit.
> 
> I don't want to change the doc strings to follow suit.  I think the manual
> should reflect Emacs itself: its doc strings, help output, `key-description'.

Then you should be posting this bug report to the Texinfo list,
because they will have to change the Info output.

> You can search as well as I.

Sorry, not enough time.





  reply	other threads:[~2015-03-18 19:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<da4bba2a-15a6-40ed-ab6c-7d2fcbe99c4c@default>
     [not found] ` <<83619yxl9i.fsf@gnu.org>
2015-03-18 18:34   ` bug#20135: 25.0.50; Emacs manual typos for key bindings Drew Adams
2015-03-18 19:12     ` Eli Zaretskii [this message]
2015-03-18 20:20     ` Eli Zaretskii
2015-03-18 15:08 Drew Adams
2015-03-18 17:34 ` Eli Zaretskii

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=831tkmxgpd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=20135@debbugs.gnu.org \
    --cc=drew.adams@oracle.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 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.