Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: Imroving deleting/stripping MIME parts
Date: Tue, 30 Aug 2005 18:44:10 +0200	[thread overview]
Message-ID: <v9k6i3e5np.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87fysr78gi.fsf@uwo.ca>

On Tue, Aug 30 2005, Dan Christensen wrote:

> Reiner Steib <reinersteib+gmane@imap.cc> 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/




  reply	other threads:[~2005-08-30 16:44 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-26 12:23 Not prompting user in gnus-mime-delete-part and gnus-mime-save-part-and-strip Reiner Steib
2005-08-27 20:57 ` Not prompting user in gnus-mime-delete-part and Dan Christensen
2005-08-28  0:32   ` Katsumi Yamaoka
2005-08-28 12:49     ` Reiner Steib
2005-08-29  0:19       ` Katsumi Yamaoka
2005-08-29 14:53         ` Reiner Steib
2005-08-30  1:36           ` Katsumi Yamaoka
2005-08-30  2:25         ` Dan Christensen
2005-08-30  6:07           ` Katsumi Yamaoka
2005-08-28 12:40   ` Imroving deleting/stripping MIME parts (was: Not prompting user in gnus-mime-delete-part and) Reiner Steib
2005-08-29 14:57     ` Imroving deleting/stripping MIME parts Reiner Steib
2005-08-30  2:22       ` Dan Christensen
2005-08-30 13:04         ` Reiner Steib
2005-08-30 15:25           ` Dan Christensen
2005-08-30 16:44             ` Reiner Steib [this message]
2005-08-31  4:18               ` Katsumi Yamaoka
2005-08-31 10:26                 ` Reiner Steib
2005-08-31 11:11                   ` Katsumi Yamaoka
2005-09-01  5:29                     ` Katsumi Yamaoka
2005-09-01 18:41                       ` Reiner Steib
2005-09-02  7:07                         ` Katsumi Yamaoka
2005-09-02 16:17                           ` Reiner Steib
2005-09-05  5:39                             ` Katsumi Yamaoka
2005-09-05 13:15                               ` Reiner Steib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9k6i3e5np.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).