From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61719 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general,gmane.mail.mh-e.devel Subject: Re: Sharing mail icons between MH-E and Gnus Date: Thu, 19 Jan 2006 22:37:42 +0100 Message-ID: References: <28928.1129483226@olgas.newt.com> <30678.1129563148@olgas.newt.com> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1137706764 21841 80.91.229.2 (19 Jan 2006 21:39:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Jan 2006 21:39:24 +0000 (UTC) Cc: mh-e-devel@lists.sourceforge.net Original-X-From: ding-owner+m10249@lists.math.uh.edu Thu Jan 19 22:39:22 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 1EzhUo-0002LD-5T for ding-account@gmane.org; Thu, 19 Jan 2006 22:39:08 +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 1EzhUh-00032A-00; Thu, 19 Jan 2006 15:38:59 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EzhTg-000325-00 for ding@lists.math.uh.edu; Thu, 19 Jan 2006 15:37:56 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1EzhTW-0001yg-OA for ding@lists.math.uh.edu; Thu, 19 Jan 2006 15:37:55 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EzhTU-0004Vk-00 for ; Thu, 19 Jan 2006 22:37:45 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.4/8.13.4) with ESMTP id k0JLbgu9028982; Thu, 19 Jan 2006 22:37:42 +0100 (MET) Original-Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id 3B2BD10F1C; Thu, 19 Jan 2006 22:37:42 +0100 (CET) Original-To: Mail-Followup-To: , mh-e-devel@lists.sourceforge.net X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML;)7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+;CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf,d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-DCC-sgs_public_dcc_server-Metrics: gemini 1199; Body=2 Fuz1=2 Fuz2=2 X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61719 gmane.mail.mh-e.devel:11389 Archived-At: On Mon, Oct 17 2005, Bill Wohler wrote: [ Sorry for the late reply, Bill. ] > Reiner Steib wrote: > >> On Sun, Oct 16 2005, Bill Wohler wrote: >> >> > Also, the images can be shared by other applications (I hope that >> > this will be the case with Gnus soon) so this naming would avoid >> > having multiple copies of the same image. >> >> What do you think about my suggestions on using GNOME stock icons? >> IMHO those look much nicer than the current Gnus icons and fit much >> better into the rest of the Emacs icons. >> >> See >> and . > > Reiner, > > Many of the Emacs icons came from Gnome back in 2000; I recently added a > refresh icon from Gnome 2.10. It would be good to update them all. > Perhaps someone more legally minded can speak to the license or > copyright issues. If I understand Richard's response correctly we can use the Gnome icons. (See and etc/images/README in Emacs CVS.) As moving/renaming files around in CVS is not supported, I'd like to hear comments from Gnus and MH-E developers on the filenames and directories. If the MH-E developers consider to also use some of the suggested Gnome icons (now or in the future) I will probably use etc/images/mail/*.xpm and etc/images/*.xpm (where appropriate) instead of etc/images/gnus/*.xpm in Gnus' repository (we don't have etc/images/mail yet). (I don't plan to put the new icons into Gnus' stable branch (v5-10) which is synced with Emacs 22.) Below is an assignment list from Gnome stock icon names and the names I intend to use in Gnus. I didn't address the directory prefix issue ("gnus/" or "mail/", see below) yet. --8<---------------cut here---------------start------------->8--- # Location of the Gnome icons (converted to xpm from png) on my system: g=/usr/local/share/icons/gnome # Name in Gnus CVS repository: ei=etc/images # [ candidates for "etc/images/mail/"? ] $g/stock_mail-compose.xpm $ei/gnus/compose.xpm $g/stock_mail-flag-for-followup.xpm $ei/gnus/flag-followup.xpm $g/stock_mail-forward.xpm $ei/gnus/forward.xpm $g/stock_mail-handling.xpm $ei/gnus/save-draft.xpm $g/stock_mail-reply.xpm $ei/gnus/reply-author.xpm $g/stock_mail-reply-to-all.xpm $ei/gnus/reply-all.xpm $g/stock_mail-send.xpm $ei/gnus/send.xpm $g/stock_attach.xpm $ei/gnus/attach.xpm # We should have a mail-preview icon with an envelope as in # stock_mail-reply. The name preview.xpm was also used by # preview-latex. There might be a print-preview in the future. So # let's be more specific (maybe not necessary if we have "gnus/" or # "mail/" prefix). $ei/gnus/preview.xpm $ei/gnus/mail-preview.xpm # [ candidates for "etc/images/"? ] $g/stock_connect.xpm $ei/gnus/connect.xpm $g/stock_delete.xpm $ei/gnus/delete.xpm $g/stock_dialog-info.xpm $ei/gnus/describe.xpm $g/stock_disconnect.xpm $ei/gnus/disconnect.xpm $g/stock_exit.xpm $ei/gnus/exit-mode.xpm $g/stock_lock.xpm $ei/gnus/lock.xpm $g/stock_refresh.xpm $ei/gnus/refresh.xpm $g/stock_sort-ascending.xpm $ei/gnus/sort-a-z.xpm $g/stock_sort-column-ascending.xpm $ei/gnus/sort-1-9.xpm $g/stock_spam.xpm $ei/gnus/spam.xpm $g/stock_not-spam.xpm $ei/gnus/not-spam.xpm # sep.xpm is from AUCTeX: $g/sep.xpm $ei/gnus/separator.xpm --8<---------------cut here---------------end--------------->8--- contains an overview of all icons I intend to import to Gnus and their proposed filename in Gnus. > It would great if Gnus and MH-E could share images where it makes sense > to do so. For example, would the Gnus folks mind using mail/reply > instead of gnus/reply? I don't like mail/reply-{all,from,to}.xpm. If adding text inside the icon is necessary to make clear which action is performed, the graphic should be improved. See the updated page for my suggestion using Gnome icons for Gnus. MH-E's mail/compose.xpm and mail/send.xpm icons would be okay, but I'd prefer to use the Gnome icons if suitable icons are available in Gnome. As you can see from the above web page and the list above, we'd have name collisions for reply-all.xpm (if we use mail/reply-all instead of gnus/reply-all). > Another new policy is that images must be fully qualified relative to > the etc/images directory. Instead of reply, mail/reply must be used. > This removes the chance of name collisions. That means > nnheader-find-etc-directory must not add gnus to the path element. I will have to look into this. > A new feature of Emacs 22 is an image-load-path variable used by > find-image. The image-load-path variable contains the symbol load-path > for backwards compatibility. > > I wrote mh-image-load-path based upon your nnheader-find-etc-directory > and another one I can't remember now to update image-load-path or > load-path based upon the MH-E library. It would be good to generalize it > so that we can share it. What do you think about my renaming it to > something like generate-image-load-path, adding a PACKAGE argument, and > adding it to image.el? Then we can define it with (if (not (fboundp > 'generate-image-load-path ...))) in our code to work with Emacs 20 and > 21. A good idea, IMHO. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/