From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: toggling a minor mode should not tell Customize that the value has been set Date: Mon, 07 Jan 2008 08:34:56 +0100 Message-ID: <4781D620.5040501@gmx.at> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199694008 808 80.91.229.12 (7 Jan 2008 08:20:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 08:20:08 +0000 (UTC) Cc: Stefan Monnier , Emacs-Devel To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 09:20:28 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JBnDe-0001XR-UA for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 09:20:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBnDH-0002q3-WA for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 03:20:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBnB0-0001Zg-Kv for emacs-devel@gnu.org; Mon, 07 Jan 2008 03:17:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBnAy-0001YM-Rb for emacs-devel@gnu.org; Mon, 07 Jan 2008 03:17:42 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBnAy-0001YC-LQ for emacs-devel@gnu.org; Mon, 07 Jan 2008 03:17:40 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JBnAy-0004Sh-7n for emacs-devel@gnu.org; Mon, 07 Jan 2008 03:17:40 -0500 Original-Received: (qmail invoked by alias); 07 Jan 2008 07:50:58 -0000 Original-Received: from N787P002.adsl.highway.telekom.at (EHLO [62.47.42.66]) [62.47.42.66] by mail.gmx.net (mp030) with SMTP; 07 Jan 2008 08:50:58 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18v0YgXqSwv9UwM0Q9l1677zYZhJ0fmgk0yieDYfE 5NDxYe82oDtuve User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86443 Archived-At: > Fair enough. Would you then change all commands that change option values so > that they too tell Customize that the value has been customized? Would you > somehow make sure that not only commands but all Lisp code does the same > thing? No. I wouldn't use `customize-unsaved' in `kill-emacs-query-functions'. At least I wouldn't do that if I exited Emacs more often than once a week. > Making a minor-mode toggle command do this does not take care of the general > issue you raise, in any case. And if a user is really worried about the > scenario you raise, then s?he can use `customize-rogue' instead of > `customize-customized' in the hook. My *Customize Rogue* buffer is _large enough_ with Emacs -Q. I'm just trying to get rid of its `menu-bar-mode' entry.