Re: notmuch-tag failing on trailing space

2021-08-16 Thread Tomi Ollila
On Mon, Aug 16 2021, David Edmondson wrote: > On Monday, 2021-08-16 at 08:17:56 -07, David Bremner wrote: > >> Alan Schmitt writes: >> >>> >>> #+begin_src emacs-lisp >>> (defun trim-tag-changes (args) >>> (list (car args) (mapcar #'s-trim-right (cadr args >>> (advice-add 'notmuch-tag

Re: notmuch-tag failing on trailing space

2021-08-16 Thread David Bremner
Alan Schmitt writes: > > #+begin_src emacs-lisp > (defun trim-tag-changes (args) > (list (car args) (mapcar #'s-trim-right (cadr args > (advice-add 'notmuch-tag :filter-args #'trim-tag-changes) > #+end_src > > Could it be integrated directly in the notmuch-tag function? > That partic

Re: notmuch-tag failing on trailing space

2021-08-16 Thread Alan Schmitt
Hello, On 2021-07-27 10:24, alan.schm...@polytechnique.org writes: > I have an issue when using the vertico completion system to add tags to > messages that boils down to the following: the notmuch-tag function is > called like this: > notmuch-tag("id:CA+b3G33ad9PX5SuOwqaWS8TWBTtZcdguKtcQ3XmPvz

Re: notmuch-tag failing on trailing space

2021-07-27 Thread Tomi Ollila
On Tue, Jul 27 2021, alan schmitt wrote: > Hello, > > I have an issue when using the vertico completion system to add tags to > messages that boils down to the following: the notmuch-tag function is > called like this: > notmuch-tag("id:CA+b3G33ad9PX5SuOwqaWS8TWBTtZcdguKtcQ3XmPvzSCsU..." ("+cwn