From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#5974: 23.1.95; enabling disabled cmd & saving doesn't respect `custom-file' Date: Wed, 27 Apr 2016 23:53:01 +0200 Message-ID: <87k2jisoqq.fsf@gnus.org> References: <88CA29C22E7A4FA88C1900F16C25CD5C@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461794064 18554 80.91.229.3 (27 Apr 2016 21:54:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2016 21:54:24 +0000 (UTC) Cc: 5974@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 27 23:54:13 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 1avXPN-0002we-JF for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Apr 2016 23:54:09 +0200 Original-Received: from localhost ([::1]:45599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avXPM-0002Te-RQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Apr 2016 17:54:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avXPJ-0002PV-Ay for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 17:54:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avXPG-0000A1-5k for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 17:54:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avXPG-00009w-2j for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 17:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1avXPF-0007Uy-Re for bug-gnu-emacs@gnu.org; Wed, 27 Apr 2016 17:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Apr 2016 21:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5974 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5974-submit@debbugs.gnu.org id=B5974.146179398628760 (code B ref 5974); Wed, 27 Apr 2016 21:54:01 +0000 Original-Received: (at 5974) by debbugs.gnu.org; 27 Apr 2016 21:53:06 +0000 Original-Received: from localhost ([127.0.0.1]:50878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avXOM-0007To-2V for submit@debbugs.gnu.org; Wed, 27 Apr 2016 17:53:06 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:51131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avXOK-0007Td-9V for 5974@debbugs.gnu.org; Wed, 27 Apr 2016 17:53:04 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1avXOH-0004Fc-HI; Wed, 27 Apr 2016 23:53:03 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 19 Apr 2010 13:22:59 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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:116996 Archived-At: Stefan Monnier writes: >> That is wrong. I have a separate `custom-file' specifically so that >> customization does not mess with my init file. > > The reason for it is that enabling disabling such commands is not done > via Custom (and indeed, I don't think you can do it from Custom > currently). > > But I guess it would make sense to extend the meaning of `custom-file' > from "the things managed by Custom" to "any Emacs-generated config code". > This said, the easiest way to get this result is to make > `enable-command' use Custom somehow. That's the code that puts (put 'narrow-to-region 'disabled nil) into our .emacs files, right? Yes, it would be better if that was handled by Custom. But how? Custom works by setting (variable) values, not adjusting symbol properties... Hm... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no