Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 276BD431FBC for ; Mon, 23 Nov 2009 08:57:34 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 lPTtLEafCU41 for ; Mon, 23 Nov 2009 08:57:33 -0800 (PST) Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by olra.theworths.org (Postfix) with ESMTP id 5179D431FAE for ; Mon, 23 Nov 2009 08:57:33 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 3103B78A1FF9 for ; Mon, 23 Nov 2009 17:57:32 +0100 (CET) Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17346-04-2 for ; Mon, 23 Nov 2009 17:57:31 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Received: from thinkpad.tsdh.de (unknown [141.26.95.131]) by deliver.uni-koblenz.de (Postfix) with ESMTP id ABDF178A1FD0 for ; Mon, 23 Nov 2009 17:57:31 +0100 (CET) From: Tassilo Horn To: notmuch@notmuchmail.org Mail-Copies-To: never Date: Mon, 23 Nov 2009 17:57:31 +0100 Message-ID: <87tywlji10.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at uni-koblenz.de Subject: [notmuch] [PATCH] Return unpropertized strings for filename and message-id X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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: Mon, 23 Nov 2009 16:57:34 -0000 Hi! Here's my first patch. It changes that notmuch-show-get-filename and notmuch-show-get-message-id return simple strings and not propertited strings. Bye, Tassilo --- notmuch.el | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notmuch.el b/notmuch.el index 0cabbe2..c2839c0 100644 --- a/notmuch.el +++ b/notmuch.el @@ -169,7 +169,7 @@ Unlike builtin `next-line' this version accepts no arguments." (if (not (looking-at notmuch-show-message-begin-regexp)) (re-search-backward notmuch-show-message-begin-regexp)) (re-search-forward notmuch-show-id-regexp) - (buffer-substring (match-beginning 1) (match-end 1)))) + (buffer-substring-no-properties (match-beginning 1) (match-end 1)))) (defun notmuch-show-get-filename () (save-excursion @@ -177,7 +177,7 @@ Unlike builtin `next-line' this version accepts no arguments." (if (not (looking-at notmuch-show-message-begin-regexp)) (re-search-backward notmuch-show-message-begin-regexp)) (re-search-forward notmuch-show-filename-regexp) - (buffer-substring (match-beginning 1) (match-end 1)))) + (buffer-substring-no-properties (match-beginning 1) (match-end 1)))) (defun notmuch-show-set-tags (tags) (save-excursion -- 1.6.5.3