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 8298840B94A for ; Thu, 1 Jul 2010 09:09:18 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001] autolearn=ham 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 zHeHceme3Ofi for ; Thu, 1 Jul 2010 09:09:06 -0700 (PDT) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) by olra.theworths.org (Postfix) with ESMTP id 93CF44196F3 for ; Thu, 1 Jul 2010 09:08:55 -0700 (PDT) Received: by mail-fx0-f53.google.com with SMTP id 19so1776530fxm.26 for ; Thu, 01 Jul 2010 09:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=RZUwZ9VzdGqOJtl/CFSOEwqBrbr8nq/FDGQl4QzTsOU=; b=sPhLMSd2GduVjdAAlKGIW7mWC6tRkn56pxVt6BnG1OC4KBdEP3He+2wQUXT2r6c5Ux 23XkPSTshXLrZmMgVil56Ealb5Ao5/c6wGfA3RC/q0HLBDIG6oIHB94v8sPOyuN7NB8a 87mn6+Q/1JjT1momB/udVOIKNmVk7OoNkYbWE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=mvaiWUNXH/HzERm8l0TV9msSC9J7LdO61DvJUd7j5Ao5YjPF+2yVtOQ+gDYbNKWPtB 5slh662GVaVg7qyN5FSkZ/2+nW9a2tNJjsEUOsuuXCB8IwxWnPWcVYZ9D+fQ20r/BTuQ pmuyWuOPKMoZn9fysNGvHKiyuPA8AxJkECrTQ= Received: by 10.223.56.27 with SMTP id w27mr9774045fag.37.1278000534914; Thu, 01 Jul 2010 09:08:54 -0700 (PDT) Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id l18sm24641373fab.0.2010.07.01.09.08.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 01 Jul 2010 09:08:53 -0700 (PDT) From: Dmitry Kurochkin To: notmuch@notmuchmail.org Subject: [PATCH 2/5] Add quotes around id:"message-id" queries. Date: Thu, 1 Jul 2010 20:08:24 +0400 Message-Id: <1278000507-22290-3-git-send-email-dmitry.kurochkin@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1278000507-22290-1-git-send-email-dmitry.kurochkin@gmail.com> References: <1278000507-22290-1-git-send-email-dmitry.kurochkin@gmail.com> 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: Thu, 01 Jul 2010 16:09:18 -0000 --- emacs/notmuch-message.el | 2 +- emacs/notmuch-show.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch-message.el b/emacs/notmuch-message.el index d5c96c2..4bc76b2 100644 --- a/emacs/notmuch-message.el +++ b/emacs/notmuch-message.el @@ -45,7 +45,7 @@ the \"inbox\" and \"todo\", you would set str)) notmuch-message-replied-tags))) (apply 'notmuch-call-notmuch-process "tag" - (append tags (list (concat "id:" (car (car rep)))) nil)))))) + (append tags (list (concat "id:\"" (car (car rep)) "\"")) nil)))))) (add-hook 'message-send-hook 'notmuch-message-mark-replied) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index a845efc..c5e88f4 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -730,7 +730,7 @@ All currently available key bindings: (defun notmuch-show-get-message-id (&optional props) "Return the message id of the current message." - (concat "id:" (notmuch-show-get-prop :id props))) + (concat "id:\"" (notmuch-show-get-prop :id props) "\"")) ;; dme: Would it make sense to use a macro for many of these? -- 1.7.1