From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60854 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Imroving deleting/stripping MIME parts Date: Wed, 31 Aug 2005 20:11:58 +0900 Organization: Emacsen advocacy group Message-ID: References: <87r7cfxfma.fsf@uwo.ca> <87d5nw88p9.fsf@uwo.ca> <87fysr78gi.fsf@uwo.ca> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1125486823 26172 80.91.229.2 (31 Aug 2005 11:13:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 31 Aug 2005 11:13:43 +0000 (UTC) Original-X-From: ding-owner+M9386=ding+2Daccount=gmane.org@lists.math.uh.edu Wed Aug 31 13:13:37 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EAQVp-0003cC-7N for ding-account@gmane.org; Wed, 31 Aug 2005 13:12:13 +0200 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 1EAQVo-0007aA-00 for ding-account@gmane.org; Wed, 31 Aug 2005 06:12:12 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EAQVj-0007a2-00 for ding@lists.math.uh.edu; Wed, 31 Aug 2005 06:12:07 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1EAQVi-0003As-55 for ding@lists.math.uh.edu; Wed, 31 Aug 2005 06:12:06 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EAQVg-00044s-00 for ; Wed, 31 Aug 2005 13:12:05 +0200 Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.50) id 1EAQVh-0002ze-L9 for ding@gnus.org; Wed, 31 Aug 2005 06:12:05 -0500 Original-To: ding@gnus.org 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.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:UCs2xVAbMcu0fNKE1M4izjb+84c= X-Hashcash: 1:20:050831:ding@gnus.org::m1yFTok8JgOBq4Kb:000010Dv X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.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-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -4.8 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60854 Archived-At: >>>>> In Reiner Steib wrote: > On Wed, Aug 31 2005, Katsumi Yamaoka wrote: >> I'd like to propose adding two features. The following >> definition displays all the MIME buttons even if >> `gnus-inhibit-mime-unbuttonizing' is nil (which is the default), >> and specifies which part the user is going to manipulate. How >> about it? >> (let ((cursor-in-non-selected-windows t) ;; Display cursor. >> (overlay-arrow-string "=>") ;; Display arrow. >> (overlay-arrow-position (point-marker))) > Could you explain why these variables are useful here? (I don't see > any arrows.) They are intended to display an arrow pointing to the MIME button at the left fringe. It is the same way as `gnus-summary-set-article-display-arrow' does. However, I realized it is useless for some commands like `3 K i'. I only tested it with `2 K d' and `2 K O' things. >> (unwind-protect >> (if no-handle >> (funcall function) >> (let ((handle (cdr (assq n gnus-article-mime-handle-alist)))) >> (funcall function handle))) >> (set-marker overlay-arrow-position nil) >> (when redisplay >> (gnus-summary-show-article))))))) > This additional `gnus-summary-show-article' after the funcall breaks > commands like `3 K i'. See > e.g. in gmane.test. I see. Thanks for pointing it out.