[Pkg-zsh-devel] Bug#941214: mutt zsh completion broken, -a does not take email address

David Bremner david at tethera.net
Sun Dec 26 11:54:35 GMT 2021


David Bremner <david at tethera.net> writes:

> martin f krafft <madduck at debian.org> writes:
>
>> Package: notmuch
>> Version: 0.29.1-2
>> Severity: normal
>> File: /usr/share/zsh/vendor-completions/_email-notmuch
>>
>> mutt has a command-line switch '-a' for attachments, and the Zsh 
>> completer offers files and directories for its argument.
>>
>> As of late, _email-notmuch also adds all addresses into the mix:
>>
>> % mutt -a ^D
>> directory
>> […]
>> file attachment
>> […]
>> email address (notmuch)
>> […]
>>
>>
>> In the context of '-a', no email addresses should be offered. Maybe 
>> this is actually a problem with Zsh or Mutt, I can't figure it out. 
>> But since I see mainly notmuch in the output, I am filing here…
>
> As far as I can tell, the whole point of _email-notmuch is to provide
> addresses, so maybe it shouldn't be called there? To me that suggests
> the bug should be reassigned to mutt. I am CCing the mutt maintainers,
> in case they want to weigh in.
>
> d

My mistake, the mutt completion is actually shipped by zsh. I've
attached _email-notmuch (installed by package notmuch) for feedback. If
something looks wrong with it, please let me know. Otherwise I think I
should reassign this bug to zsh, where it can at least get some more
expert consideration.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: _email-notmuch
Type: application/octet-stream
Size: 239 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-zsh-devel/attachments/20211226/866087ea/attachment.obj>


More information about the Pkg-zsh-devel mailing list