From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Options menu Date: Mon, 21 Mar 2005 22:34:41 -0500 Message-ID: References: <010e01c52c0d$ac93ede0$0200a8c0@sedrcw11488> <01c52c6d$Blat.v2.4$713e68a0@zahav.net.il> <006901c52c9b$bcf6c890$0200a8c0@sedrcw11488> <002e01c52d9c$000e4350$0200a8c0@sedrcw11488> <200503202310.j2KNAmk09163@raven.dms.auburn.edu> <200503210126.j2L1Qvx09249@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1111462501 10620 80.91.229.2 (22 Mar 2005 03:35:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Mar 2005 03:35:01 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, eliz@gnu.org, emacs-devel@gnu.org, jasonr@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 22 04:35:00 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DDaAU-0004jQ-N8 for ged-emacs-devel@m.gmane.org; Tue, 22 Mar 2005 04:34:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDaRi-0001Xt-0X for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2005 22:52:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DDaPu-0000aS-9x for emacs-devel@gnu.org; Mon, 21 Mar 2005 22:50:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DDaPr-0000Z7-C6 for emacs-devel@gnu.org; Mon, 21 Mar 2005 22:50:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDaPr-0000Ym-5k for emacs-devel@gnu.org; Mon, 21 Mar 2005 22:50:51 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DDaAE-0006dB-5y for emacs-devel@gnu.org; Mon, 21 Mar 2005 22:34:42 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DDaAD-0007rm-KS; Mon, 21 Mar 2005 22:34:41 -0500 Original-To: Luc Teirlinck In-reply-to: <200503210126.j2L1Qvx09249@raven.dms.auburn.edu> (message from Luc Teirlinck on Sun, 20 Mar 2005 19:26:57 -0600 (CST)) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34938 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34938 Some get saved if they were set through the menu bar _or_ through Custom. (There does not seem to be too much we can do about that right now. This behavior is not wrong. We should not "do anything" about it. Without storing more stuff in property lists, Emacs can not distinguish.) Others get apparently saved to the `custom-set-variables-form' no matter how they got a non-standard value. This might be easier to fix. I don't think it is broken, so please don't try to fix it. The text-mode-hook problem occurs even if text-mode-hook gets saved through Custom, although in a less bad form. This, I think, is worth fixing. Fixing it in menu-bar.el could be easy. Here's one idea: Create an option text-mode-auto-fill-mode which, if t, means enable use of auto-fill when in text mode. This option's defcustom could have a :set function that updates text-mode-hook. Then menu-bar.el only needs to toggle that option in a way that runs its :set function, and save that option when appropriate.