From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: customize-mark-as-set for M-x foo-mode Date: Tue, 20 Aug 2002 18:12:21 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200208210012.g7L0CLQ10068@wijiji.santafe.edu> References: <200208192055.g7JKttB15245@rum.cs.yale.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1029889440 19541 127.0.0.1 (21 Aug 2002 00:24:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 21 Aug 2002 00:24:00 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17hJHz-000554-00 for ; Wed, 21 Aug 2002 02:23:59 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17hJk8-0002Nc-00 for ; Wed, 21 Aug 2002 02:53:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hJJ6-0007LI-00; Tue, 20 Aug 2002 20:25:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17hJ6u-0004y3-00 for emacs-devel@gnu.org; Tue, 20 Aug 2002 20:12:32 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17hJ6n-0004ul-00 for emacs-devel@gnu.org; Tue, 20 Aug 2002 20:12:28 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hJ6l-0004te-00; Tue, 20 Aug 2002 20:12:23 -0400 Original-Received: from wijiji.santafe.edu (wijiji [192.12.12.5]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g7L0Ci512429; Tue, 20 Aug 2002 18:12:44 -0600 (MDT) Original-Received: (from rms@localhost) by wijiji.santafe.edu (8.11.6+Sun/8.9.3) id g7L0CLQ10068; Tue, 20 Aug 2002 18:12:21 -0600 (MDT) X-Authentication-Warning: wijiji.santafe.edu: rms set sender to rms@wijiji using -f Original-To: monnier+gnu/emacs@rum.cs.yale.edu In-Reply-To: <200208192055.g7JKttB15245@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6699 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6699 I see that all the minor-mode-like things in the menu-bar do (customize-mark-as-set 'foo). I also saw Per's comment that this should only be done when the command is executed interactively. Is there any reason why it's only executed when run from the menu-bar rather than from M-x ? It might be the right thing to do, and I was thinking about it, but it calls for a lot of thought. For one thing, there are only a few modes you can control with the menu bar, but there are dozens, maybe hundreds, you can control with commands. Should all of them update your .emacs file? Maybe they should, but that is a lot of change. Users have written plenty of such minor mode commands. Should they all update .emacs too? I hesitate to think so. Maybe it would be better if none of these commands updated .emacs itself, and instead there were another command in the Options menu to save the options that you can (or that you have) set with the Options menu.