On 28Jul2020 13:27, Kevin J. McCarthy <ke...@8t8.us> wrote:
>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'

I have not.. Might be expensive. I'll see how that goes. Thanks!

I suppose my imagined solution is either "raw" forms of %n or %F which 
ignore $reverse_alias (hmm, _only_ $reverse_alias? you can see this is a 
can of worms) or some kind of index-message-hook which fires per index 
line, letting me toggle various settings. They're both clunky and I'd 
probably oppose unrefined forms of them if someone else raised a PR :-(

Cheers,
Cameron Simpson <c...@cskk.id.au>

Reply via email to