From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.devel Subject: Customize interface: better face editor Date: Sun, 06 Jun 2004 17:41:11 +0200 Organization: The Church of Emacs Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086536531 29365 80.91.224.253 (6 Jun 2004 15:42:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Jun 2004 15:42:11 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jun 06 17:42:06 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BWzmg-00016b-00 for ; Sun, 06 Jun 2004 17:42:06 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BWzmf-00046j-00 for ; Sun, 06 Jun 2004 17:42:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BWznA-0004Sv-58 for emacs-devel@quimby.gnus.org; Sun, 06 Jun 2004 11:42:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BWzn2-0004SG-Iy for emacs-devel@gnu.org; Sun, 06 Jun 2004 11:42:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BWzn0-0004RC-9z for emacs-devel@gnu.org; Sun, 06 Jun 2004 11:42:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BWzn0-0004Qn-7s for emacs-devel@gnu.org; Sun, 06 Jun 2004 11:42:26 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BWzlq-0007zr-At for emacs-devel@gnu.org; Sun, 06 Jun 2004 11:41:14 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BWzlp-0003wA-00 for ; Sun, 06 Jun 2004 17:41:13 +0200 Original-Received: from sheridan.dina.kvl.dk ([130.225.40.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Jun 2004 17:41:13 +0200 Original-Received: from abraham by sheridan.dina.kvl.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Jun 2004 17:41:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 72 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: sheridan.dina.kvl.dk X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ Mail-Copies-To: nobody User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:RCNMBNZkATrtXctLAyKTXsgFIw4= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24612 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24612 The current face editor looks like this (in the -nw version, which currently work better than the windowing version): Widget Button Face:(sample) [Hide] [State]: you have edited the value as text, but you have not set the fac Face used for widget buttons. Parent groups: [Widget Faces] Attributes: [ ] Font family: [Value Menu] * [ ] Width: [Value Menu] * [ ] Height: [Value Menu] * [X] Weight: [Value Menu] bold [ ] Slant: [Value Menu] * [ ] Underline: [Value Menu] * [ ] Overline: [Value Menu] * [ ] Strike-through: [Value Menu] * [ ] Box around text: [Value Menu] * [ ] Inverse-video: [Value Menu] * [ ] Foreground: [Value Menu] * [ ] Background: [Value Menu] * [ ] Stipple: [Value Menu] * [ ] Inherit: [INS] I wonder if it would look better as: Widget Button Face: (sample) [Hide] [State]: you have edited the value as text, but you have not set the fac Face used for widget buttons. Parent groups: [Widget Faces] Inherit attributes from these faces: [INS] Attributes of this face: [DEL] Weight: [Value Menu] bold [Add attribute] Pressing "Add attribute" would pop-up a list of attributes. If you selected e.g. "Foreground" from that list, the display would change to: Widget Button Face: (sample) [Hide] [State]: you have edited the value as text, but you have not set the fac Face used for widget buttons. Parent groups: [Widget Faces] Inherit attributes from these faces: [INS] Attributes of this face: [DEL] Weight: [Value Menu] bold [DEL] Foreground: black [Add attribute] or Widget Button Face: (sample) [Hide] [State]: you have edited the value as text, but you have not set the fac Face used for widget buttons. Parent groups: [Widget Faces] Inherit attributes from these faces: [INS] Attributes of this face: [DEL] Weight: [Value Menu] bold [DEL] Foreground: [Value Menu] * [Add attribute] depending on whether we really need to be able to explicitly set the "*" attribute value. To implement this, we would need a new widget which was a mix between the editable-list and the checklist widgets. Or said in another way, the new widget would be a compact form of the checklist widget, the same way the menu-choice widget is a compact form of the radio-button-choice widget.