From 3dfa587a1598694c7e21dee8e47cbf6865c6b700 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 31 Aug 2015 09:28:32 +2100 Subject: [PATCH] Re: [PATCH 1/2] emacs: add defsubst notmuch-address--message-insinuated --- 5b/ed18b3c8aa46522d13856896ca629f49fa992e | 62 +++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 5b/ed18b3c8aa46522d13856896ca629f49fa992e diff --git a/5b/ed18b3c8aa46522d13856896ca629f49fa992e b/5b/ed18b3c8aa46522d13856896ca629f49fa992e new file mode 100644 index 000000000..158355f25 --- /dev/null +++ b/5b/ed18b3c8aa46522d13856896ca629f49fa992e @@ -0,0 +1,62 @@ +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 9FA006DE17FD + for ; Sun, 30 Aug 2015 05:29:52 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.117 +X-Spam-Level: +X-Spam-Status: No, score=0.117 tagged_above=-999 required=5 tests=[AWL=0.117] + 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 uEMaZQ06zLBS for ; + Sun, 30 Aug 2015 05:29:50 -0700 (PDT) +Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) + by arlo.cworth.org (Postfix) with ESMTPS id 9CBB86DE17EB + for ; Sun, 30 Aug 2015 05:29:50 -0700 (PDT) +Received: from remotemail by gitolite.debian.net with local (Exim 4.80) + (envelope-from ) + id 1ZW1jB-0007LW-Co; Sun, 30 Aug 2015 12:28:53 +0000 +Received: (nullmailer pid 3529 invoked by uid 1000); Sun, 30 Aug 2015 + 12:28:32 -0000 +From: David Bremner +To: Tomi Ollila , notmuch@notmuchmail.org +Subject: Re: [PATCH 1/2] emacs: add defsubst + notmuch-address--message-insinuated +In-Reply-To: <1440619626-18768-1-git-send-email-tomi.ollila@iki.fi> +References: <1440619626-18768-1-git-send-email-tomi.ollila@iki.fi> +User-Agent: Notmuch/0.20.2+60~gcb08a2e (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Sun, 30 Aug 2015 09:28:32 -0300 +Message-ID: <87y4gtrmdr.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, 30 Aug 2015 12:29:52 -0000 + +Tomi Ollila writes: + +> +(defsubst notmuch-address--message-insinuated () +> + (memq notmuch-address-message-alist-member message-completion-alist)) +> + + +Is there some advantage to defsubst other than (maybe?) performance? It +just seems like one more construct for people to get up to speed with +the codebase. + +d -- 2.26.2