From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62130 Path: news.gmane.org!not-for-mail From: Michael Piotrowski Newsgroups: gmane.emacs.gnus.general Subject: Re: Customizable tool bars Date: Thu, 02 Mar 2006 19:00:53 +0100 Organization: dynalabs Network Research Unit Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1141325378 19000 80.91.229.2 (2 Mar 2006 18:49:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Mar 2006 18:49:38 +0000 (UTC) Original-X-From: ding-owner+m10658@lists.math.uh.edu Thu Mar 02 19:49:29 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FEsra-0006AB-Tq for ding-account@gmane.org; Thu, 02 Mar 2006 19:49:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FEsrV-0000qe-00; Thu, 02 Mar 2006 12:49:17 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FEsoR-0000qY-00 for ding@lists.math.uh.edu; Thu, 02 Mar 2006 12:46:07 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FEsoL-0002fo-IX for ding@lists.math.uh.edu; Thu, 02 Mar 2006 12:46:07 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FEsoK-0007Ba-00 for ; Thu, 02 Mar 2006 19:46:00 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FEsnY-00058u-2g for ding@gnus.org; Thu, 02 Mar 2006 19:45:12 +0100 Original-Received: from dslb-088-072-036-068.pools.arcor-ip.net ([88.72.36.68]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Mar 2006 19:45:12 +0100 Original-Received: from mxp by dslb-088-072-036-068.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Mar 2006 19:45:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 51 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dslb-088-072-036-068.pools.arcor-ip.net User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.19 (berkeley-unix) X-Operating-System: NetBSD X-Face: %OvAx]kKl`N,i?yQ+$^p9w2oy)Yg|O}a_~6wtRQ@UTZ*(jSPubbonT]m++M>YBtJqkZZa!W"y5`aI.FoKO%$JHz=ws|i?y^o2bds(+pcp>gcX]H}?-tCzL^ABzJUWYzS{"!_hFg:JD)`kxRKLsNp Content-Language: en Cancel-Lock: sha1:oqImsmZq/v36lu6GiVERRD8cqvc= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:62130 Archived-At: Reiner Steib writes: > On Thu, Mar 02 2006, Michael Piotrowski wrote: > >> The most important point for me is that a customize option which >> apparently doesn't even apply to XEmacs shouldn't break Gnus on >> XEmacs. > > I already wrote earlier that I'll fix this ASAP. If you can't live > with occasional breakage (especially on XEmacs which is not used by > most Gnus developers), you should better not use the CVS version of > Gnus for your daily work. I don't have the resources to test every > Gnus change on XEmacs (and each and every MULE/no-MULE/--with-whatever > variant) myself. I didn't mean to criticize you and I'm sorry if it sounded like I would. I'm fully aware that CVS Gnus might be borken sometimes. I was actually referring to Katsumi Yamaoka's comment ("I also am not sure whether counting colors is proper way, so I refrain from installing it for the moment."). In fact I intended to say two things: 1. Even if counting color cells may not be the right way, it may be good to fix portability problems early. 2. If the whole setting only applies to GNU Emacs, conditionally using `device-color-cells' instead of `display-color-cells' doesn't really make sense, and maybe the whole defcustom should not be evaluated on XEmacs. A crude implementation could be something like this: (if (not (featurep 'xemacs)) ; This setting doesn't apply to XEmacs (defcustom gmm-tool-bar-style (if (> (display-color-cells) 256) 'gnome 'retro) "Prefered tool bar style." :type '(choice (const :tag "GNOME style" 'gnome) (const :tag "Retro look" 'retro)) :group 'gmm)) But I'm not sure how much of Gmm is GNU Emacs-specific, so a good solution may look different. I admit I should have written this in the first place ;-) Greetings -- Michael Piotrowski, M.A. Public key at