RFC: [PATCH] emacs: Improve the definition and use of `notmuch-fcc-dirs'.

Rob Browning rlb at defaultvalue.org
Thu Nov 4 16:03:11 PDT 2010


David Edmondson <dme at dme.org> writes:

> After wanting to be able to set `notmuch-fcc-dirs' to `nil' using
> custom, I got sucked in.

If you're going to go that far, you might want to allow a function (or
form) too (a-la gnus).  As an example, that can be handy when you want
to file mail based on the year:

  (setq gnus-message-archive-group
        '((list (concat "all-" (format-time-string "%Y")))))

That tells gnus that the archive group should be "all-YYYY".

(Section 5.5 in "info gnus" has all the gory details if you want to see
 what's been done there.)

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4


More information about the notmuch mailing list