Re: [PATCH] How to improve the mail handling workflow?

Subject: Re: [PATCH] How to improve the mail handling workflow?

Date: Mon, 15 Nov 2010 08:28:49 +0000

To: Sebastian Spaeth, Jameson Rollins, Matthieu Lemerre, notmuch@notmuchmail.org

Cc:

From: David Edmondson


On Sun, 14 Nov 2010 22:07:03 +0100, Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:
> > (define-key notmuch-search-mode-map "d"
> >   (lambda ()
> >     "delete thread and advance"
> >     (interactive)
> >     (notmuch-search-add-tag "deleted")
> >     (forward-line)))
> ...
> 
> This only works if you've already loaded notmuch, or you get error
> messages about notmuch-search-mode-map not being known. How do you deal
> with that or does it simply work for you?

`eval-after-load' is your friend.

dme.
-- 
David Edmondson, http://dme.org

Thread: