From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84188 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: show attachments on the top Date: Wed, 05 Feb 2014 18:54:03 +0900 Organization: Emacsen advocacy group Message-ID: References: <87ob43eerj.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1391594083 14088 80.91.229.3 (5 Feb 2014 09:54:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2014 09:54:43 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32440@lists.math.uh.edu Wed Feb 05 10:54:50 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WAzBx-0004A3-J1 for ding-account@gmane.org; Wed, 05 Feb 2014 10:54:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1WAzBW-00056g-Gc; Wed, 05 Feb 2014 03:54:22 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1WAzBV-00056T-70 for ding@lists.math.uh.edu; Wed, 05 Feb 2014 03:54:21 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1WAzBT-0003Yu-Qs for ding@lists.math.uh.edu; Wed, 05 Feb 2014 03:54:20 -0600 Original-Received: from hampton-mail.hostforweb.net ([205.234.204.210] helo=hampton.hostforweb.net) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1WAzBS-0007c6-8X for ding@gnus.org; Wed, 05 Feb 2014 10:54:18 +0100 Original-Received: from localhost.localdomain ([127.0.0.1]:33316 helo=localhost) by hampton.hostforweb.net with smtp (Exim 4.80.1) (envelope-from ) id 1WAzBI-003Q0H-GP for ding@gnus.org; Wed, 05 Feb 2014 03:54:10 -0600 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13001 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.10) Emacs/24.3.50 (i686-pc-cygwin) Cancel-Lock: sha1:MKEkRl1akUJXXqtQNlch4C+5c3c= X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: acl_c_authenticated_local_user: root X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84188 Archived-At: Lars Ingebrigtsen wrote: > Katsumi Yamaoka writes: >> Maybe no one will add a MIME part in this way; people (or almost >> mail clients) add attachments at the bottom no matter how the body >> is big. Because of this, I sometimes overlook them. >> >> The code in this attachment makes Gnus show attachments at the top. >> `g' toggles the appearance. > Making the attachments more visible is a good idea. Would it make sense > to add a new "header" in the display that just lists them? > Attachments: [button] [button] [button] > They could also be included where they are in the message like now, but > listing them twice shouldn't be a problem... Thanks for the suggestion. I've implemented this in the Gnus Git master. Now the feature is turned on by default. If you don't want it, set `gnus-mime-display-attachment-buttons-in-header' to nil. If you have the old code in your .gnus.el file, please remove it anyway. Customize `gnus-header-face-alist' as follows if you want to change the appearance of buttons: (eval-after-load "gnus-art" '(add-to-list 'gnus-header-face-alist '("Attachments?:" Header-Name-Face Header-Content-Face))) When you customize it, note that the element that begins with "" should be the last item of `gnus-header-face-alist'.