[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More convenient default rollback for users
From: |
Clément Pit--Claudel |
Subject: |
Re: More convenient default rollback for users |
Date: |
Wed, 30 Mar 2016 19:45:21 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
On 03/30/2016 05:45 PM, Lars Magne Ingebrigtsen wrote:
> Eli Zaretskii <address@hidden> writes:
>> The problem is that some options are supposed to be changed via
>> defcustoms, because those invoke a special function for the new value
>> to take effect. In NEWS, we usually say "customize the option
>> so-and-so to such-and-such value", but how do you do that in
>> copy/paste-able way? invoke the function by hand?
>
> Perhaps there should be a `custom-setq' function that the user could
> eval? Or perhaps this rollback buffer could be in a mode where just
> hitting RET on a form would execute the proper custom incantations...
Is that what customize-set-variable does? If not, then it would be very very
very nice; most Emacs configs that I see online are nicely structured and split
into a number of files, but they use setq even for variables that have custom
setters.
Clément.
signature.asc
Description: OpenPGP digital signature
Re: More convenient default rollback for users, Stefan Monnier, 2016/03/29
Re: More convenient default rollback for users, Richard Stallman, 2016/03/30
Re: More convenient default rollback for users, zhanghj, 2016/03/31