all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pankaj Jangid <p4j@j4d.net>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: 39112@debbugs.gnu.org
Subject: bug#39112: 27.0.60; gnus-summary-attach-article 'S A' with multiple articles selected repeats latest article
Date: Tue, 14 Jan 2020 03:42:37 +0000	[thread overview]
Message-ID: <0100016fa225617e-6ba6c30f-c00a-411a-b0c9-a192851c2dd7-000000@email.amazonses.com> (raw)
In-Reply-To: <874kwzm3g8.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 13 Jan 2020 13:49:59 -0800")

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

>> That command sets up the message-mode buffer and makes it current
>> before iterating over the articles, so it's unable to actually find
>> the articles and simply repeats the last value of
>> gnus-original-article-buffer.
>
> Okay, that was only right by accident. The real problem was that the
> code inside the iterate was setting the buffer to the message-mode
> buffer. Then the calls to `gnus-summary-select-article' kept
> re-setting to the summary-buffer, but always on the same article.
>
> Anyway, would you test this patch and confirm it fixes the problem?

Just did that. Following observation,

when I process mark multiple items in summary-buffer and move the point
to anything other than the latest marked mail and then press 'S A', the
last mail is not added and the second-last email gets attached twice.

When the point is on the last marked email and then I press 'S A', it
works fine.

Regards,
-- 
Pankaj Jangid





  reply	other threads:[~2020-01-14  3:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-13 10:24 bug#39112: 27.0.60; gnus-summary-attach-article 'S A' with multiple articles selected repeats latest article Pankaj Jangid
2020-01-13 16:50 ` Eric Abrahamsen
2020-01-13 21:49   ` Eric Abrahamsen
2020-01-14  3:42     ` Pankaj Jangid [this message]
2020-01-18  5:07       ` Eric Abrahamsen
2020-01-18  9:25         ` Pankaj Jangid
2020-01-18 18:34           ` Eric Abrahamsen
2020-01-18 18:43             ` Eli Zaretskii
2020-01-18 19:15               ` Eric Abrahamsen
2020-01-18 19:19                 ` Eric Abrahamsen
2020-01-18 19:43                   ` Eli Zaretskii
2020-01-18 21:57                     ` Eric Abrahamsen

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=0100016fa225617e-6ba6c30f-c00a-411a-b0c9-a192851c2dd7-000000@email.amazonses.com \
    --to=p4j@j4d.net \
    --cc=39112@debbugs.gnu.org \
    --cc=eric@ericabrahamsen.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.