From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: Use faces to indicate states in Customize? Date: Fri, 11 Feb 2005 13:10:49 -0800 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1108414253 21167 80.91.229.2 (14 Feb 2005 20:50:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Feb 2005 20:50:53 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 14 21:50:53 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D0nAt-0004Hc-84 for ged-emacs-devel@m.gmane.org; Mon, 14 Feb 2005 21:50:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0nQU-0002kj-PN for ged-emacs-devel@m.gmane.org; Mon, 14 Feb 2005 16:06:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D0nQ1-0002fM-Hg for emacs-devel@gnu.org; Mon, 14 Feb 2005 16:06:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D0nPu-0002aH-8P for emacs-devel@gnu.org; Mon, 14 Feb 2005 16:06:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0nPt-0002YC-UG for emacs-devel@gnu.org; Mon, 14 Feb 2005 16:06:02 -0500 Original-Received: from [141.146.126.229] (helo=agminet02.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D0n4R-0001q4-2A for emacs-devel@gnu.org; Mon, 14 Feb 2005 15:43:51 -0500 Original-Received: from agminet02.oracle.com (localhost [127.0.0.1]) by agminet02.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j1EJs2Yi017952 for ; Mon, 14 Feb 2005 12:43:49 -0800 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.191.50]) by agminet02.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j1BLAqEY002431 for ; Fri, 11 Feb 2005 13:12:33 -0800 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j1BLApiR001382 for ; Fri, 11 Feb 2005 14:10:52 -0700 Original-Received: from dradamslap (dhcp-amer-csvpn-gw1-141-144-66-154.vpn.oracle.com [141.144.66.154]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j1BLAoT6001354 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Fri, 11 Feb 2005 14:10:50 -0700 Original-To: "Emacs-Devel" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE 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:33425 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33425 With an aim to reduce the "noise" in the Customize UI a bit, here is a proposal that might or might not be considered for 22.1. It should be trivial to implement, while waiting for any more substantial UI changes that we might make after 22.1. 1) We reduce the text displayed as the "state" of each option. 2) We use a slightly different face for each possible state, with the states that we want to stand out more (e.g. Set) having faces that stand out a little more. That is, the face of the text would be different for each option state, and the text would be simpler (shorter) than it is now. For example (each entry here is (1) proposed text, (2) state, (3) current text, (4) doc string text from `custom-magic-alist'): - 1) "Edited"; 2) `modified'; 3) "you have edited the value as text, but you have not set the option"; 4) "This item is modified, and has a valid form" - 1) "Saved" or possibly "Unchanged"; 2) `saved'; 3) "this option has been set and saved"; 4) "This item is marked for saving" - 1) "Standard"; 2) `standard'; 3) "this option is unchanged from its standard setting"; 4) "This item is unchanged from the standard setting" - 1) "Set Here"; 2) `set'; 3) "you have set this option, but not saved it for future sessions"; 4) "This item has been set but not saved" - 1) "Set Elsewhere"; 2) `changed'; 3) "this option has been changed outside the customize buffer"; 4) "The current value of this item has been changed temporarily" - 1) "Invalid"; 2) `invalid'; 3) "the value displayed for this option is invalid and cannot be set"; 4) "This item is modified, but has an invalid form" - 1) "Other"; 2) `rogue'; 3) "this option has not been changed with customize"; 4) "This item has no customization information" This would make scanning for changes (Set) easier, and would make the unchanged stuff (Unchanged, Standard) less prominent. The default face differences should be slight, so that this does not just make for _more_ noise. The faces used for each state should of course be customizable. The more lengthy description could be incorporated into tooltips. What do you think?