From: "Juanma Barranquero" <lekktu@gmail.com>
To: rms@gnu.org
Cc: drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: [drew.adams@oracle.com: RE: Customize doc strings and tagstrings do not respect \\<...> and \\[...]]
Date: Fri, 16 Feb 2007 10:49:25 +0100 [thread overview]
Message-ID: <f7ccd24b0702160149r6c255607he69483744c4469f1@mail.gmail.com> (raw)
In-Reply-To: <E1HHxn1-0004H1-4k@fencepost.gnu.org>
On 2/16/07, Richard Stallman <rms@gnu.org> wrote:
> What did I say that about?
The case where "Blah blah \\<some-map>\\[some-command] more blah blah"
turns into
Blah blah
Uses keymap "some-map", which is not currently defined.
more blah blah
> Do you consider using \\<some-mode-map> in the docstring of an
> autoloaded function a bug in the mode?
>
> Not particularly, but how does that relate?
Because I agree with you that if you load a package, and a docstring
from that package contains the above problem, it is a bug in the
package; but this problem often happens for autoloaded functions,
where not having the relevant mode-map at hand while consulting a
docstring is quite normal. If you think that's an error in the package
(as opposed to an error in `describe-function', `describe-variable',
etc.), that would mean making sure that no autoloaded function ever
references a mode-map with \\<mode-map>
> Is this the sort of output about which I said, "Any clueful user will
> realize it means the mode has a bug and will report it, and then
> things will be fixed so they really work."?
Yes.
> If so, I think that is true. If the mode produces this output,
> it's a bug, and because it is visible it will get fixed.
`checkdoc-minor-mode' is autoloaded, so it's a case like the ones I
talk above. Either we make it not reference the mode-map, or we
implement something like the "prominent notice" scheme I'm suggesting.
> That seems like a good solution too, since it will also make the bug
> visible.
Great.
Juanma
next prev parent reply other threads:[~2007-02-16 9:49 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-27 8:59 [drew.adams@oracle.com: RE: Customize doc strings and tag strings do not respect \\<...> and \\[...]] Richard Stallman
2006-03-04 14:57 ` Chong Yidong
2006-03-04 17:55 ` [drew.adams@oracle.com: RE: Customize doc strings and tagstrings " Drew Adams
2006-03-04 21:36 ` Andreas Schwab
2006-03-04 22:14 ` Drew Adams
2006-03-05 10:17 ` Andreas Schwab
2006-03-05 15:30 ` Drew Adams
2006-03-05 15:44 ` Andreas Schwab
2006-03-06 0:49 ` Richard Stallman
2006-03-06 13:13 ` Andreas Schwab
2006-03-06 22:48 ` Richard Stallman
2006-03-05 11:05 ` Andreas Schwab
2006-03-06 0:49 ` Richard Stallman
2007-02-15 11:44 ` Juanma Barranquero
2007-02-16 7:45 ` Richard Stallman
2007-02-16 9:49 ` Juanma Barranquero [this message]
2007-02-17 1:03 ` Richard Stallman
2007-02-17 1:23 ` Juanma Barranquero
2006-03-08 20:49 ` Kevin Rodgers
2006-03-08 21:28 ` Drew Adams
2006-03-27 17:09 ` Per Abrahamsen
2006-03-27 23:51 ` [drew.adams@oracle.com: RE: Customize doc strings andtagstrings " Drew Adams
2006-03-29 8:12 ` Richard Stallman
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=f7ccd24b0702160149r6c255607he69483744c4469f1@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.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 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.