[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default-truncate-lines

From: Stefan Monnier
Subject: Re: default-truncate-lines
Date: Sun, 02 Mar 2008 16:56:22 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>>>> -(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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]