From: Austin Clements <amdragon@MIT.EDU>
To: Jani Nikula <jani@nikula.org>
Cc: notmuch@notmuchmail.org, dkg@fifthhorseman.net
Subject: Re: [PATCH 1/3] mime node: Record depth-first part numbers
Date: Sun, 22 Jan 2012 20:02:42 -0500 [thread overview]
Message-ID: <20120123010242.GA7600@mit.edu> (raw)
In-Reply-To: <20120119021254.GJ16740@mit.edu>
Quoth myself on Jan 18 at 9:12 pm:
> Quoth Jani Nikula on Jan 19 at 12:25 am:
> > FWIW, I'm not a big fan of casting away const. Either it is const, or it
> > isn't. Not very many places would be affected if you dropped the const
> > qualifier from the related interface(s) altogether, and things would
> > look cleaner here. But I suppose this is a matter of taste.
>
> I'm not particularly happy with this either. Unfortunately, dropping
> the const here affects a surprising number of places, including the
> entire MIME node API.
I've changed my mind and removed a few consts so that this funny cast
isn't necessary. (It also turned out that when I tried this before,
I'd given up just a smidgen before removing enough consts to make it
work.)
> I think that, at a deep level, depth-first numbering simply doesn't
> resonate with an extremely hierarchical API like this and that
> dissonance is going to have to focus somewhere. There have been
> discussions of switching to hierarchical part numbering before (in
> particular, because depth-first numbering is unstable with encrypted
> parts) and I'll probably restart those after all of this is done.
I have not, however, changed my mind about this.
next prev parent reply other threads:[~2012-01-23 1:03 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-18 20:28 [PATCH 0/3] Second step of 'show' rewrite Austin Clements
2012-01-18 20:28 ` [PATCH 1/3] mime node: Record depth-first part numbers Austin Clements
2012-01-18 22:25 ` Jani Nikula
2012-01-19 2:12 ` Austin Clements
2012-01-23 1:02 ` Austin Clements [this message]
2012-01-18 20:28 ` [PATCH 2/3] show: Use consistent header ordering in the text format Austin Clements
2012-01-20 13:45 ` Tomi Ollila
2012-01-18 20:28 ` [PATCH 3/3] show: Introduce mime_node formatter callback Austin Clements
2012-01-18 22:33 ` Jani Nikula
2012-01-19 2:23 ` Austin Clements
2012-01-18 20:35 ` [PATCH 0/3] Second step of 'show' rewrite Dmitry Kurochkin
2012-01-18 20:45 ` Austin Clements
2012-01-22 22:44 ` Jameson Graef Rollins
2012-01-23 2:31 ` [PATCH v2 " Austin Clements
2012-01-23 2:31 ` [PATCH v2 1/3] mime node: Record depth-first part numbers Austin Clements
2012-01-23 18:07 ` Jani Nikula
2012-01-23 21:36 ` Tomi Ollila
2012-01-23 22:19 ` Dmitry Kurochkin
2012-01-23 23:15 ` Austin Clements
2012-01-23 2:31 ` [PATCH v2 2/3] show: Use consistent header ordering in the text format Austin Clements
2012-01-23 2:31 ` [PATCH v2 3/3] show: Introduce mime_node formatter callback Austin Clements
2012-01-23 21:00 ` Tomi Ollila
2012-01-23 22:37 ` Dmitry Kurochkin
2012-01-23 23:23 ` Austin Clements
2012-01-23 20:28 ` [PATCH v3 0/2] Second step of 'show' rewrite Austin Clements
2012-01-23 20:29 ` [PATCH v3 1/2] mime node: Record depth-first part numbers Austin Clements
2012-01-23 20:29 ` [PATCH v3 2/2] show: Introduce mime_node formatter callback Austin Clements
2012-01-23 23:26 ` [PATCH v4 0/3] Second step of 'show' rewrite Austin Clements
2012-01-23 23:26 ` [PATCH v4 1/3] mime node: Record depth-first part numbers Austin Clements
2012-01-23 23:26 ` [PATCH v4 2/3] show: Use consistent header ordering in the text format Austin Clements
2012-01-23 23:26 ` [PATCH v4 3/3] show: Introduce mime_node formatter callback Austin Clements
2012-01-23 23:33 ` [PATCH v5 0/2] Second step of 'show' rewrite Austin Clements
2012-01-23 23:33 ` [PATCH v5 1/2] mime node: Record depth-first part numbers Austin Clements
2012-01-23 23:36 ` Dmitry Kurochkin
2012-01-24 8:57 ` Tomi Ollila
2012-01-23 23:33 ` [PATCH v5 2/2] show: Introduce mime_node formatter callback Austin Clements
2012-01-23 23:36 ` Dmitry Kurochkin
2012-01-24 8:58 ` Tomi Ollila
2012-01-24 18:26 ` Jani Nikula
2012-01-25 11:33 ` [PATCH v5 0/2] Second step of 'show' rewrite David Bremner
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=20120123010242.GA7600@mit.edu \
--to=amdragon@mit.edu \
--cc=dkg@fifthhorseman.net \
--cc=jani@nikula.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).