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 BC819431FAF for ; Fri, 3 Feb 2012 06:08:02 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "Date" X-Spam-Flag: NO X-Spam-Score: -0.367 X-Spam-Level: X-Spam-Status: No, score=-0.367 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, INVALID_DATE=0.432, RCVD_IN_DNSWL_LOW=-0.7] 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 uPfKLDLaYU0I for ; Fri, 3 Feb 2012 06:08:01 -0800 (PST) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 53EC2431FAE for ; Fri, 3 Feb 2012 06:08:01 -0800 (PST) Received: by wgbdt12 with SMTP id dt12so3381590wgb.2 for ; Fri, 03 Feb 2012 06:08:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:content-transfer-encoding:from:user-agent :to:date:message-id:subject:date; bh=5oBSVtmgXXkhAm0ft3+JS2n25iOvXsxg+GgM50BtBJo=; b=GhBZY/g2nLv1fRkguvlWKe0wAhhOdE5oZNmM0qtxlryVfQZaGCkb25XeyYGtrWwiSw fqem3pfuSmP061HVNhMPXCFRsqnOk47G0cq/oC2hV1+/wI96ir7LZZXtcafTB1DEuDM7 7+p0saBDH6zkR/5+QIsY47CAMvVQzQO+ht84k= Received: by 10.180.78.233 with SMTP id e9mr25156081wix.0.1328278080246; Fri, 03 Feb 2012 06:08:00 -0800 (PST) Received: from localhost (dhcp-91-036.inf.ed.ac.uk. [129.215.91.36]) by mx.google.com with ESMTPS id dw7sm6806665wib.4.2012.02.03.06.07.58 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Feb 2012 06:07:59 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Patrick Totzke User-Agent: alot/0.21+ To: notmuch@notmuchmail.org, Date: Fri, 03 Feb 2012 14:07:01 -0000 Message-ID: <20120203140701.12380.16746@megatron> Subject: [feature request] notmuch_thread_get_newest_subject Date: Fri, 03 Feb 2012 14:07:01 +0000 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, 03 Feb 2012 14:08:02 -0000 Hi all, There seems to be no way to get the "current" subject line of a thread. I promised to relay my feature request to the list, so here it is.. This could be done using a parameter like "newest-or-original" for = `notmuch_thread_get_subject` in threads.cc, which would look up the newest message in the thread and return its subject. Secondly, this should be usable from the python bindings. I intend to use this in alot to display the newest subject for a thread by = default. cheers, /p