tags 675073 + patch
thanks

On Tue, May 29, 2012 at 08:19:16PM +0200, Jakub Wilk wrote:
> If you run "notmuch-mutt search -p" and then enter "?", notmuch(1)
> manpage will be shown. I don't think this manpage is very useful for
> notmuch-mutt users. Showing notmuch-search-terms(7) manpage would be
> more helpful.

Ah, darn, the syntax of notmuch queries used to be described in
notmuch(1), but has apparently been moved to notmuch-search-terms(7).
Thanks for noticing, I didn't look at the manpage often open to do so
myself.

David, the (trivial) patch to fix Jakub's bug report is attached, ready
for 'git am'. It doesn't touch debian/changelog as I've no idea if you
prefer to have patches for that too or not...

Cheers.
-- 
Stefano Zacchiroli     zack@{upsilon.cc,pps.jussieu.fr,debian.org} . o .
Maître de conférences   ......   http://upsilon.cc/zack   ......   . . o
Debian Project Leader    .......   @zack on identi.ca   .......    o o o
« the first rule of tautology club is the first rule of tautology club »
From a4a53623a12d6758301044c6482eb63bee496a2f Mon Sep 17 00:00:00 2001
From: Stefano Zacchiroli <[email protected]>
Date: Tue, 29 May 2012 22:44:27 +0200
Subject: [PATCH] notmuch-mutt: lookup notmuch-search-terms(7) when asked for
 help

When asked for interactive help, lookup notmuch-search-terms(7)
instead of notmuch(1). Syntax of notmuch queries used to be described
in the latter, but has recently been moved to the former.

Closes: #675073 (in the Debian BTS)
---
 contrib/notmuch-mutt/notmuch-mutt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/notmuch-mutt/notmuch-mutt b/contrib/notmuch-mutt/notmuch-mutt
index 71206c3..fee165d 100755
--- a/contrib/notmuch-mutt/notmuch-mutt
+++ b/contrib/notmuch-mutt/notmuch-mutt
@@ -60,7 +60,7 @@ sub prompt($$) {
     while (1) {
 	chomp($query = $term->readline($text, $default));
 	if ($query eq "?") {
-	    system("man", "notmuch");
+	    system("man", "notmuch-search-terms");
 	} else {
 	    $term->WriteHistory($histfile);
 	    return $query;
-- 
1.7.10

Attachment: signature.asc
Description: Digital signature

Reply via email to