aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch.el
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2013-10-22 20:21:56 -0400
committerGravatar David Bremner <bremner@debian.org>2013-10-25 21:26:13 -0300
commit47792533b37b24d353aa351c303562860509441b (patch)
treeeeb8e6eff82d691be32f727ff7bb0806b02a70b2 /emacs/notmuch.el
parent0f8d5b6b0e7597346f0228145069706a7866f6f1 (diff)
emacs: Use interactive specifications for tag changes in show
This modifies all tagging operations in show to call `notmuch-read-tag-changes' in their interactive specification to input tag changes, rather than depending on lower-level functions to prompt for tag changes regardless of their calling context. Besides being more Elispy and providing a more consistent programmatic API, this enables callers to provide two call site-specific pieces of information: an appropriate prompt, and the set of visible tags. The prompt lets us differentiate * from +/-. Providing visible tags enables a more consistent user experience than retrieving the (potentially different) tags from the database, and avoids a round-trip to the CLI and database.
Diffstat (limited to 'emacs/notmuch.el')
0 files changed, 0 insertions, 0 deletions