[PATCH] quoting message-IDs for the shell

David A Benjamin davidben at MIT.EDU
Sat May 29 11:01:49 PDT 2010


On Fri, 28 May 2010, Christopher League wrote:

> @@ -915,7 +919,7 @@ to stdout or stderr will appear in the *Messages* buffer."
>   (apply 'notmuch-call-notmuch-process
> 	 (append (cons "tag"
> 		       (mapcar (lambda (s) (concat "+" s)) toadd))
> -		 (cons (notmuch-show-get-message-id) nil)))
> +		 (cons (notmuch-show-quoted-message-id) nil)))
>   (notmuch-show-set-tags (sort (union toadd (notmuch-show-get-tags) :test 'string=) 'string<)))
>
> (defun notmuch-show-remove-tag (&rest toremove)
> @@ -929,7 +933,7 @@ to stdout or stderr will appear in the *Messages* buffer."
> 	  (apply 'notmuch-call-notmuch-process
> 		 (append (cons "tag"
> 			       (mapcar (lambda (s) (concat "-" s)) toremove))
> -			 (cons (notmuch-show-get-message-id) nil)))
> +			 (cons (notmuch-show-quoted-message-id) nil)))
> 	  (notmuch-show-set-tags (sort (set-difference tags toremove :test 'string=) 'string<))))))
>

Hrm. Are you sure? notmuch-call-notmuch-process is implemented using 
call-process, which doesn't seem to invoke the shell.

David Benjamin


More information about the notmuch mailing list