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 99B0A40BFDB for ; Fri, 17 Sep 2010 09:26:19 -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, RCVD_IN_DNSWL_NONE=-0.0001] 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 y3StzSuJeo6s for ; Fri, 17 Sep 2010 09:26:09 -0700 (PDT) Received: from mail-pz0-f53.google.com (mail-pz0-f53.google.com [209.85.210.53]) by olra.theworths.org (Postfix) with ESMTP id 13EE440BFD3 for ; Fri, 17 Sep 2010 09:26:09 -0700 (PDT) Received: by pzk36 with SMTP id 36so1170939pzk.26 for ; Fri, 17 Sep 2010 09:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:in-reply-to :references:user-agent:date:message-id:mime-version:content-type; bh=Thr3a0xiUhcHnhei2gE57njG/Us8FNu/etXRcl5yTug=; b=dn2QsTXmmVmilwmGOKR251J1oliCZiWeYteQA/YnjXmcDXxTEeuRJFRD9dqcE5jalh X6shdrAsMkYVCE6iYcGnYBE6X3CFpJWlSMZ5sUclrbet4Khix33QCX8OByh8Ls1Ud9TD NUbQYV8SAHnhaz95uJ2a308r/cJiqb+Wu0zrc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; b=yAfwcZFg4Id8KclPEeCI8IKKvsBW8Qlns2FeRg6XMxM9VswMjZdLfq0Q19qZWAx4Pp +GM/F8RNggUdYzyY5eFkcgPaRFgKxHDSFAHyJ2j768N+VqP/7/QQZIrBk0i2OSlDVtUM 269nqVYWkLcO4EZEFg9e0d9qcxrEakzlF+4X4= Received: by 10.143.5.6 with SMTP id h6mr4389263wfi.135.1284740767070; Fri, 17 Sep 2010 09:26:07 -0700 (PDT) Received: from daniel (ppp-71-140-201-134.dsl.irvnca.pacbell.net [71.140.201.134]) by mx.google.com with ESMTPS id c14sm2995590wfe.14.2010.09.17.09.26.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 17 Sep 2010 09:26:05 -0700 (PDT) From: Daniel Goldin To: Jameson Rollins , notmuch list Subject: Re: noobie trying to find a good poll script and other things In-Reply-To: <87bp7wh176.fsf@servo.finestructure.net> References: <87iq26gawo.fsf@gmail.com> <87hbhqj1u0.fsf@servo.finestructure.net> <874odptlqg.fsf@gmail.com> <87bp7wh176.fsf@servo.finestructure.net> User-Agent: Notmuch/0.3.1-59-g676d251 (http://notmuchmail.org) Emacs/23.1.1 (i486-pc-linux-gnu) Date: Fri, 17 Sep 2010 09:26:12 -0700 Message-ID: <87tylomj4r.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Fri, 17 Sep 2010 16:26:19 -0000 Again, I'm not a programmer, so bear with me. When I open a "folder" after the "hello page," I see a list of mesaages with subjects, authors, dates, etc. It seems I am unable to operate on items in this list using functions such as the following: (defun notmuch-show-tag-spam() "mark message as spam" (interactive) (notmuch-show-add-tag "spam") (notmuch-show-remove-tag "new")) I get a "buffer is read only" error. However, I can operate on the messages themselves, when I move into a message buffer. Hope this clarifies. Best, d. On Fri, 17 Sep 2010 10:52:29 -0400, Jameson Rollins wrote: > On Thu, 16 Sep 2010 14:35:51 -0700, Daniel Goldin wrote: > > This is very helpful, but is there a way to create functions and > > keybindings that operate on tags in the index? > > Hi, Daniel. Can you explain what you mean by "the index"? All tag > operations are on the database itself. The emacs interface is really > just a fancy way of interacting with the notmuch CLI, so it's not like > there's a separate tag store or anything, if that's what you mean. > > jamie. Non-text part: application/pgp-signature -- Daniel Goldin, LMFT 626.817.2462 www.danielgoldinpractice.com