From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Vivek Dasmohapatra Newsgroups: gmane.emacs.devel Subject: Re: custom-set-variables considered harmful Date: Wed, 8 Nov 2017 10:06:24 +0000 (GMT) Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: blaine.gmane.org 1510135681 16571 195.159.176.226 (8 Nov 2017 10:08:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Nov 2017 10:08:01 +0000 (UTC) User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 08 11:07:56 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCNGz-00043d-Tf for ged-emacs-devel@m.gmane.org; Wed, 08 Nov 2017 11:07:54 +0100 Original-Received: from localhost ([::1]:58631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCNH7-0005O5-6Z for ged-emacs-devel@m.gmane.org; Wed, 08 Nov 2017 05:08:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCNFo-0004Wq-8i for emacs-devel@gnu.org; Wed, 08 Nov 2017 05:06:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCNFk-00007u-GT for emacs-devel@gnu.org; Wed, 08 Nov 2017 05:06:39 -0500 Original-Received: from ceres.etla.org ([85.119.82.193]:46449) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCNFk-00005I-AC for emacs-devel@gnu.org; Wed, 08 Nov 2017 05:06:36 -0500 Original-Received: from yaffle.pepperfish.net ([88.99.213.221] helo=[10.112.101.20]) by ceres.etla.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eCNFQ-0007TV-T7; Wed, 08 Nov 2017 10:06:17 +0000 X-X-Sender: vivek@platypus.pepperfish.net In-Reply-To: X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam_report: Spam detection software, running on the system "ceres.etla.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > The idea is basically to use a syntax which happens to look close to > what you'd write by hand if you weren't using Customize, so that users > who copy&paste snippets of code end up copying more or less valid code, > instead of copying "code" like [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [s X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 85.119.82.193 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219974 Archived-At: > The idea is basically to use a syntax which happens to look close to > what you'd write by hand if you weren't using Customize, so that users > who copy&paste snippets of code end up copying more or less valid code, > instead of copying "code" like Won't they then be surprised by the normal value sanitisation/hook-firing etc that some settings rely on not happening and have even less idea why it's not working when they inevitably cargo-cult the contents?