From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: [drew.adams@oracle.com: RE: Customize doc strings and tagstrings do not respect \\<...> and \\[...]]
Date: Sat, 4 Mar 2006 09:55:53 -0800 [thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICIEEPDDAA.drew.adams@oracle.com> (raw)
In-Reply-To: <87slpyfeam.fsf@stupidchicken.com>
> (defcustom foo nil
> "*Behavior of `\\<my-map>\\[my-cmd]' when ...."
> :type 'boolean)
>
> when you get to the Customize buffer you see this:
> Behavior of `\<my-map>\[my-cmd]' when....
> Note that one level of backslash is removed.
I can't reproduce this. For example,
M-x customize-option RET Info-enable-edit
displays the "\\<Info-mode-map>\\[Info-edit]" tag fine.
1. I believe I must have been mistaken about the doc string. But the problem
definitely exists for :tag. Try this:
(defcustom bar nil "OK" :type 'boolean
:tag "`\\<minibuffer-local-map>\\[next-history-element]'.")
and this:
(defcustom titi 'tata "OK" :type
'(choice
(const :tag "`\\<minibuffer-local-map>\\[next-history-element]'."
tata)))
I see in Customize what I reported initially:
\<minibuffer-local-map>\[next-history-element] (one level of \ removed).
2. BTW, if I eval the defcustom I sent originally (quoted above), without
defining `my-map', then I get this in Customize, with a warning message
spliced into the middle of the key description:
Behavior of ` Hide Rest
Uses keymap "my-map", which is not currently defined.
M-x my-cmd' when foobaz is in the wind.
Parent groups: Nil
This appears to be another bug.
next prev parent reply other threads:[~2006-03-04 17:55 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 [this message]
2006-03-04 21:36 ` [drew.adams@oracle.com: RE: Customize doc strings and tagstrings " 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
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=DNEMKBNJBGPAOPIJOOICIEEPDDAA.drew.adams@oracle.com \
--to=drew.adams@oracle.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.