Re: ~l pattern

2001-09-26 Thread René Clerc

* Michael Tatge [25-09-2001 17:40]:
| René Clerc muttered:

|  Probably. There are many workarounds. But I want the ~l option to
|  work, because I believe it's designed for this issue ;)
| 
| ~l  message is addressed to a known mailing list

Perhaps this is the clue; a ~l pattern in combination with a folder-hook
doesn't make very much sense... But it still doesn't explain why Sven
puts it on his website... :(

| Sven is probably using a patch.

I emailed him, but no response. Does anybody else use the ~l pattern
in combination with a folder-hook?

-- 
René Clerc  - ([EMAIL PROTECTED])

Love just makes you so damn optimistic.



~l pattern

2001-09-25 Thread René Clerc

Hi all,

I want to do some specific colorizing when I'm viewing mailing lists.
(I encountered some examples from Sven Guckes)

Unforunately, things don't work the way I think they should work.

== color definitions

# ~/.mutt/list-colors
color index brightblueblack ~h 'In-Reply-To: .*clerc\.nl'
color index brightblueblack ~x '.*clerc\.nl'
color index brightyellow  black ~P

# ~/.mutt/unlist-colors
color index white   black ~h 'In-Reply-To: .*clerc\.nl'
color index white   black ~x '.*clerc\.nl'
color index white   black ~P

== file with the problems in it ;)

# ~/.muttrc
subscribe mutt
lists mutt

[...]

folder-hook .  source ~/.mutt/unlist-colors
folder-hook ~l source ~/.mutt/list-colors


The problem lies with the ~l : if I replace this with =mutt (where
procmail dumps all these mails) it works fine. Do I have to tell mutt
somehow that =mutt is a folder where mailing list mails are dumped in?

TIA,

-- 
René Clerc  - ([EMAIL PROTECTED])

Friends will keep you sane, Love could fill your heart, A lover can warm
your bed, But lonely is the soul without a mate.
-David Pratt on alt.soulmates

 PGP signature


Re: ~l pattern

2001-09-25 Thread Michael Tatge

René Clerc muttered:
 I want to do some specific colorizing when I'm viewing mailing lists.
 Unforunately, things don't work the way I think they should work.

Shit happens. :)

 == color definitions
 
 # ~/.mutt/list-colors
 color index brightblueblack ~h 'In-Reply-To: .*clerc\.nl'
 color index brightblueblack ~x '.*clerc\.nl'
 color index brightyellow  black ~P
 
 # ~/.mutt/unlist-colors
 color index white   black ~h 'In-Reply-To: .*clerc\.nl'
 color index white   black ~x '.*clerc\.nl'
 color index white   black ~P
 
 == file with the problems in it ;)
 
 # ~/.muttrc
 subscribe mutt
 lists mutt
 
 folder-hook .  source ~/.mutt/unlist-colors
 folder-hook ~l source ~/.mutt/list-colors

The ~l pattern does not cover the folder you save mailing list messages
in. And there is no folder ~l I suppose.

 Do I have to tell mutt somehow that =mutt is a folder where mailing
 list mails are dumped in?

Well, yes. Shell vars maybe of help here.

HTH,

Michael
-- 
On the Internet, no one knows you're using Windows NT
(Submitted by Ramiro Estrugo, [EMAIL PROTECTED])

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: ~l pattern

2001-09-25 Thread René Clerc

* Michael Tatge [EMAIL PROTECTED] [25-09-2001 17:03]:

|  folder-hook .  source ~/.mutt/unlist-colors
|  folder-hook ~l source ~/.mutt/list-colors
| 
| The ~l pattern does not cover the folder you save mailing list messages
| in. And there is no folder ~l I suppose.

Indeed, there is no such folder. But Sven put this on his page
(http://www.math.fu-berlin.de/~guckes/setup/mutt.personal):

# Mailing Lists
# show part of the index when looking at mailings lists:
  folder-hook ~l   set pager_index_lines=10
  folder-hook ~l   set read_inc=50

I tried these commands as well, changed

lists mutt to lists mutt-users just like Sven, but still no happy
happy joy joy... :(

|  Do I have to tell mutt somehow that =mutt is a folder where mailing
|  list mails are dumped in?
| 
| Well, yes. Shell vars maybe of help here.

Probably. There are many workarounds. But I want the ~l option to
work, because I believe it's designed for this issue ;)

-- 
René Clerc  - ([EMAIL PROTECTED])

Like I said, love wouldn't be so blind if the braille weren't so damned great!
-Armistead Maupin



Re: ~l pattern

2001-09-25 Thread Michael Tatge

René Clerc muttered:
 * Michael Tatge [EMAIL PROTECTED] [25-09-2001 17:03]:
 | Well, yes. Shell vars maybe of help here.
 
 Probably. There are many workarounds. But I want the ~l option to
 work, because I believe it's designed for this issue ;)

~l  message is addressed to a known mailing list
Sven is probably using a patch.

HTH,

Michael
-- 
Problem solving under linux has never been the circus that it is under
AIX.
(By Pete Ehlke in comp.unix.aix)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key