From: Stefan Monnier <monnier@iro.umontreal.ca>
To: <emacs-devel@gnu.org>
Subject: Re: default-truncate-lines
Date: Sun, 02 Mar 2008 16:56:22 -0500 [thread overview]
Message-ID: <jwvlk50u6yy.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <v9k5kmrvr8.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Sat, 01 Mar 2008 22:15:39 +0100")
>>>> -(defcustom gnus-article-truncate-lines default-truncate-lines
>>>> +(defcustom gnus-article-truncate-lines (default-value 'truncate-lines)
>>> I don't care about this change, but out of curiosity: (why) does it
>>> make a difference?
>>
>> Every time I see one of those default-FOO variable used I get flashes of
>> the following code:
> [...]
>> and every time I get to replace it with a use of `default-value', I feel
>> like maybe this madness will disappear some day.
> Wouldn't it make sense to suggest using (default-value 'foo) in the
> doc strings of `default-foo'?
Indeed. We should just mark all those default-* variables obsolete.
The only problematic one, AFAICT is default-enable-multibyte-characters
since (setq-default 'enable-multibyte-characters) doesn't work.
Stefan
next prev parent reply other threads:[~2008-03-02 21:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1IvIQa-0006Te-72@localhost.localdomain>
2007-11-22 21:04 ` default-truncate-lines (was: Changes to emacs/lisp/gnus/gnus-art.el, v) Reiner Steib
2007-11-23 2:38 ` default-truncate-lines Stefan Monnier
2007-11-24 3:12 ` default-truncate-lines Richard Stallman
2007-11-24 4:39 ` default-truncate-lines Stefan Monnier
2008-03-01 21:15 ` default-truncate-lines Reiner Steib
2008-03-02 21:56 ` Stefan Monnier [this message]
2008-03-03 18:26 ` default-truncate-lines 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=jwvlk50u6yy.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--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 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.