all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: "Juanma Barranquero" <lekktu@gmail.com>
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 20:03:04 -0500	[thread overview]
Message-ID: <E1HIDyi-0006Gx-Sm@fencepost.gnu.org> (raw)
In-Reply-To: <f7ccd24b0702160149r6c255607he69483744c4469f1@mail.gmail.com> (lekktu@gmail.com)

    `checkdoc-minor-mode' is autoloaded, so it's a case like the ones I
    talk above.

Why does it matter whether `checkdoc-minor-mode' is autoloaded?

Oh, now I see why: because Emacs knows the doc string initially,
even though the command has ever been run.

This leads me to reconsider part of my previous conclusion.  It is
useful for modes to show their keymaps, and it is useful to autoload
modes.  Would be rather inconvenient to insist on preloading all files
that define modes that show their keymaps.

Therefore, the case of an autoload mode's doc string that refers to
the not-yet-loaded keymap is legitimate, so it ought to produce
nice-looking output.  So now I agree a change is called for -- similar
to the one you proposed, but with slightly different details.

I think a good solution would be to make \\<some-mode-map> generate
something friendly but clear, such as a note at the end rather than at
the beginning, saying that the keymap couldn't be displayed because
it isn't loaded yet.

  reply	other threads:[~2007-02-17  1:03 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
2007-02-17  1:03                 ` Richard Stallman [this message]
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=E1HIDyi-0006Gx-Sm@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.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 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.