From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Carl Worth <cworth@cworth.org>
Cc: Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: MIME restructuring [was: Re: release-candidate/0.6]
Date: Mon, 16 May 2011 17:28:50 -0400 [thread overview]
Message-ID: <4DD19712.3000203@fifthhorseman.net> (raw)
In-Reply-To: <87ei3ybawo.fsf@yoom.home.cworth.org>
[-- Attachment #1: Type: text/plain, Size: 1565 bytes --]
On 05/16/2011 05:20 PM, Carl Worth wrote:
> Interestingly, this is not quite the behavior I get (with commit
> 373f352). With --format=text I'm now seeing:
>
> 2) C
> 3) D
> 4) E
--format=text should only show the parts that are readable in text.
the ultimate goal is to get the part numbers aligned across all --format
choices, regardless of the ability of the format to show the actual nesting.
> So that explains some of my confusion. The behavioral change of this
> commit is really only impacting the json format, and not the text. That
> wasn't clear from the commit message (and I had only been doing my
> testing with the text backend).
It should ultimately affect the numbering in all parts. There's no way
for the text part to do anything like the nesting that we're doing in
json, though, due to the output format.
> This seems to be justifying my fears about the code duplication---the
> two code paths are already divergent, (which means that things like
> notmuch part-number identifiers cannot be used between the different
> formats). I'd like to fix that by preventing the code duplication.
>
> Also, both paths seem to be suffering from some excess part-number
> incrementing somewhere.
The confusions you outline were fixed (by me, iirc) somewhere later in
the crypto tree. I did not want to tamper with dme's crypto branch
directly (though i now suspect that's what i should have done).
i'd give you a commit ID, but i suspect you're sufficiently rebased that
this wouldn't be helpful.
--dkg
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 1030 bytes --]
next prev parent reply other threads:[~2011-05-16 21:29 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-06 19:46 release-candidate/0.6 Jameson Graef Rollins
2011-05-06 20:54 ` release-candidate/0.6 Sebastian Spaeth
2011-05-06 23:51 ` release-candidate/0.6 Florian Friesdorf
2011-05-08 23:23 ` release-candidate/0.6 Florian Friesdorf
2011-05-06 23:56 ` release-candidate/0.6 James Vasile
2011-05-07 0:24 ` release-candidate/0.6 Florian Friesdorf
2011-05-07 2:31 ` release-candidate/0.6 Tim Gray
2011-05-08 22:14 ` release-candidate/0.6 Jameson Graef Rollins
2011-05-09 0:57 ` release-candidate/0.6 Jameson Graef Rollins
2011-05-09 17:00 ` release-candidate/0.6 James Vasile
2011-05-07 11:53 ` release-candidate/0.6 Darren McGuicken
2011-05-07 20:14 ` release-candidate/0.6 Dmitry Kurochkin
2011-05-09 1:03 ` release-candidate/0.6 Jameson Graef Rollins
2011-05-09 1:24 ` release-candidate/0.6 Daniel Kahn Gillmor
2011-05-09 1:31 ` release-candidate/0.6 Jameson Graef Rollins
2011-05-09 17:20 ` release-candidate/0.6 Jameson Graef Rollins
2011-05-10 9:12 ` release-candidate/0.6 Jameson Graef Rollins
2011-05-10 16:42 ` release-candidate/0.6 Jameson Graef Rollins
2011-05-12 12:22 ` release-candidate/0.6 Pieter Praet
2011-05-12 13:18 ` release-candidate/0.6 Austin Clements
2011-05-12 14:09 ` release-candidate/0.6 Pieter Praet
2011-05-12 17:52 ` release-candidate/0.6 Austin Clements
2011-05-13 8:17 ` [PATCH 0/4] set test prereqs (Emacs, GDB, GPG) Pieter Praet
2011-05-13 8:17 ` [PATCH 1/4] test: add 'GDB' prereq to 'atomicity' tests Pieter Praet
2011-05-13 8:17 ` [PATCH 2/4] test: add 'GPG' prereq to 'crypto' tests Pieter Praet
2011-05-13 8:17 ` [PATCH 3/4] test: add 'Emacs' prereq to 'emacs' tests Pieter Praet
2011-05-13 8:17 ` [PATCH 4/4] test: add 'Emacs' prereq to 'emacs-large-search-buffer' tests Pieter Praet
2011-05-09 14:57 ` release-candidate/0.6 micah anderson
2011-05-12 22:36 ` release-candidate/0.6 Carl Worth
2011-05-13 8:07 ` release-candidate/0.6 Jameson Graef Rollins
2011-05-16 20:42 ` release-candidate/0.6 Carl Worth
2011-05-16 20:50 ` MIME restructuring [was: Re: release-candidate/0.6] Daniel Kahn Gillmor
2011-05-16 20:59 ` Carl Worth
2011-05-17 23:05 ` Carl Worth
2011-05-16 21:05 ` Daniel Kahn Gillmor
2011-05-16 21:14 ` Simon Hürlimann
2011-05-16 21:20 ` Carl Worth
2011-05-16 21:28 ` Daniel Kahn Gillmor [this message]
2011-05-16 22:37 ` Jameson Graef Rollins
2011-05-17 0:33 ` 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=4DD19712.3000203@fifthhorseman.net \
--to=dkg@fifthhorseman.net \
--cc=cworth@cworth.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).