[PATCH v5 00/12] emacs: more flexible and consistent tagging operations

Pieter Praet pieter at praet.org
Fri Feb 24 16:05:55 PST 2012


On Fri, 24 Feb 2012 23:38:20 +0100, Pieter Praet <pieter at praet.org> wrote:
> [...]
> Same here.  In v2 [1], '*' tags all and 'C-u *' tags only open.
> 
> One can always swap the keybindings if so inclined.
>

Did I really say that?

There's only a single keybinding, so swap it with *what* ?!?  Itself ?

This should work though:

  #+begin_src emacs-lisp
    (define-key notmuch-show-mode-map "*"
      (lambda (prefix &rest tag-changes)
        (interactive
         (cons
          (not current-prefix-arg)
          (notmuch-read-tag-changes nil notmuch-show-thread-id)))
        (apply 'notmuch-show-tag-all prefix tag-changes)))
  #+end_src

> [...]


Peace

-- 
Pieter


More information about the notmuch mailing list