* bug#5742: Customize and obsolete options
@ 2010-03-20 0:44 Glenn Morris
2017-03-25 17:07 ` Jens Lechtenboerger
0 siblings, 1 reply; 2+ messages in thread
From: Glenn Morris @ 2010-03-20 0:44 UTC (permalink / raw)
To: 5742
Severity: wishlist
Customize does not seem to indicate in any way when options are
obsolete. Eg
emacs -Q -l diary-lib
C-h v diary-face
This variable is obsolete since 23.1;
customize the face `diary' instead.
But if I do
M-x customize-variable diary-face
there is no mention if it being obsolete.
I think it would be good to mention the obsolescence in the Customize
buffer in some way.
When browsing a group, eg with
M-x customize-group calendar-faces
it might be nice if the obsolete options were presented in a subdued
face if they had the default value (to indicate they should not be
customized), and perhaps in a more strident face if they had been
customized (to indicate that the user should check these settings and
perhaps migrate them to the newer way of doing things.)
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#5742: Customize and obsolete options
2010-03-20 0:44 bug#5742: Customize and obsolete options Glenn Morris
@ 2017-03-25 17:07 ` Jens Lechtenboerger
0 siblings, 0 replies; 2+ messages in thread
From: Jens Lechtenboerger @ 2017-03-25 17:07 UTC (permalink / raw)
To: Glenn Morris; +Cc: 5742
On 2010-03-19, at 20:44, Glenn Morris wrote:
> Severity: wishlist
>
> Customize does not seem to indicate in any way when options are
> obsolete.
> [...]
I'd like to extend the reported issue.
Customize does not warn users of obsolete options. This is
guaranteed to create surprises far in the future when the obsolete
feature is removed. This is particularly bad, if no equivalent
functionality exists (or if it is not documented). See bug#26233
for an example.
The functions custom-set-variables and customize-set-variable could
print warnings when they modify obsolete variables.
Even better, code that touches obsolete variables could generate
warnings.
Best wishes
Jens
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-25 17:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-20 0:44 bug#5742: Customize and obsolete options Glenn Morris
2017-03-25 17:07 ` Jens Lechtenboerger
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.