[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: custom-set-variables considered harmful
From: |
Drew Adams |
Subject: |
RE: custom-set-variables considered harmful |
Date: |
Sun, 26 Nov 2017 08:30:14 -0800 (PST) |
> The fact that a lot of people use setq isn't really
> a great argument for using it in this case. The
> reason people use setq isn't because they want to,
> but because they don't understand how custom works.
> I see this as a great opportunity to make c-s-v
> more visible and teach people how to use it.
>
> Note that as long as the `setq` is within the
> magical custom-autogenerated-user-settings form,
> it will behave correctly even if the variable has
> a setter function. The difference will only affect
> those users who take this code and then copy it elsewhere.
>
> But setq doesn't have any concrete benefit other than
> familiarity to people who don't understand custom.
> I've spent more time than I wish on Freenode #emacs
> teaching people about custom. If c-s-v was used
> consistently that effort would be made a lot easier.
Couldn't have said it better myself. +10, all of it.
- Re: custom-set-variables considered harmful, (continued)
Re: custom-set-variables considered harmful, Stefan Monnier, 2017/11/13
- Re: custom-set-variables considered harmful, Elias Mårtenson, 2017/11/24
- Re: custom-set-variables considered harmful, Elias Mårtenson, 2017/11/26
- RE: custom-set-variables considered harmful,
Drew Adams <=
- Re: custom-set-variables considered harmful, Philippe Vaucher, 2017/11/28
- Re: custom-set-variables considered harmful, John Wiegley, 2017/11/28
- Re: custom-set-variables considered harmful, Elias Mårtenson, 2017/11/28
- Re: custom-set-variables considered harmful, Stefan Monnier, 2017/11/29
- RE: custom-set-variables considered harmful, Drew Adams, 2017/11/29
- Re: custom-set-variables considered harmful, Elias Mårtenson, 2017/11/29
- Re: custom-set-variables considered harmful, Scott Randby, 2017/11/29
- Re: custom-set-variables considered harmful, Stefan Monnier, 2017/11/29
- Re: custom-set-variables considered harmful, Scott Randby, 2017/11/29
Re: custom-set-variables considered harmful, John Wiegley, 2017/11/23