From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Further problem with recent changes to custom-magic-alist. Date: Tue, 22 Feb 2005 18:50:13 -0600 (CST) Message-ID: <200502230050.j1N0oDM27910@raven.dms.auburn.edu> References: <200502150055.j1F0tRZ05963@raven.dms.auburn.edu> <200502221541.j1MFftW21404@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1109121264 23077 80.91.229.2 (23 Feb 2005 01:14:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Feb 2005 01:14:24 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 23 02:14:23 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3l6W-00089m-Hx for ged-emacs-devel@m.gmane.org; Wed, 23 Feb 2005 02:14:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3lNm-0005NL-4y for ged-emacs-devel@m.gmane.org; Tue, 22 Feb 2005 20:32:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D3lGL-0002e9-Q5 for emacs-devel@gnu.org; Tue, 22 Feb 2005 20:24:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D3lG7-0002ZS-14 for emacs-devel@gnu.org; Tue, 22 Feb 2005 20:24:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3lG5-0002Tb-4g for emacs-devel@gnu.org; Tue, 22 Feb 2005 20:24:09 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D3klJ-0004n1-Be for emacs-devel@gnu.org; Tue, 22 Feb 2005 19:52:25 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j1N0qI9N025364; Tue, 22 Feb 2005 18:52:18 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j1N0oDM27910; Tue, 22 Feb 2005 18:50:13 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: bob@rattlesnake.com In-reply-to: (bob@rattlesnake.com) 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: main.gmane.org gmane.emacs.devel:33751 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33751 Robert Chassell wrote: You have set this %c and saved it in your init file. This wording is correct. In this case, you did not write the code yourself, but had a library do it. But nothing in the sentence tells the latter. Therefore, the sentence is very misleading. _The_ most important thing one needs to know when trying to save a previously saved option to a new value or reset it to standard, is whether it was saved _by Custom_, because that affects whether trying to save a new value or resetting to standard is guaranteed to work. A State message tries to identify which of nine possible states an option is in. A list of them can be found in the initial comment to cus-edit.el. That is _all_ a State message should try to do. Telling that it was saved in the init file does not help clarifying which of the nine state the option is in. On the contrary, it tends to suggest that the state is "Modified" (set outside Custom) instead of "Saved" (saved through Custom). Hence, it does not belong in the State message. If it _has_ to be told somewhere it would be in the general documentation at the top of the Custom-buffer, for instance: ===File ~/cus-edit.el-newdiff=============================== *** cus-edit.el 22 Feb 2005 16:55:41 -0600 1.213 --- cus-edit.el 22 Feb 2005 18:32:23 -0600 *************** *** 1377,1384 **** (widget-insert (format ". %s show active fields; type RET or click mouse-1 on an active field to invoke its action. Editing an option value ! changes the text in the buffer; invoke the State button and choose the Set operation to set the option value. Invoke " (if custom-raised-buttons "`Raised' buttons" "Square brackets"))) --- 1377,1388 ---- (widget-insert (format ". %s show active fields; type RET or click mouse-1 on an active field to invoke its action. Editing an option value ! changes the text in the buffer. Invoke the State button and choose the Set operation to set the option value. + Choose the Save operation to save it. Saving an option writes a + `custom-set-variables' and a `custom-set-faces' form in your + `custom-file' (usually .emacs) if they are not yet present and + edits these forms otherwise. Invoke " (if custom-raised-buttons "`Raised' buttons" "Square brackets"))) *************** *** 1683,1689 **** this %c has been changed outside the customize buffer." "\ something in this group has been changed outside customize.") (saved "!" custom-saved-face "\ ! You have set this %c and saved it through Customize in your init file." "\ something in this group has been set and saved.") (rogue "@" custom-rogue-face "\ this %c has not been changed with customize." "\ --- 1687,1693 ---- this %c has been changed outside the customize buffer." "\ something in this group has been changed outside customize.") (saved "!" custom-saved-face "\ ! You have set and saved this %c through Customize." "\ something in this group has been set and saved.") (rogue "@" custom-rogue-face "\ this %c has not been changed with customize." "\ ============================================================