Re: [PATCH 1/2] emacs: add defsubst notmuch-address--message-insinuated
authorDavid Bremner <david@tethera.net>
Sun, 30 Aug 2015 12:28:32 +0000 (09:28 +2100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:49:27 +0000 (14:49 -0700)
5b/ed18b3c8aa46522d13856896ca629f49fa992e [new file with mode: 0644]

diff --git a/5b/ed18b3c8aa46522d13856896ca629f49fa992e b/5b/ed18b3c8aa46522d13856896ca629f49fa992e
new file mode 100644 (file)
index 0000000..158355f
--- /dev/null
@@ -0,0 +1,62 @@
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 9FA006DE17FD\r
+ for <notmuch@notmuchmail.org>; Sun, 30 Aug 2015 05:29:52 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.117\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.117 tagged_above=-999 required=5 tests=[AWL=0.117]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id uEMaZQ06zLBS for <notmuch@notmuchmail.org>;\r
+ Sun, 30 Aug 2015 05:29:50 -0700 (PDT)\r
+Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 9CBB86DE17EB\r
+ for <notmuch@notmuchmail.org>; Sun, 30 Aug 2015 05:29:50 -0700 (PDT)\r
+Received: from remotemail by gitolite.debian.net with local (Exim 4.80)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1ZW1jB-0007LW-Co; Sun, 30 Aug 2015 12:28:53 +0000\r
+Received: (nullmailer pid 3529 invoked by uid 1000); Sun, 30 Aug 2015\r
+ 12:28:32 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 1/2] emacs: add defsubst\r
+ notmuch-address--message-insinuated\r
+In-Reply-To: <1440619626-18768-1-git-send-email-tomi.ollila@iki.fi>\r
+References: <1440619626-18768-1-git-send-email-tomi.ollila@iki.fi>\r
+User-Agent: Notmuch/0.20.2+60~gcb08a2e (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Sun, 30 Aug 2015 09:28:32 -0300\r
+Message-ID: <87y4gtrmdr.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+Cc: tomi.ollila@iki.fi\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 30 Aug 2015 12:29:52 -0000\r
+\r
+Tomi Ollila <tomi.ollila@iki.fi> writes:\r
+\r
+> +(defsubst notmuch-address--message-insinuated ()\r
+> +  (memq notmuch-address-message-alist-member message-completion-alist))\r
+> +\r
+\r
+Is there some advantage to defsubst other than (maybe?) performance?  It\r
+just seems like one more construct for people to get up to speed with\r
+the codebase.\r
+\r
+d\r