From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#24023: 24.5; Use `custom-file' (if defined), not init file, for `en/disable-command' Date: Tue, 19 Jul 2016 08:47:40 -0700 (PDT) Message-ID: References: <<013bc8d5-e959-4814-9f31-bc9297499588@default>> <<83bn1t1w7h.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1468943309 17680 80.91.229.3 (19 Jul 2016 15:48:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Jul 2016 15:48:29 +0000 (UTC) Cc: 24023@debbugs.gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 19 17:48:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bPXFn-0000Js-Qx for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Jul 2016 17:48:15 +0200 Original-Received: from localhost ([::1]:56814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPXFn-0007XM-0w for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Jul 2016 11:48:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPXFb-00075t-1A for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2016 11:48:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPXFa-0001Xm-5k for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2016 11:48:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPXFa-0001Xh-26 for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2016 11:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bPXFZ-0002GT-R9 for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2016 11:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jul 2016 15:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24023 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24023-submit@debbugs.gnu.org id=B24023.14689432738690 (code B ref 24023); Tue, 19 Jul 2016 15:48:01 +0000 Original-Received: (at 24023) by debbugs.gnu.org; 19 Jul 2016 15:47:53 +0000 Original-Received: from localhost ([127.0.0.1]:57469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPXFR-0002G6-EM for submit@debbugs.gnu.org; Tue, 19 Jul 2016 11:47:53 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:30647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bPXFP-0002Ft-HC for 24023@debbugs.gnu.org; Tue, 19 Jul 2016 11:47:52 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u6JFlgk5000845 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 19 Jul 2016 15:47:44 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u6JFlgGE009097 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 19 Jul 2016 15:47:42 GMT Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u6JFlfPl023914; Tue, 19 Jul 2016 15:47:42 GMT In-Reply-To: <<83bn1t1w7h.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121264 Archived-At: > This feature is not a defcustom, so it doesn't work like one. Perhaps > the easiest way forward would be to make it a defcustom, or something > like one. I see now that this was all discussed in the bug that this one was merged w= ith. I'd forgotten about that bug. Yes, something should be done, to bring this feature up to the level of cur= rent Emacs. A priori, I don't really care what is done or how. IOW, I tru= st your judgment on this. The point is that Emacs should not still be writing to a users init file. = As mentioned in that other bug thread, two alternative suggestions were: * Replace this way of enabling/disabling with a way that uses defcustom. (= It could involve a wrapper around the `put' thingy or something else.) * Keep the current mechanism, but write to a different file from the init f= ile (and different from `custom-file').