unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] emacs: Added "is:<tag>" style completion to notmuch-read-query.
@ 2014-11-29  0:10 Charles Celerier
  2014-11-29  7:53 ` David Edmondson
  2014-11-29 16:39 ` [PATCH v2] " Charles Celerier
  0 siblings, 2 replies; 13+ messages in thread
From: Charles Celerier @ 2014-11-29  0:10 UTC (permalink / raw)
  To: notmuch

The notmuch-search-terms man page states that "tag:<tag>" is equivalent
to "is:<tag>". Completion for "is:<tag>" style searches is now supported
in the Emacs interface.

Signed-off-by: Charles Celerier <cceleri@cs.stanford.edu>
---
 emacs/notmuch.el | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 218486a..e4b77c7 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -855,13 +855,15 @@ See `notmuch-tag' for information on the format of TAG-CHANGES."
   "Read a notmuch-query from the minibuffer with completion.
 
 PROMPT is the string to prompt with."
+  (setq all-tags
+        (mapcar (lambda (tag) (notmuch-escape-boolean-term tag))
+                (process-lines notmuch-command "search" "--output=tags" "*")))
   (lexical-let
       ((completions
 	(append (list "folder:" "path:" "thread:" "id:" "date:" "from:" "to:"
 		      "subject:" "attachment:")
-		(mapcar (lambda (tag)
-			  (concat "tag:" (notmuch-escape-boolean-term tag)))
-			(process-lines notmuch-command "search" "--output=tags" "*")))))
+		(mapcar (lambda (tag) (concat "tag:" tag)) all-tags)
+		(mapcar (lambda (tag) (concat "is:" tag)) all-tags))))
     (let ((keymap (copy-keymap minibuffer-local-map))
 	  (current-query (case major-mode
 			   (notmuch-search-mode (notmuch-search-get-query))
-- 
2.1.2

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [PATCH] emacs: Added "is:<tag>" style completion to notmuch-read-query.
  2014-11-29  0:10 [PATCH] emacs: Added "is:<tag>" style completion to notmuch-read-query Charles Celerier
@ 2014-11-29  7:53 ` David Edmondson
  2014-11-29  8:06   ` David Bremner
  2014-11-29 16:39 ` [PATCH v2] " Charles Celerier
  1 sibling, 1 reply; 13+ messages in thread
From: David Edmondson @ 2014-11-29  7:53 UTC (permalink / raw)
  To: Charles Celerier, notmuch

On Sat, Nov 29 2014, Charles Celerier wrote:
> The notmuch-search-terms man page states that "tag:<tag>" is equivalent
> to "is:<tag>". Completion for "is:<tag>" style searches is now supported
> in the Emacs interface.
>
> Signed-off-by: Charles Celerier <cceleri@cs.stanford.edu>
> ---
>  emacs/notmuch.el | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/emacs/notmuch.el b/emacs/notmuch.el
> index 218486a..e4b77c7 100644
> --- a/emacs/notmuch.el
> +++ b/emacs/notmuch.el
> @@ -855,13 +855,15 @@ See `notmuch-tag' for information on the format of TAG-CHANGES."
>    "Read a notmuch-query from the minibuffer with completion.
>  
>  PROMPT is the string to prompt with."
> +  (setq all-tags
> +        (mapcar (lambda (tag) (notmuch-escape-boolean-term tag))
> +                (process-lines notmuch-command "search"
>                  "--output=tags" "*")))

Should use a `let' binding rather than `setq'. Otherwise, looks good.

>    (lexical-let
>        ((completions
>  	(append (list "folder:" "path:" "thread:" "id:" "date:" "from:" "to:"
>  		      "subject:" "attachment:")
> -		(mapcar (lambda (tag)
> -			  (concat "tag:" (notmuch-escape-boolean-term tag)))
> -			(process-lines notmuch-command "search" "--output=tags" "*")))))
> +		(mapcar (lambda (tag) (concat "tag:" tag)) all-tags)
> +		(mapcar (lambda (tag) (concat "is:" tag)) all-tags))))
>      (let ((keymap (copy-keymap minibuffer-local-map))
>  	  (current-query (case major-mode
>  			   (notmuch-search-mode (notmuch-search-get-query))
> -- 
> 2.1.2
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] emacs: Added "is:<tag>" style completion to notmuch-read-query.
  2014-11-29  7:53 ` David Edmondson
@ 2014-11-29  8:06   ` David Bremner
  2014-11-29 16:40     ` Charles Celerier
  0 siblings, 1 reply; 13+ messages in thread
From: David Bremner @ 2014-11-29  8:06 UTC (permalink / raw)
  To: David Edmondson, Charles Celerier, notmuch

David Edmondson <dme@dme.org> writes:

> On Sat, Nov 29 2014, Charles Celerier wrote:

>
> Should use a `let' binding rather than `setq'. Otherwise, looks good.
>
>>    (lexical-let
>>        ((completions
>>  	(append (list "folder:" "path:" "thread:" "id:" "date:" "f

What about using lexical-let*  to combine the two binding forms?

d

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH v2] emacs: Added "is:<tag>" style completion to notmuch-read-query.
  2014-11-29  0:10 [PATCH] emacs: Added "is:<tag>" style completion to notmuch-read-query Charles Celerier
  2014-11-29  7:53 ` David Edmondson
@ 2014-11-29 16:39 ` Charles Celerier
  2014-12-01  6:38   ` David Edmondson
  1 sibling, 1 reply; 13+ messages in thread
From: Charles Celerier @ 2014-11-29 16:39 UTC (permalink / raw)
  To: Notmuch Mail

The notmuch-search-terms man page states that "tag:<tag>" is equivalent
to "is:<tag>". Completion for "is:<tag>" style searches is now supported
in the Emacs interface.

Signed-off-by: Charles Celerier <cceleri@cs.stanford.edu>
---
 emacs/notmuch.el | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 218486a..d29499c 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -856,12 +856,15 @@ See `notmuch-tag' for information on the format of TAG-CHANGES."
 
 PROMPT is the string to prompt with."
   (lexical-let
+    (( all-tags
+        (mapcar (lambda (tag) (notmuch-escape-boolean-term tag))
+                (process-lines notmuch-command "search" "--output=tags" "*"))))
+  (let
       ((completions
 	(append (list "folder:" "path:" "thread:" "id:" "date:" "from:" "to:"
 		      "subject:" "attachment:")
-		(mapcar (lambda (tag)
-			  (concat "tag:" (notmuch-escape-boolean-term tag)))
-			(process-lines notmuch-command "search" "--output=tags" "*")))))
+		(mapcar (lambda (tag) (concat "tag:" tag)) all-tags)
+		(mapcar (lambda (tag) (concat "is:" tag)) all-tags))))
     (let ((keymap (copy-keymap minibuffer-local-map))
 	  (current-query (case major-mode
 			   (notmuch-search-mode (notmuch-search-get-query))
@@ -884,7 +887,7 @@ PROMPT is the string to prompt with."
       (define-key keymap (kbd "TAB") 'minibuffer-complete)
       (let ((history-delete-duplicates t))
 	(read-from-minibuffer prompt nil keymap nil
-			      'notmuch-search-history current-query nil)))))
+			      'notmuch-search-history current-query nil))))))
 
 (defun notmuch-search-get-query ()
   "Return the current query in this search buffer"
-- 
2.1.2

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [PATCH] emacs: Added "is:<tag>" style completion to notmuch-read-query.
  2014-11-29  8:06   ` David Bremner
@ 2014-11-29 16:40     ` Charles Celerier
  0 siblings, 0 replies; 13+ messages in thread
From: Charles Celerier @ 2014-11-29 16:40 UTC (permalink / raw)
  To: David Bremner, David Edmondson, notmuch

[-- Attachment #1: Type: text/plain, Size: 556 bytes --]

Just updated the patch to use lexical-let as suggested. I'm not too
familiar with emacs-lisp, so please tell me if you had something else in
mind.

charles

David Bremner <david@tethera.net> writes:

> David Edmondson <dme@dme.org> writes:
>
>> On Sat, Nov 29 2014, Charles Celerier wrote:
>
>>
>> Should use a `let' binding rather than `setq'. Otherwise, looks good.
>>
>>>    (lexical-let
>>>        ((completions
>>>  	(append (list "folder:" "path:" "thread:" "id:" "date:" "f
>
> What about using lexical-let*  to combine the two binding forms?
>
> d

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 480 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH v2] emacs: Added "is:<tag>" style completion to notmuch-read-query.
  2014-11-29 16:39 ` [PATCH v2] " Charles Celerier
@ 2014-12-01  6:38   ` David Edmondson
  2014-12-01 17:01     ` Charles Celerier
  0 siblings, 1 reply; 13+ messages in thread
From: David Edmondson @ 2014-12-01  6:38 UTC (permalink / raw)
  To: Charles Celerier, Notmuch Mail

On Sat, Nov 29 2014, Charles Celerier wrote:
> The notmuch-search-terms man page states that "tag:<tag>" is equivalent
> to "is:<tag>". Completion for "is:<tag>" style searches is now supported
> in the Emacs interface.
>
> Signed-off-by: Charles Celerier <cceleri@cs.stanford.edu>
> ---
>  emacs/notmuch.el | 11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)
>
> diff --git a/emacs/notmuch.el b/emacs/notmuch.el
> index 218486a..d29499c 100644
> --- a/emacs/notmuch.el
> +++ b/emacs/notmuch.el
> @@ -856,12 +856,15 @@ See `notmuch-tag' for information on the format of TAG-CHANGES."
>  
>  PROMPT is the string to prompt with."
>    (lexical-let
> +    (( all-tags
> +        (mapcar (lambda (tag) (notmuch-escape-boolean-term tag))
> +                (process-lines notmuch-command "search" "--output=tags" "*"))))
> +  (let

I think that David's suggestion was that you would have only one `let'
form, so something like:

 (lexical-let*
   ((all-tags (mapcar ...))
    (completions (append ...))
    (keymap (copy-keymap ...))
    (current-query ...))
     ...)

>        ((completions
>  	(append (list "folder:" "path:" "thread:" "id:" "date:" "from:" "to:"
>  		      "subject:" "attachment:")
> -		(mapcar (lambda (tag)
> -			  (concat "tag:" (notmuch-escape-boolean-term tag)))
> -			(process-lines notmuch-command "search" "--output=tags" "*")))))
> +		(mapcar (lambda (tag) (concat "tag:" tag)) all-tags)
> +		(mapcar (lambda (tag) (concat "is:" tag)) all-tags))))
>      (let ((keymap (copy-keymap minibuffer-local-map))
>  	  (current-query (case major-mode
>  			   (notmuch-search-mode (notmuch-search-get-query))
> @@ -884,7 +887,7 @@ PROMPT is the string to prompt with."
>        (define-key keymap (kbd "TAB") 'minibuffer-complete)
>        (let ((history-delete-duplicates t))
>  	(read-from-minibuffer prompt nil keymap nil
> -			      'notmuch-search-history current-query nil)))))
> +			      'notmuch-search-history current-query nil))))))
>  
>  (defun notmuch-search-get-query ()
>    "Return the current query in this search buffer"
> -- 
> 2.1.2
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH v2] emacs: Added "is:<tag>" style completion to notmuch-read-query.
  2014-12-01  6:38   ` David Edmondson
@ 2014-12-01 17:01     ` Charles Celerier
  2014-12-01 17:58       ` Lele Gaifax
  2014-12-01 18:04       ` David Bremner
  0 siblings, 2 replies; 13+ messages in thread
From: Charles Celerier @ 2014-12-01 17:01 UTC (permalink / raw)
  To: David Edmondson, Notmuch Mail

[-- Attachment #1: Type: text/plain, Size: 2643 bytes --]

Can the variables in the varlist depend on the definition of variables
that precede them in the list? I believe I tried your suggestion, but
quickly gave up as Emacs gave me an error claiming that all-tags was
void.

charles

David Edmondson <dme@dme.org> writes:

> On Sat, Nov 29 2014, Charles Celerier wrote:
>> The notmuch-search-terms man page states that "tag:<tag>" is equivalent
>> to "is:<tag>". Completion for "is:<tag>" style searches is now supported
>> in the Emacs interface.
>>
>> Signed-off-by: Charles Celerier <cceleri@cs.stanford.edu>
>> ---
>>  emacs/notmuch.el | 11 +++++++----
>>  1 file changed, 7 insertions(+), 4 deletions(-)
>>
>> diff --git a/emacs/notmuch.el b/emacs/notmuch.el
>> index 218486a..d29499c 100644
>> --- a/emacs/notmuch.el
>> +++ b/emacs/notmuch.el
>> @@ -856,12 +856,15 @@ See `notmuch-tag' for information on the format of TAG-CHANGES."
>>  
>>  PROMPT is the string to prompt with."
>>    (lexical-let
>> +    (( all-tags
>> +        (mapcar (lambda (tag) (notmuch-escape-boolean-term tag))
>> +                (process-lines notmuch-command "search" "--output=tags" "*"))))
>> +  (let
>
> I think that David's suggestion was that you would have only one `let'
> form, so something like:
>
>  (lexical-let*
>    ((all-tags (mapcar ...))
>     (completions (append ...))
>     (keymap (copy-keymap ...))
>     (current-query ...))
>      ...)
>
>>        ((completions
>>  	(append (list "folder:" "path:" "thread:" "id:" "date:" "from:" "to:"
>>  		      "subject:" "attachment:")
>> -		(mapcar (lambda (tag)
>> -			  (concat "tag:" (notmuch-escape-boolean-term tag)))
>> -			(process-lines notmuch-command "search" "--output=tags" "*")))))
>> +		(mapcar (lambda (tag) (concat "tag:" tag)) all-tags)
>> +		(mapcar (lambda (tag) (concat "is:" tag)) all-tags))))
>>      (let ((keymap (copy-keymap minibuffer-local-map))
>>  	  (current-query (case major-mode
>>  			   (notmuch-search-mode (notmuch-search-get-query))
>> @@ -884,7 +887,7 @@ PROMPT is the string to prompt with."
>>        (define-key keymap (kbd "TAB") 'minibuffer-complete)
>>        (let ((history-delete-duplicates t))
>>  	(read-from-minibuffer prompt nil keymap nil
>> -			      'notmuch-search-history current-query nil)))))
>> +			      'notmuch-search-history current-query nil))))))
>>  
>>  (defun notmuch-search-get-query ()
>>    "Return the current query in this search buffer"
>> -- 
>> 2.1.2
>>
>> _______________________________________________
>> notmuch mailing list
>> notmuch@notmuchmail.org
>> http://notmuchmail.org/mailman/listinfo/notmuch

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 480 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH v2] emacs: Added "is:<tag>" style completion to notmuch-read-query.
  2014-12-01 17:01     ` Charles Celerier
@ 2014-12-01 17:58       ` Lele Gaifax
  2014-12-01 18:04       ` David Bremner
  1 sibling, 0 replies; 13+ messages in thread
From: Lele Gaifax @ 2014-12-01 17:58 UTC (permalink / raw)
  To: notmuch

Charles Celerier <cceleri@cs.stanford.edu>
writes:

> Can the variables in the varlist depend on the definition of variables
> that precede them in the list? I believe I tried your suggestion, but
> quickly gave up as Emacs gave me an error claiming that all-tags was
> void.

Yes, with the let*/lexical-let* variants of let/lexical-let. This is
stated in the let* documentation (that is, C-h f let* RET).

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH v2] emacs: Added "is:<tag>" style completion to notmuch-read-query.
  2014-12-01 17:01     ` Charles Celerier
  2014-12-01 17:58       ` Lele Gaifax
@ 2014-12-01 18:04       ` David Bremner
  2014-12-01 19:05         ` Charles Celerier
  1 sibling, 1 reply; 13+ messages in thread
From: David Bremner @ 2014-12-01 18:04 UTC (permalink / raw)
  To: Charles Celerier, David Edmondson, Notmuch Mail

Charles Celerier <cceleri@cs.stanford.edu> writes:

> Can the variables in the varlist depend on the definition of variables
> that precede them in the list? I believe I tried your suggestion, but
> quickly gave up as Emacs gave me an error claiming that all-tags was
> void.

That's the point of lexical-let* vs lexical-let

d

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH v2] emacs: Added "is:<tag>" style completion to notmuch-read-query.
  2014-12-01 18:04       ` David Bremner
@ 2014-12-01 19:05         ` Charles Celerier
  2014-12-27  9:18           ` [PATCH] " David Bremner
  0 siblings, 1 reply; 13+ messages in thread
From: Charles Celerier @ 2014-12-01 19:05 UTC (permalink / raw)
  To: David Bremner, David Edmondson, Notmuch Mail

[-- Attachment #1: Type: text/plain, Size: 768 bytes --]

I see now. I tried using lexical-let*, but now it appears that pulling
the assignment of minibuffer-completion-table into the lexical-let*
breaks the function, while pulling all the other assigments in works
fine. I'm not sure why that happens. I am not a very skilled emacs-lisp
programmer, so I am afraid something funny is happening here that is
beyond my understanding.

charles

David Bremner <david@tethera.net> writes:

> Charles Celerier <cceleri@cs.stanford.edu> writes:
>
>> Can the variables in the varlist depend on the definition of variables
>> that precede them in the list? I believe I tried your suggestion, but
>> quickly gave up as Emacs gave me an error claiming that all-tags was
>> void.
>
> That's the point of lexical-let* vs lexical-let
>
> d

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 480 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH] emacs: Added "is:<tag>" style completion to notmuch-read-query.
  2014-12-01 19:05         ` Charles Celerier
@ 2014-12-27  9:18           ` David Bremner
  2015-04-05 15:48             ` Mark Walters
  2015-05-31 17:14             ` David Bremner
  0 siblings, 2 replies; 13+ messages in thread
From: David Bremner @ 2014-12-27  9:18 UTC (permalink / raw)
  To: notmuch

From: Charles Celerier <cceleri@cs.stanford.edu>

The notmuch-search-terms man page states that "tag:<tag>" is equivalent
to "is:<tag>". Completion for "is:<tag>" style searches is now supported
in the Emacs interface.

Amended by David Bremner: combine lexical-let and let into
lexical-let*
---
 emacs/notmuch.el | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 218486a..1b6971e 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -855,13 +855,15 @@ See `notmuch-tag' for information on the format of TAG-CHANGES."
   "Read a notmuch-query from the minibuffer with completion.
 
 PROMPT is the string to prompt with."
-  (lexical-let
-      ((completions
-	(append (list "folder:" "path:" "thread:" "id:" "date:" "from:" "to:"
-		      "subject:" "attachment:")
-		(mapcar (lambda (tag)
-			  (concat "tag:" (notmuch-escape-boolean-term tag)))
-			(process-lines notmuch-command "search" "--output=tags" "*")))))
+  (lexical-let*
+      ((all-tags
+        (mapcar (lambda (tag) (notmuch-escape-boolean-term tag))
+                (process-lines notmuch-command "search" "--output=tags" "*")))
+       (completions
+	 (append (list "folder:" "path:" "thread:" "id:" "date:" "from:" "to:"
+		       "subject:" "attachment:")
+		 (mapcar (lambda (tag) (concat "tag:" tag)) all-tags)
+		 (mapcar (lambda (tag) (concat "is:" tag)) all-tags))))
     (let ((keymap (copy-keymap minibuffer-local-map))
 	  (current-query (case major-mode
 			   (notmuch-search-mode (notmuch-search-get-query))
-- 
2.1.3

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [PATCH] emacs: Added "is:<tag>" style completion to notmuch-read-query.
  2014-12-27  9:18           ` [PATCH] " David Bremner
@ 2015-04-05 15:48             ` Mark Walters
  2015-05-31 17:14             ` David Bremner
  1 sibling, 0 replies; 13+ messages in thread
From: Mark Walters @ 2015-04-05 15:48 UTC (permalink / raw)
  To: David Bremner, notmuch


Hi

> From: Charles Celerier <cceleri@cs.stanford.edu>
>
> The notmuch-search-terms man page states that "tag:<tag>" is equivalent
> to "is:<tag>". Completion for "is:<tag>" style searches is now supported
> in the Emacs interface.
>
> Amended by David Bremner: combine lexical-let and let into
> lexical-let*

This version looks good to me; it works and passes all tests. +1

Note it does not apply to master but only needs a tiny fixup (see below)

Best wishes

Mark

> ---
>  emacs/notmuch.el | 16 +++++++++-------
>  1 file changed, 9 insertions(+), 7 deletions(-)
>
> diff --git a/emacs/notmuch.el b/emacs/notmuch.el
> index 218486a..1b6971e 100644
> --- a/emacs/notmuch.el
> +++ b/emacs/notmuch.el
> @@ -855,13 +855,15 @@ See `notmuch-tag' for information on the format of TAG-CHANGES."
>    "Read a notmuch-query from the minibuffer with completion.
>  
>  PROMPT is the string to prompt with."
> -  (lexical-let
> -      ((completions
> -	(append (list "folder:" "path:" "thread:" "id:" "date:" "from:" "to:"
> -		      "subject:" "attachment:")
                                        
^ this line now has a "mimetype:" final option

> -		(mapcar (lambda (tag)
> -			  (concat "tag:" (notmuch-escape-boolean-term tag)))
> -			(process-lines notmuch-command "search" "--output=tags" "*")))))
> +  (lexical-let*
> +      ((all-tags
> +        (mapcar (lambda (tag) (notmuch-escape-boolean-term tag))
> +                (process-lines notmuch-command "search" "--output=tags" "*")))
> +       (completions
> +	 (append (list "folder:" "path:" "thread:" "id:" "date:" "from:" "to:"
> +		       "subject:" "attachment:")
> +		 (mapcar (lambda (tag) (concat "tag:" tag)) all-tags)
> +		 (mapcar (lambda (tag) (concat "is:" tag)) all-tags))))
>      (let ((keymap (copy-keymap minibuffer-local-map))
>  	  (current-query (case major-mode
>  			   (notmuch-search-mode (notmuch-search-get-query))
> -- 
> 2.1.3
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH] emacs: Added "is:<tag>" style completion to notmuch-read-query.
  2014-12-27  9:18           ` [PATCH] " David Bremner
  2015-04-05 15:48             ` Mark Walters
@ 2015-05-31 17:14             ` David Bremner
  1 sibling, 0 replies; 13+ messages in thread
From: David Bremner @ 2015-05-31 17:14 UTC (permalink / raw)
  To: notmuch

David Bremner <david@tethera.net> writes:

> From: Charles Celerier <cceleri@cs.stanford.edu>
>
> The notmuch-search-terms man page states that "tag:<tag>" is equivalent
> to "is:<tag>". Completion for "is:<tag>" style searches is now supported
> in the Emacs interface.
>
> Amended by David Bremner: combine lexical-let and let into
> lexical-let*

Pushed. I had to resolve conflicts by hand, which is why I didn't merge
it for 0.20.

d

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-05-31 17:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-29  0:10 [PATCH] emacs: Added "is:<tag>" style completion to notmuch-read-query Charles Celerier
2014-11-29  7:53 ` David Edmondson
2014-11-29  8:06   ` David Bremner
2014-11-29 16:40     ` Charles Celerier
2014-11-29 16:39 ` [PATCH v2] " Charles Celerier
2014-12-01  6:38   ` David Edmondson
2014-12-01 17:01     ` Charles Celerier
2014-12-01 17:58       ` Lele Gaifax
2014-12-01 18:04       ` David Bremner
2014-12-01 19:05         ` Charles Celerier
2014-12-27  9:18           ` [PATCH] " David Bremner
2015-04-05 15:48             ` Mark Walters
2015-05-31 17:14             ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).