unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
Cc: emacs-devel@gnu.org, karl@freefriends.org
Subject: Re: rcirc manual
Date: Sat, 14 Jan 2006 12:20:30 +0000 (UTC)	[thread overview]
Message-ID: <m1ExkOU-0004EmC@rattlesnake.com> (raw)
In-Reply-To: <umzhz19bs.fsf@gnu.org> (message from Eli Zaretskii on Sat, 14 Jan 2006 10:51:19 +0200)

   >     @key{TAB} is typeset to show an image of a key on a keyboard.  I
   >     think it is not the right markup in this case, because this manual
   >     does not talk about keys, it talks about typing a TAB.

        Use the `@kbd' command for characters of input to be typed by
        users. ...

        Use the `@key' command for the conventional name for a key on
        a keyboard ...

   Bob, I know what the Texinfo manual says about this issue, I just
   think it's not 100% clear what it means in practice.  For example, you
   could use either @kbd{M-@key{x}} or @kbd{M-x} (since `x' ``describes a
   key by name''), but the Texinfo manual doesn't touch this dilemma.

My keyboard has a key labelled "Tab" but conventionally, its input can
be sent either by pressing that key or by pressing C-i.  So it seems
to be that in the question of the rcirc manual, @kbd{TAB} makes most
sense.

   ... @key is appropriate when talking about keys on the keyboard,
   like in the Emacs manual chapter which explains the
   Backspace/Delete/DEL issue ...

Yes, I agree.

   I think the effect of @key is not what you want; in particular
   @kbd{M-@key{x}} looks ugly.

I just tested the example, @kbd{C-x @key{ESC}}, in Texinfo.  (No one
that I know would write @kbd{M-@key{x}}.  Instead, he or she would
write either @kbd{M-x} or @key{M-x}.)  For @kbd{C-x @key{ESC}}, both
the Info and the DVI outputs look fine to me.  I particularly like
this output since it tells me, perhaps wrongly, that I am supposed to
press the <ESC> key and not C-[.

   ... if the text is something like "press the TAB key", then
   @key{TAB} is the right markup, but if the text says "you can use
   TAB for completion", I'd use @kbd{TAB}.

Yes.  I agree.  Of course, everyone must check lest someone say "press
the TAB key" when he or she really means "you can use TAB ...", but
that is a different issue.

-- 
    Robert J. Chassell                         
    bob@rattlesnake.com                         GnuPG Key ID: 004B4AC8
    http://www.rattlesnake.com                  http://www.teak.cc

  reply	other threads:[~2006-01-14 12:20 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-09 17:47 rcirc manual Björn Lindström
2006-01-13 11:21 ` Eli Zaretskii
2006-01-13 14:10   ` Alex Schroeder
2006-01-13 15:08     ` Eli Zaretskii
2006-01-13 15:11       ` Alex Schroeder
2006-01-14 16:14     ` Richard M. Stallman
2006-01-13 15:48   ` Thien-Thi Nguyen
2006-01-13 15:55     ` Eli Zaretskii
2006-01-13 22:16       ` Robert J. Chassell
2006-01-14  8:51         ` Eli Zaretskii
2006-01-14 12:20           ` Robert J. Chassell [this message]
2006-01-14 15:10             ` Eli Zaretskii
2006-01-14 17:47               ` Robert J. Chassell
2006-01-15 23:07                 ` Richard M. Stallman
2006-01-15  7:49           ` Richard M. Stallman
2006-01-15 19:48             ` Eli Zaretskii
2006-01-15 22:23               ` Karl Berry
2006-01-16  4:26                 ` Eli Zaretskii
2006-01-15 22:29               ` Robert J. Chassell
2006-01-16 14:15               ` Richard M. Stallman
2006-01-21 13:01                 ` Eli Zaretskii
2006-01-23  0:09   ` Alex Schroeder
2006-01-27 18:48     ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1ExkOU-0004EmC@rattlesnake.com \
    --to=bob@rattlesnake.com \
    --cc=emacs-devel@gnu.org \
    --cc=karl@freefriends.org \
    /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.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).