From: David Bremner Date: Sun, 20 Sep 2015 11:50:30 +0000 (+2100) Subject: Re: [PATCH] emacs: add emacs/try-emacs-mua.sh X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=56f5115823359d46e10b667e6f4c89431c19dd66;p=notmuch-archives.git Re: [PATCH] emacs: add emacs/try-emacs-mua.sh --- diff --git a/01/3ed687c35858536f177734d6a0627be1f1f3b5 b/01/3ed687c35858536f177734d6a0627be1f1f3b5 new file mode 100644 index 000000000..c9f6f6d88 --- /dev/null +++ b/01/3ed687c35858536f177734d6a0627be1f1f3b5 @@ -0,0 +1,72 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 6ED666DE1ADE + for ; Sun, 20 Sep 2015 05:13:59 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.113 +X-Spam-Level: +X-Spam-Status: No, score=0.113 tagged_above=-999 required=5 tests=[AWL=0.113] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id JVRm9jsv48ZL for ; + Sun, 20 Sep 2015 05:13:57 -0700 (PDT) +Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) + by arlo.cworth.org (Postfix) with ESMTPS id 3D4706DE1ADA + for ; Sun, 20 Sep 2015 05:13:57 -0700 (PDT) +Received: from remotemail by gitolite.debian.net with local (Exim 4.80) + (envelope-from ) + id 1ZddUJ-0006ny-Jd; Sun, 20 Sep 2015 12:12:59 +0000 +Received: (nullmailer pid 2075 invoked by uid 1000); Sun, 20 Sep 2015 + 11:50:30 -0000 +From: David Bremner +To: Tomi Ollila , notmuch@notmuchmail.org +Subject: Re: [PATCH] emacs: add emacs/try-emacs-mua.sh +In-Reply-To: <1441608490-9413-1-git-send-email-tomi.ollila@iki.fi> +References: <1441608490-9413-1-git-send-email-tomi.ollila@iki.fi> +User-Agent: Notmuch/0.20.2+73~gd432116 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Sun, 20 Sep 2015 08:50:30 -0300 +Message-ID: <87d1xdtim1.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +Cc: tomi.ollila@iki.fi +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sun, 20 Sep 2015 12:13:59 -0000 + +Tomi Ollila 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 +