From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: custom-set-variables considered harmful Date: Mon, 04 Dec 2017 20:45:26 -0500 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1512438346 10264 195.159.176.226 (5 Dec 2017 01:45:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 5 Dec 2017 01:45:46 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 05 02:45:43 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 1eM2Im-0002N9-EC for ged-emacs-devel@m.gmane.org; Tue, 05 Dec 2017 02:45:40 +0100 Original-Received: from localhost ([::1]:45977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eM2It-0002w7-6z for ged-emacs-devel@m.gmane.org; Mon, 04 Dec 2017 20:45:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eM2Ih-0002w1-B2 for emacs-devel@gnu.org; Mon, 04 Dec 2017 20:45:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eM2Ig-0005lI-K0 for emacs-devel@gnu.org; Mon, 04 Dec 2017 20:45:35 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:40285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eM2Ic-0005j9-Vk; Mon, 04 Dec 2017 20:45:31 -0500 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id vB51jRoR015872; Mon, 4 Dec 2017 20:45:28 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id EEB9EAE0E9; Mon, 4 Dec 2017 20:45:26 -0500 (EST) In-Reply-To: (Richard Stallman's message of "Mon, 04 Dec 2017 18:50:29 -0500") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6172=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6172> : inlines <6208> : streams <1772201> : uri <2545310> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:220729 Archived-At: >> Based on the feedback, I added a config var to control the use of `setq'. >> I also added a backward compatibility hack which makes it so that your >> "new style config" will partly work in Emacs<27. > Could you please summarize what this will do? If you refer to the compatibility hack, it just defines custom-autogenerated-user-settings as a alias for `progn', so it will usually set the config vars just fine but will fail to mark them as set by Custom. Occasionally it will also fail to set the vars properly, of course (e.g. because they're not set in the right order), but it should be a fairly rare occurrence. Stefan