From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; tiny font in Customize button Date: Sat, 10 May 2008 00:01:59 -0400 Message-ID: <873aoq6c3s.fsf@stupidchicken.com> References: <000001c8a28b$cb3e22e0$0200a8c0@us.oracle.com> <878wz8umix.fsf@jurta.org> <87fxtgrr3t.fsf@stupidchicken.com> <87zlro5591.fsf@stupidchicken.com> <87iqxn3t2d.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210392141 28380 80.91.229.12 (10 May 2008 04:02:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 May 2008 04:02:21 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Stefan Monnier , Drew Adams To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 10 06:02:55 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 1JugIP-0000JY-7M for ged-emacs-devel@m.gmane.org; Sat, 10 May 2008 06:02:53 +0200 Original-Received: from localhost ([127.0.0.1]:56441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JugHg-0008NR-Uu for ged-emacs-devel@m.gmane.org; Sat, 10 May 2008 00:02:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JugHc-0008NI-D6 for emacs-devel@gnu.org; Sat, 10 May 2008 00:02:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JugHb-0008Mz-Ah for emacs-devel@gnu.org; Sat, 10 May 2008 00:02:04 -0400 Original-Received: from [199.232.76.173] (port=51238 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JugHb-0008Mw-3R for emacs-devel@gnu.org; Sat, 10 May 2008 00:02:03 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:59597) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JugHa-0006wc-Sf for emacs-devel@gnu.org; Sat, 10 May 2008 00:02:02 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]:35416) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JugGp-0001oj-34 for emacs-pretest-bug@gnu.org; Sat, 10 May 2008 00:01:15 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JugHY-0006wL-Uq for emacs-pretest-bug@gnu.org; Sat, 10 May 2008 00:02:02 -0400 Original-Received: from c-98-216-111-182.hsd1.ma.comcast.net ([98.216.111.182]:18858 helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JugHY-0006wF-NK for emacs-pretest-bug@gnu.org; Sat, 10 May 2008 00:02:00 -0400 Original-Received: by furry (Postfix, from userid 1000) id D4BA7C049; Sat, 10 May 2008 00:01:59 -0400 (EDT) In-Reply-To: <87iqxn3t2d.fsf@jurta.org> (Juri Linkov's message of "Sat, 10 May 2008 03:03:54 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:96916 gmane.emacs.pretest.bugs:22242 Archived-At: Juri Linkov writes: >> It's certainly doable, assuming someone is up for some widget hackery. >> (The `checkbox' widget in wid-edit.el is probably a good starting point; >> in this case, the checkbox is implemented as a Lisp string that defines >> an xbm image. A similar method is used in startup.el for the "Don't >> show this again" checkbox.) > > I now realized that everything is already in place. We just need to > put necessary image files to the etc/custom directory. This is due to > existing code in `widget-visibility-value-create': > > (if (widget-value widget) > (widget-image-insert widget on "down" "down-pushed") > (widget-image-insert widget off "right" "right-pushed")) > > where strings are image file names for triangle arrows for > collapsed/expanded positions. Indeed, that sounds correct. > Also I think that instead of using etc/custom directory it would be > better to put custom image files to etc/images/custom: Yep.