unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Carl Worth <cworth@cworth.org>
To: Matthias Guedemann <Matthias.Guedemann@ovgu.de>,
	Dirk Hohndel <hohndel@infradead.org>,
	"notmuch\@notmuchmail.org" <notmuch@notmuchmail.org>
Subject: Re: problems with multipart/mixed
Date: Mon, 23 May 2011 14:38:05 -0700	[thread overview]
Message-ID: <87vcx1m72a.fsf@yoom.home.cworth.org> (raw)
In-Reply-To: <877h9hmt8k.fsf@pc44es141.cs.uni-magdeburg.de>

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

On Mon, 23 May 2011 15:39:07 +0200, Matthias Guedemann <Matthias.Guedemann@ovgu.de> wrote:
> 
> > If you did then I'm in the same boat. Notmuch/emacs used to display both
> 
> welcome to the boat!

My fault. I'm sorry about this breakage.

> Now a quick-and-dirty way around this:
> 
> reset to c51d5b3cdb5ca0816816e88ca6f7136a24e74eee
> 
> and apply this patch:
..
> -       *part_count = *part_count + 1;
> -       (*show_part) (part, part_count);
> +       //*part_count = *part_count + 1;
> +       //(*show_part) (part, part_count);

Your patch here removes the change to the part numbering for "notmuch
show".

I've just pushed a change which instead adds this same part numbering to
"notmuch part". Please try it out and let me know if you have any
further trouble.

Clearly, we've got a hole in our test suite since it didn't notice this
problem at all.

Meanwhile, Jameson has proposed (in IRC) a patch series to further
rework the way that "notmuch part" works. That series also adds various
tests for "notmuch part" (which will instead be called "notmuch show
--part") to the test suite.

So hopefully we won't have this same regression appear in the future.

Thanks, everyone for reporting this bug.

-Carl

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2011-05-23 21:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-21  6:35 problems with multipart/mixed Matthias Guedemann
2011-05-23 11:25 ` Dirk Hohndel
2011-05-23 13:39   ` Matthias Guedemann
2011-05-23 21:38     ` Carl Worth [this message]
2011-05-24  2:46       ` Dirk Hohndel
2011-05-24 19:50         ` Carl Worth
2011-05-24 21:01           ` Dirk Hohndel
2011-05-24 22:06             ` Carl Worth

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

  List information: https://notmuchmail.org/

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

  git send-email \
    --in-reply-to=87vcx1m72a.fsf@yoom.home.cworth.org \
    --to=cworth@cworth.org \
    --cc=Matthias.Guedemann@ovgu.de \
    --cc=hohndel@infradead.org \
    --cc=notmuch@notmuchmail.org \
    /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 public inbox

	https://yhetil.org/notmuch.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).