Going GUI...er

Fred Smith fredex at fcshome.stoneham.ma.us
Sun Apr 5 20:43:20 UTC 2020


On Sun, Apr 05, 2020 at 12:45:09PM -0700, Felix Finch wrote:
> On 20200405, Akkana Peck wrote:
> >Is there any way to configure mutt to alert me at the top of the
> >message if there are any text/calendar or image/* attachments
> >anywhere in the message, even as part of a multipart/alternative?
> >I feel like I miss a lot in mail messages because mutt doesn't tell
> >me about attachments.
> 
> I wonder if the number of attachments could be shown in the index?

I don't know about the number, but it IS possible to show a flag
in the index indicating the presence of one or more attachments...

I set mine that way, but don't remember how. I'll take a quick
gander at my muttrc and maybe it'll jump out at me...

	# the default format
	#set index_format="%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s"
	# this one shows attachments
	#set index_format="%4C %Z %{%b %d} %-15.15L %?X?{%2X}&%4c? %s"
	set index_format="%4C %Z %{%b %d} %-20.20L %?X?^&%4c? %s"

OK, that last one is what sets the attachment indicator. Looks like
it is the "^&" out near the end.

Prolly a good idea to look it up in the mutt doc before butchering
yours, though.

Fred

-- 
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
  "For him who is able to keep you from falling and to present you before his 
 glorious presence without fault and with great joy--to the only God our Savior
 be glory, majesty, power and authority, through Jesus Christ our Lord, before
                     all ages, now and forevermore! Amen."
----------------------------- Jude 1:24,25 (niv) -----------------------------


More information about the Mutt-users mailing list