From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60849 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Imroving deleting/stripping MIME parts Date: Tue, 30 Aug 2005 18:44:10 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <87r7cfxfma.fsf@uwo.ca> <87d5nw88p9.fsf@uwo.ca> <87fysr78gi.fsf@uwo.ca> 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 1125420627 9028 80.91.229.2 (30 Aug 2005 16:50:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Aug 2005 16:50:27 +0000 (UTC) Original-X-From: ding-owner+M9381=ding+2Daccount=gmane.org@lists.math.uh.edu Tue Aug 30 18:50:25 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EA9Gw-0003Is-Dn for ding-account@gmane.org; Tue, 30 Aug 2005 18:47:42 +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 1EA9Gv-0004rb-00 for ding-account@gmane.org; Tue, 30 Aug 2005 11:47:41 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EA9GS-0004r5-00 for ding@lists.math.uh.edu; Tue, 30 Aug 2005 11:47:12 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1EA9GR-0005UP-6B for ding@lists.math.uh.edu; Tue, 30 Aug 2005 11:47:11 -0500 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 1EA9GN-0008O2-00 for ; Tue, 30 Aug 2005 18:47:07 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EA9EO-0002Zw-9x for ding@gnus.org; Tue, 30 Aug 2005 18:45:04 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Aug 2005 18:45:04 +0200 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Aug 2005 18:45:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 44 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l;3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2;n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3 On Tue, Aug 30 2005, Dan Christensen wrote: > Reiner Steib writes: [...] >> I think if you try with the same article as the one where you tried `2 >> K d', `2 K O' should work, too. > > It was the same article. I actually tried `2 K O' first, and it > failed. Then I tried `2 K d' and it worked. > > But now I can't reproduce this! Ahh, maybe I hadn't selected > the article? It looks like `K O' acts on whatever is in the > *Article* buffer rather than on whatever article point is on > in the *Summary* buffer. I think most commands act on the > article under point, don't they? So many this command should > select the article first? WRT this, `K O' and `K d' behave like the other `K ...' commands (gnus-article-pipe-part, gnus-article-inline-part). We could add `gnus-summary-show-article' in `gnus-article-part-wrapper' to display the right article: --8<---------------cut here---------------start------------->8--- --- gnus-art.el 30 Aug 2005 14:05:01 +0200 7.117 +++ gnus-art.el 30 Aug 2005 18:31:56 +0200 @@ -4516,6 +4516,7 @@ (funcall (cdr action-pair))))) (defun gnus-article-part-wrapper (n function &optional no-handle) + (gnus-summary-show-article) (with-current-buffer gnus-article-buffer (when (> n (length gnus-article-mime-handle-alist)) (error "No such part")) --8<---------------cut here---------------end--------------->8--- But I'm not sure if the _not_ selecting the article was intended behavior (i.e. this change might break other usage). Opinions? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/