[PATCH v3 5/5] emacs: Use message-citation-line-format in reply

Tomi Ollila tomi.ollila at iki.fi
Fri Jan 20 14:31:28 PST 2012


On Fri, 20 Jan 2012 10:22:09 -0700, Adam Wolfe Gordon <awg+notmuch at xvx.ca> wrote:
> Erk, forgot to reply-all.  Aaron might get this twice.

Pick this:  notmuch at notmuchmail.org  (and add to to/cc) next time you forgot
to press 'R' (that's what I do :)
> 
> On Thu, Jan 19, 2012 at 22:53, Aaron Ecay <ecay at sas.upenn.edu> wrote:
> 
> > One possible step that might ease the transition pain could be for
> > notmuch’s emacs interface to have a configuration file (similar to
> > Wanderlust’s ~/.wl; I believe Gnus also uses a ~/.gnus).  The idea is
> > that this file contains elisp code, and is loaded by notmuch the first
> > time any notmuch-related commands are invoked by the user.  If the file
> > does not exist, notmuch could create it with default content that sets
> > message-citation-function, message-citation-line-format,
> > message-yank-prefix (to get rid of the ugly default whereby message-mode
> > indents the original message by four spaces instead of inserting “> ”),
> > etc.  If there is interest in this approach, I’d be happy to work on a
> > patch for it.

Yes, that would be good -- then there is default file everyone can be
directed to...

> This would be a good way to get around the ugly defaults problem, and
> it would also be an easy way for people to share their notmuch/emacs
> setups.  I already have my setup in a file separate from my normal
> emacs config, and I run `emacs -q -l ~/.emacs-notmuch -f notmuch` so
> it doesn't load my normal, programming-oriented setup.

I used to do just that -- but then I cannot enter M-x notmuch in my
emacs for sending email from that particular emacs. Now I have something 
like:

(autoload 'notmuch "~/local/my-notmuch" "Notmuchmail" t)

Where first lines add load path for notmuch, then (require 'notmuch)
and then stars loading configuration...

The question, in case that configuration file is added, where is it 
located: ~/.notmuch (to add yet another file there), or into
.notmuch/ directory or XDG -like .config/notmuch/ (config.el ?)

See: id:"E1RdKCw-0007o7-J7 at thinkbox.jade-hamburg.de"

Tomi


More information about the notmuch mailing list