unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Andreas Schwab'" <schwab@linux-m68k.org>
Cc: emacs-pretest-bug@gnu.org, 3108@emacsbugs.donarmstrong.com
Subject: bug#3108: 23.0.92; 2C-command: missing arglist
Date: Sun, 26 Apr 2009 06:52:51 -0700	[thread overview]
Message-ID: <001d01c9c676$4b715950$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <m2eivfu1xg.fsf@igel.home>

> > Emacs 22 is more correct here, since the arglist is 
> > missing.  Even if there is no doc string, we should show the signature.
> 
> 2C-command is a keymap, it does not have an arglist.

Oops.

Then in that case, shouldn't the help show something like this:
"Prefix command (definition is a keymap associating keystrokes with commands)."

That is shown after the library is loaded, but not before. Why is it that,
before loading (i.e. just from the autoload), help (1) is capable of saying
which (prefix) keys the command is bound to, but (2) is not capable of adding
the line saying that it is a prefix command (keymap etc.)?

Just wondering if that sentence couldn't be included even before loading. Is it
because we cannot know at that time that the keys are prefix keys?

The autoload cookie is this:
;;;###autoload (autoload '2C-command "two-column" () t 'keymap)

That would seem to provide the info that this is a prefix key.

Not very important, but if this could be improved it would help. You can close
the bug (and bug #3109), if you like.







  reply	other threads:[~2009-04-26 13:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-25 23:58 bug#3108: 23.0.92; 2C-command: missing arglist Drew Adams
2009-04-26 10:47 ` Andreas Schwab
2009-04-26 13:52   ` Drew Adams [this message]
2009-04-26 18:41     ` Stefan Monnier
2009-04-26 18:51       ` Drew Adams

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='001d01c9c676$4b715950$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=3108@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=schwab@linux-m68k.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).