From: "Robert J. Chassell" <bob@rattlesnake.com>
Subject: Re: Suggestion: Simple way to make conditional key bindings.
Date: Fri, 30 Aug 2002 06:27:07 -0400 (EDT) [thread overview]
Message-ID: <m17kizb-000IeIC@localhost> (raw)
In-Reply-To: <200208261621.g7QGLIE25159@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu)
> ... C-h k C-y will report yank or yank-with-properties
> depending on the actual function taken if you hit C-y. ....
> .... sometimes it will be better for C-h k to give the doc string
> for the specific command that will be executed.
Agreed. But in the example he gave I think that a docstring that
describes the range of behavior rather than the specific command is
better, because you can't expect the user to know that the current
string is "special".
Yes: the user may not know or remember the range. (At the moment,
for example, I am in the middle of a long airplane flight and too
exhausted to remember much, even though some of the time I am quite
good.)
At the same time, for this sort of command, which operates differently
in different contexts, the docstring should describe what the command
will do specifically in this situation.
--
Robert J. Chassell bob@rattlesnake.com bob@gnu.org
Rattlesnake Enterprises http://www.rattlesnake.com
Free Software Foundation http://www.gnu.org GnuPG Key ID: 004B4AC8
next prev parent reply other threads:[~2002-08-30 10:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-23 12:05 Suggestion: Simple way to make conditional key bindings Kim F. Storm
2002-08-26 0:36 ` Richard Stallman
2002-08-26 16:21 ` Stefan Monnier
2002-08-30 10:27 ` Robert J. Chassell [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-08-23 12:52 David PONCE
[not found] <3D49FF140074EFAE@mel-rta7.wanadoo.fr>
2002-08-23 13:16 ` Kim F. Storm
2002-08-23 17:22 ` Stefan Monnier
2002-08-25 23:33 ` Kim F. Storm
2002-08-26 15:47 ` Stefan Monnier
2002-08-26 19:33 ` Miles Bader
2002-08-27 19:05 ` Richard Stallman
2002-08-27 22:58 ` Kim F. Storm
2002-08-28 23:32 ` Richard Stallman
2002-08-29 8:54 ` Kim F. Storm
2002-08-28 1:00 ` Miles Bader
2002-08-28 1:22 ` Stefan Monnier
2002-08-27 11:23 ` Kim F. Storm
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=m17kizb-000IeIC@localhost \
--to=bob@rattlesnake.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.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).