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: John Wiegley
Subject: Re: custom-set-variables considered harmful
Date: Thu, 23 Nov 2017 12:12:18 -0800
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/26.0 (darwin)

>>>>> "SM" == Stefan Monnier <address@hidden> writes:

SM> The idea is basically to use a syntax which happens to look close to what
SM> you'd write by hand if you weren't using Customize, so that users who
SM> copy&paste snippets of code end up copying more or less valid code,
SM> instead of copying "code" like

SM>     '(toot 2)

SM> and then be surprised that it doesn't do anything.

I like the idea. It turns the body of the customization block into a different
DSL than "oddly specialized list" so pieces of it can be safely excerpted. I
assume the ordering becomes important, so the REQUIRE statement only affects
the immediately following setting?

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2



reply via email to

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