From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id BF40C431FBC for ; Sat, 23 Mar 2013 04:43:11 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mI4yYh9YLeXK for ; Sat, 23 Mar 2013 04:43:11 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id CC958431FAE for ; Sat, 23 Mar 2013 04:43:10 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id 4CCB3100051; Sat, 23 Mar 2013 13:42:57 +0200 (EET) From: Tomi Ollila To: Damien Cassou , notmuch@notmuchmail.org Subject: Re: [PATCH 1/2] emacs: Add notmuch-combine-face-text-property-string In-Reply-To: <1364038194-19856-2-git-send-email-damien.cassou@gmail.com> References: <1364038194-19856-1-git-send-email-damien.cassou@gmail.com> <1364038194-19856-2-git-send-email-damien.cassou@gmail.com> User-Agent: Notmuch/0.15.2+50~g43fdda5 (http://notmuchmail.org) Emacs/24.2.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Sat, 23 Mar 2013 11:43:11 -0000 On Sat, Mar 23 2013, Damien Cassou wrote: > Signed-off-by: Damien Cassou > --- The function notmuch-combine-face-text-property-string is used only once in next patch. Do you anticipate more uses of it in the future? Tomi > emacs/notmuch-lib.el | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el > index e6edb9a..78c578f 100644 > --- a/emacs/notmuch-lib.el > +++ b/emacs/notmuch-lib.el > @@ -357,6 +357,14 @@ OBJECT." > (setq pos next)))) > object) > > +(defun notmuch-combine-face-text-property-string (string face &optional below) > + (notmuch-combine-face-text-property > + 0 > + (length string) > + face > + below > + string)) > + > (defun notmuch-logged-error (msg &optional extra) > "Log MSG and EXTRA to *Notmuch errors* and signal MSG. > > -- > 1.7.10.4 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch