bug#3108: 23.0.92; 2C-command: missing arglist

"Drew Adams" <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
> > 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.