On Tue, Jul 28, 2020 at 12:52:02PM +1000, Cameron Simpson wrote:
What I would rather do is keep the full name in my alias, but have some
kind of $index_format format string which accesses the "raw" full name
from the message header instead of the name from $reverse_alias.

Is this possible, one way or another?

I don't know if this helps, but have you tried a format pipe *just* in one of the index-format-hook with %f and using the script to extract the name part of the full address?

    set index_format="%D %@from_part@ %S %?M?(%M) ?%?H?[%H] ?%s%* %?y?  y? %4c"
    index-format-hook from_part '%f polyname' "~/bin/extractname '%f'|"
    index-format-hook from_part ~A '%-15.15F'

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to