emacs-devel
[Top][All Lists]
Advanced

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

Re: custom-set-variables considered harmful


From: Teemu Likonen
Subject: Re: custom-set-variables considered harmful
Date: Sat, 02 Dec 2017 07:56:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

Drew Adams [2017-11-29 07:03:39-08] wrote:

> Here's a crazy possibility (not a suggestion, but maybe food for
> thought): Make `setq' do `customize-set-variable' for an option and do
> what it does now otherwise.

That would be a job for setf, I think, because it is generalized
assignment macro. Common Lisp's setf works with setter functions and in
the same spirit it could work with Emacs's custom setters.

-- 
/// Teemu Likonen   - .-..   <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

Attachment: signature.asc
Description: PGP signature


reply via email to

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