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 CC5D7429E25 for ; Wed, 26 Oct 2011 01:17:24 -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 pjKTT+zAKCEU for ; Wed, 26 Oct 2011 01:17:23 -0700 (PDT) Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 6428C431FB6 for ; Wed, 26 Oct 2011 01:17:23 -0700 (PDT) Received: from taco2.nixu.fi (localhost [127.0.0.1]) by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p9Q8HFdA016947 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 26 Oct 2011 11:17:15 +0300 Received: (from too@localhost) by taco2.nixu.fi (8.14.3/8.14.3/Submit) id p9Q8HFoF016946; Wed, 26 Oct 2011 11:17:15 +0300 X-Authentication-Warning: taco2.nixu.fi: too set sender to tomi.ollila@nixu.com using -f From: Tomi Ollila To: Erlend Simonsen Subject: Re: Emacs: notmuch-show-mode failing to actually update tags References: <87y5w9w6dm.fsf@fudge.hue.no> <878vo9dlja.fsf@servo.finestructure.net> <87ty6ww82k.fsf@fudge.hue.no> X-Face: HhBM'cA~ (Erlend Simonsen's message of "Wed, 26 Oct 2011 09:00:51 +0200") Message-ID: User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: notmuch@notmuchmail.org 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: Wed, 26 Oct 2011 08:17:24 -0000 On Wed 26 Oct 2011 10:00, Erlend Simonsen writes: > On Tue, 25 Oct 2011 10:32:41 -0700, Jameson Graef Rollins > wrote: >> On Tue, 25 Oct 2011 15:25:09 +0200, Erlend Simonsen wrote: >> > I've been toying around with notmuch the last few days, and I'm having >> > some problems with the Emacs mode. >> > >> > Updating tags from the search result is fine (except it doesn't reapply >> > the tag-faces when changed), but all updates done while viewing a single >> > message/thread end up being ignored as the message id is quoted. >> >> Hi, Erlend. Everything seems to be working for me. Which version are >> you running (notmuch --version), and where did you acquire it? > > notmuch 0.9-6-g8bb5b62, fetched from git.notmuchmail.org running on GNU > Emacs 24.0.90.1 > >> Frequently problems like this happen when the emacs session is not >> restarted after a notmuch upgrade. Any chance that applies to your >> situation? > > Unfortunately, no. If I run a search for id:"messageid" within Emacs, > nothing is found. But if I search for id:messageid, I get the correct > result. Could this be an Emacs 24 issue? Try these from command line: notmuch search id:messageid notmuch search 'id:"messageid"' Note all the single and double quotes in second line. These should return the same output. If these does it might be that your emacs interface escapes the quotes for some reason. i.e. the execution from emacs is analogous to this command line: notmuch search 'id:\"messageid\"' > -- Erlend Tomi