Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Customizing index

12 views
Skip to first unread message

Rui Pedro Mendes Salgueiro

unread,
Oct 2, 2009, 9:32:54 AM10/2/09
to
Hello.

I tried to google for this question (and I found the mutt FAQ) but
I was unable to find an answer.

I would like to customize the way messages are listed in a folder,
in particular, the way the Date is shown. For instance, one of my
folders has:

5 O Oct 02 News system (2,4K) news suck aioe.org
7 O Oct 02 News system (6,9K) news suck aioe.org
9 O Oct 01 News system (2,7K) news suck aioe.org

As you can see, only the month and day are shown. Neither the hour:minute
nor the year are show. Currently I am using a 135-column wide xterm, so
I would have space to show the full date. IIRC, other mail clients behave
differently depending if a message is recent (show only the hour:minute)
or old (show the date, but not the hour:minute).

I was expecting mutt to be configurable (maybe a format string
like many programs use) but I could not find such an option.
I suppose it can't be done ?

Another thing: I noticed that there are ways to use colours in the mutt
display (I found some examples of things like showing the messages from
a particular address in a different colour). But it seems that there is
not a default colour mode (say: show the messages in different colours,
depending on its flags (N, O, etc.)). Correct ?

Thanks in advance.

--
http://www.mat.uc.pt/~rps/

.pt is Portugal| `Whom the gods love die young'-Menander (342-292 BC)
Europe | Villeneuve 50-82, Toivonen 56-86, Senna 60-94

Helmut Springer

unread,
Oct 2, 2009, 9:42:33 AM10/2/09
to
Rui Pedro Mendes Salgueiro <r...@koala.mat.uc.pt> wrote:
> I tried to google for this question (and I found the mutt FAQ) but
> I was unable to find an answer.

man muttrc

See the sections on index_format and date_format.

You won't be able to have different settings by age though.

--
MfG/Best regards
helmut springer panta rhei

Rui Pedro Mendes Salgueiro

unread,
Oct 2, 2009, 10:36:32 AM10/2/09
to
Helmut Springer <delta+...@lug-s.org> wrote:
> Rui Pedro Mendes Salgueiro <r...@koala.mat.uc.pt> wrote:
> > I tried to google for this question (and I found the mutt FAQ) but
> > I was unable to find an answer.

> man muttrc

> See the sections on index_format and date_format.

> You won't be able to have different settings by age though.

Thanks, that was I was looking for.

Christian Brabandt

unread,
Oct 12, 2009, 6:33:00 AM10/12/09
to
On 2009-10-02, Helmut Springer <delta+...@lug-s.org> wrote:
> See the sections on index_format and date_format.
>
> You won't be able to have different settings by age though.


Sure you can. The trick is to use a script. See MID
<4ab1055d$0$32675$9b4e...@newsspool2.arcor-online.net>� for an example.

regards,
Christian
�) The posting is in German, but the script should be understandable
anyhow.
--
:wq

Michael Wagner

unread,
Oct 21, 2009, 10:19:03 AM10/21/09
to
* 12.10.2009 Christian Brabandt <cb-...@256bit.org> wrote:
> On 2009-10-02, Helmut Springer <delta+...@lug-s.org> wrote:
>> See the sections on index_format and date_format.
>>
>> You won't be able to have different settings by age though.
>
>
> Sure you can. The trick is to use a script. See MID
><4ab1055d$0$32675$9b4e...@newsspool2.arcor-online.net>� for an example.

Hello Christian,

thank you for sharing this script. I adapted it to my needs and it works
like a charm.

Thx Michael

--
Death is just God's way of dropping carrier.

0 new messages