[PATCH 2/2] emacs: add defcustom notmuch-init-file and load it if exists
Tomi Ollila
tomi.ollila at iki.fi
Sun Mar 30 00:49:17 PDT 2014
On Sun, Mar 30 2014, Mark Walters <markwalters1009 at gmail.com> wrote:
> This looks good, but I haven't tested as it doesn't fit with my current
> setup. (Just to clarify my current setup still works, but it would be a
> moderate amount of effort to actually exercise the new code)
tnx for looking :D
How do you currently do it? all in .emacs or done someting like in
http://notmuchmail.org/emacstips/#index6h2
> One question: is it possible to get emacs to save notmuch customizations
> to the notmuch init file rather than to .emacs? I think it isn't but
> thought it worth checking in case.
My .emacs is static, cloned from git repository everywhere. Last lines of
my .emacs are:
---8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--
(load-file (concat compiled-directory "/dot-emacs.elc"))
(setq custom-file "~/local/custom.el")
(load custom-file)
; -- if there are lines below this, those has been added
; -- by some program -- and those needs to be moved elsewhere.
---8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<--
i.e. (at least) all customizations can be moved to other file.
I currently have a problem w/ customizations as those work well in
terminal with light background. Occasionally I read mail using my
Nokia N9 fingerterm which has black background (many things unreadable
there). I may end up ditching customization settings and do those with
setq's in these configuration files I have (that is what I've done in
all other emacs software)
>
> Best wishes
>
> Mark
>
Tomi
More information about the notmuch
mailing list