bypassing $reverse_alias in $index_format
Kevin J. McCarthy
kevin at 8t8.us
Tue Jul 28 20:27:51 UTC 2020
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20200728/070f71fb/attachment.asc>
More information about the Mutt-users
mailing list