[PATCH 2/4] emacs: repurpose notmuch-show-archive-thread-internal function for general thread tagging
Jameson Graef Rollins
jrollins at finestructure.net
Tue Jan 10 18:56:29 PST 2012
On Mon, 09 Jan 2012 00:02:20 -0500, Aaron Ecay <aaronecay at gmail.com> wrote:
> On Sun, 08 Jan 2012 18:49:56 -0800, Jameson Graef Rollins <jrollins at finestructure.net> wrote:
> > On Sun, 08 Jan 2012 20:08:59 -0500, Aaron Ecay <aaronecay at gmail.com> wrote:
> > >
> > > - It would be good to make show-next &optional. This will enable code
> > > to call the fn with only two arguments, and not showing next will be
> > > the default behavior.
> >
> > That's a nice idea. Probably better for a separate patch, though.
>
> This patch introduces show-next as a new argument to the function. So it
> can and should make it &optional, if that is the appropriate semantics
> for it to have.
Actually, the show-next argument was already part of the function. I
did not introduce it. And it wasn't optional originally, so if we want
to change that behavior we should probably do so in a separate patch.
> That said, here’s an alternate proposal: provide two functions as the
> “external” API, namely ‘notmuch-show-{add,remove}-tag-thread’ (by
> parallelism with ‘notmuch-show-{add,remove}-tag’). These could be
> thin wrappers around ‘notmuch-show-tag-thread-internal’, which would
> then not be intended to be called by user code.
I think that's a better idea. In the next version I'll add something
like this instead.
jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120110/f3fc081f/attachment.pgp>
More information about the notmuch
mailing list