Quoth Gary Johnson on Tuesday, 08 November 2011: > On 2011-11-08, Gregor Zattler wrote: > > Hi stardiviner, > > * stardiviner [08. Nov. 2011]: > > > => On [2011-11-08 11:40:18 +0100]: > > >> * stardiviner [08. Nov. 2011]: > > >>> Is there other way to set different *index_format* for mails ? > > >> > > >> index_format describes the format of your index which shows > > >> (normally) several emails at once while message-hook deals with > > >> individual emails. What should your index look like if there are > > >> different emails for which you want to have different > > >> index_formats? > > >> > > > So it is impossible to set different index_format for messages ? > > > > It's not possible to change the index format for individual > > emails in the index but you can colour different email entries > > differently. > > You can also use conditional elements in index_format that will > print different pieces of information depending on the values of > other pieces of information. This is explained in the mutt manual > in the "Conditionals" section. > > As an example, I have this string as part of my index_format. > > %?X?*& ? > > If the number of attachments (X) is non-zero, "*" is inserted. > Otherwise, " " is inserted. > > Regards, > Gary
That doesn't seem to work for me (it always prints the *). What versions support it? I'm on 1.4.2.3i (FreeBSD ports version). -- .O. | Sterling (Chip) Camden | http://camdensoftware.com ..O | [email protected] | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com
pgpwwjA6GjOvN.pgp
Description: PGP signature
