[PATCH] emacs: add tag jump menu

Jani Nikula jani at nikula.org
Sun Sep 18 08:43:49 PDT 2016


On Sun, 18 Sep 2016, David Bremner <david at tethera.net> wrote:
> Mark Walters <markwalters1009 at gmail.com> writes:
>
>> I agree that C-u is a little cumbersome -- I think I would be happy for
>> a toggle for single messages (with a single tag change), but for
>> multiple messages like a thread I think it would be very unclear what it
>> was doing.
>
> It's also not clear how toggle works for multiple tags. I mean, it's
> clear in a mathematical sense, but not so clear when it would be
> expected and useful in a UI sense.

It sounds like both toggle *and* reverse operations are a bit unclear,
especially on multiple messages and/or tag changes. I asked for the
reverse operation using a prefix argument in a whim, but perhaps we're
better off starting without either toggle or reverse.

There's another angle. People seem to want the +deleted change also to
have -inbox. I'm not sure they'd want the reverse of "deleted" to also
put it back to inbox. David also seemed to have issues with the
asymmetry of desirable tag changes. So how about we just let people
define their tag changes using customization, including whatever reverse
they think is best? They could have "k d" (+deleted -inbox) for delete,
and "k D" (-deleted) for undelete. Or whatever they want.

And we can build on top of that later as we see how this feels.

I didn't actually try the patches, but based on the description the
general approach seemed fine. Thanks for doing this, Mark.

BR,
Jani.


More information about the notmuch mailing list