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

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

Date: Sun, 20 Sep 2015 08:50:30 -0300

To: Tomi Ollila, notmuch@notmuchmail.org

Cc: tomi.ollila@iki.fi

From: David Bremner


Tomi Ollila <tomi.ollila@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


Thread: