From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: :format strings in Custom ending in %h
Date: Thu, 21 Aug 2003 16:00:39 -0500 (CDT) [thread overview]
Message-ID: <200308212100.h7LL0d125524@raven.dms.auburn.edu> (raw)
In-Reply-To: <rjzni3kxoz.fsf@zuse.dina.kvl.dk> (message from Per Abrahamsen on Thu, 21 Aug 2003 14:22:04 +0200)
In my previous message, I of course meant that I would repost the
corrected version, not the "correction". The description of the bug
applies with or without your proposed change:
Original message:
Is it a rule that :format strings are not allowed to end in %h?
If so where is this mentioned in either the Elisp manual or the
(widget) documentation?
Such format strings produce trouble as described below.
Do:
emacs-21.3.50 -q --eval "(blink-cursor-mode 0)" &
and load the following file:
===File ~/customdoc.el======================================
(defgroup nifty nil
"Single item group"
:group 'convenience)
(defcustom nifty-var nil
"*Nifty doc string."
:group 'nifty
:type '(choice (const :tag "True"
:format "%t\n%h"
:doc
"True stuff.
Second line of true stuff."
t)
(other :tag "False"
:format "%t\n%h"
:doc
"Falsehoods.
Second line of falsehoods"
nil)))
============================================================
Then do:
M-x customize-group RET nifty
Click on "More" next to "Falsehoods."
Then click on "Value Menu" and choose "True".
Now we have:
True stuff. More
Falsehoods. Hide Rest
Second line of falsehoods
We should not have those last two lines any more and if we add a space
to both :format strings, i.e :format "%t\n%h ", and repeat the
exercise, they indeed disappear and everything works wonderfully.
Sincerely,
Luc.
next prev parent reply other threads:[~2003-08-21 21:00 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-21 1:54 :format strings in Custom ending in %h Luc Teirlinck
2003-08-21 12:22 ` Per Abrahamsen
2003-08-21 20:50 ` Luc Teirlinck
2003-08-21 21:00 ` Luc Teirlinck [this message]
2003-08-22 11:22 ` Per Abrahamsen
2003-08-22 14:41 ` Luc Teirlinck
2003-08-24 15:38 ` Per Abrahamsen
2003-08-24 17:17 ` Luc Teirlinck
2003-08-24 18:30 ` Per Abrahamsen
2003-10-20 18:05 ` Luc Teirlinck
2003-10-20 21:10 ` Luc Teirlinck
2003-10-22 9:24 ` Richard Stallman
2003-10-22 9:41 ` Per Abrahamsen
2003-10-23 18:37 ` Richard Stallman
2003-10-24 16:00 ` Per Abrahamsen
2003-10-25 22:26 ` Richard Stallman
2003-10-21 12:03 ` Per Abrahamsen
2003-08-23 2:44 ` Luc Teirlinck
2003-08-23 15:32 ` Luc Teirlinck
2003-08-23 3:25 ` Luc Teirlinck
2003-08-23 18:09 ` Luc Teirlinck
2003-08-23 18:32 ` Luc Teirlinck
-- strict thread matches above, loose matches on Subject: below --
2003-08-21 1:42 Luc Teirlinck
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=200308212100.h7LL0d125524@raven.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
--cc=emacs-devel@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 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).