[martin f krafft] Bug#941213: Completer should use "Full Name <em@il.address>"

Subject: [martin f krafft] Bug#941213: Completer should use "Full Name <em@il.address>"

Date: Thu, 26 Sep 2019 14:41:38 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


Package: notmuch
Version: 0.29.1-2
Severity: wishlist
File: /usr/share/zsh/vendor-completions/_email-notmuch

Completing email addresses with Zsh and notmuch is amazing!

% mutt martin.krafft<tab>
email address (notmuch)
martin.krafft@example.org
[…]

In /usr/share/zsh/vendor-completions/_email-notmuch, the following 
call retrieves the full list of addresses:

  local -a notmuch_addr
  notmuch_addr=( ${(f)"$(notmuch address --deduplicate=address \
    --output=address -- from:/$PREFIX/)"} )

which populates the array like so:

  Martin Krafft <martin.krafft@example.org>
  Martin Krafft <martin.krafft@example.com>

However, the completion output, as well as the completion output 
only have the email address, not the full name.

Please add the full name to the outputs.

-- 
System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages notmuch depends on:
ii  libc6           2.29-1
ii  libglib2.0-0    2.60.6-2
ii  libgmime-3.0-0  3.2.1-1
ii  libnotmuch5     0.29.1-2
ii  libtalloc2      2.3.0-2
ii  zlib1g          1:1.2.11.dfsg-1+b1

Versions of packages notmuch recommends:
ii  gnupg-agent              2.2.17-3
ii  gpg-agent [gnupg-agent]  2.2.17-3
ii  gpgsm                    2.2.17-3
ii  notmuch-mutt             0.29.1-2
ii  notmuch-vim              0.29.1-2

notmuch suggests no packages.

-- 
no debconf information


-- 
 .''`.   martin f. krafft <madduck@d.o> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc (application/pgp-signature)
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: