[PATCH] emacs: add emacs/try-emacs-mua.sh

David Bremner david at tethera.net
Sun Sep 20 04:50:30 PDT 2015


Tomi Ollila <tomi.ollila at iki.fi> writes:

> try-emacs-mua.sh provides an easy way to try and experiment with the
> notmuch emacs client provided in emacs subdirectory of notmuch source
> tree.

I wondered if this made more sense in the devel subdirectory as
primarily a developer tool.

> +# ensure we don't load .elc files that are older than corresponding .el file
> +perl -e 'use strict; use warnings;
> +while (<*.elc>) {
[snip]
> +	}
> +}'

I think this part can be simplified using the emacs variable
`load-prefer-newer'. Which should really be the default in emacs, but
*shrug*. untested:

--eval "(setq load-prefer-newer t)" -L foo -l bar



More information about the notmuch mailing list