Mutt 1.5.17 and sidebar patch

2007-11-11 Thread Stephan Seitz

Hi!

I'm using mutt 1.5.17 together with the sidebar patch. Now I'm wondering how to 
user index_author and index_subject.

The command color index_subject red black . will colour all subject lines,
but if I exchange . with another expression, nothing happens.
And I don't get any results with index_author.

Are there some people using these features?

By the way, the sidebar patch breaks the maildir_mtime patch. Has by chance 
anyone ported the maildir_mtime patch so it can be applied to the mutt sources 
with sidebar patch?


Shade and sweet water!

Stephan

--
| Stephan SeitzE-Mail: [EMAIL PROTECTED] |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |


signature.asc
Description: Digital signature


Re: Mutt 1.5.17 and sidebar patch

2007-11-11 Thread Elimar Riesebieter
On Sun, 11 Nov 2007 the mental interface of
Stephan Seitz told:

 Hi!

 I'm using mutt 1.5.17 together with the sidebar patch. Now I'm wondering
 how to user index_author and index_subject.
 The command color index_subject red black . will colour all subject lines,
 but if I exchange . with another expression, nothing happens.
 And I don't get any results with index_author.

 Are there some people using these features?

My setting for the sidebar colors:

color sidebar_new brightyellow default
color sidebar brightgreen red

My settings to use the indexcolor patch:

color index_author brightwhite default !~N
color index_author brightred default ~N
color index_author red brightyellow ~F
color index_author cyan default '~r 5d'
color index_author green default '~r 10d'
color index_author brightyellow red ~D
color index_subject brightwhite default !~N
color index_subject brightred default ~N
color index_subject red brightyellow ~F
color index_subject cyan default '~r 5d'
color index_subject green default '~r 10d'
color index_subject brightyellow red ~D
color index_collapsed brightyellow default
color index_number blue default
color index_flags brightyellow default
color index_date magenta default
color index_size brightyellow default
color index_label brightyellow default

BTW: Try
$ HOWTO='pack c5,41*2,sqrt 7056,unpack(c,H)-2,oct 115'  perl -le print 
$HOWTO

Elimar

-- 
  what IMHO then?
  IMHO - Inhalation of a Multi-leafed Herbal Opiate ;)
  --posting from alex in debian-user--


Re: Mutt 1.5.17 and sidebar patch

2007-11-11 Thread Stephan Seitz

On Sun, Nov 11, 2007 at 05:15:50PM +0100, Elimar Riesebieter wrote:

color index_author brightwhite default !~N
color index_author brightred default ~N
color index_author red brightyellow ~F
color index_author cyan default '~r 5d'
color index_author green default '~r 10d'
color index_author brightyellow red ~D


None of those above are working here.


color index_subject brightwhite default !~N


Your index_subject examples are working, but I want something like „if 
subject contains expression, colour it”.

My test
color index_subject brightred black ~s ANT
does not colour mails having ANT in there subjects.


BTW: Try
$ HOWTO='pack c5,41*2,sqrt 7056,unpack(c,H)-2,oct 115'  perl -le print 
$HOWTO


Well, first there has to be a FM with examples, second those examples 
must work. ;-)


Shade and sweet water!

Stephan

--
| Stephan SeitzE-Mail: [EMAIL PROTECTED] |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |


signature.asc
Description: Digital signature


Re: Mutt 1.5.17 and sidebar patch

2007-11-11 Thread Elimar Riesebieter
On Sun, 11 Nov 2007 the mental interface of
Stephan Seitz told:

[...]
 color index_subject brightred black ~s ANT
 does not colour mails having ANT in there subjects.

color index_subject brightred black '~s ANT'

Works for sure ;)


 BTW: Try
 $ HOWTO='pack c5,41*2,sqrt 7056,unpack(c,H)-2,oct 115'  perl -le print 
 $HOWTO

 Well, first there has to be a FM with examples, second those examples must 
 work. ;-)

 Shade and sweet water!

First close your curtains.
Second: take a big sip of seet water.
Third: You know

Elimar

-- 
  what IMHO then?
  IMHO - Inhalation of a Multi-leafed Herbal Opiate ;)
  --posting from alex in debian-user--


Re: Mutt 1.5.17 and sidebar patch

2007-11-11 Thread Elimar Riesebieter
On Sun, 11 Nov 2007 the mental interface of
Stephan Seitz told:

 On Sun, Nov 11, 2007 at 08:03:17PM +0100, Elimar Riesebieter wrote:
 color index_subject brightred black '~s ANT'
 Works for sure ;)

 Not here.
 And I made sure, that this was the only color command I had in my muttrc.

Your mutt isn't patched with the indexcolor patch! You noticed that
my examples are for use with indexcolor?

Elimar

-- 
  Planung:
  Ersatz des Zufalls durch den Irrtum.
-unknown-


Re: Mutt 1.5.17 and sidebar patch

2007-11-11 Thread Stephan Seitz

On Sun, Nov 11, 2007 at 08:23:02PM +0100, Elimar Riesebieter wrote:

Your mutt isn't patched with the indexcolor patch! You noticed that
my examples are for use with indexcolor?


mutt -v shows patch-1.5.13.greek0.indexcolor-3+cb. Every index_* 
functions are working besides those needing regex expressions.


Shade and sweet water!

Stephan

--
| Stephan SeitzE-Mail: [EMAIL PROTECTED] |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |


signature.asc
Description: Digital signature


Re: Mutt 1.5.17 and sidebar patch

2007-11-11 Thread Elimar Riesebieter
On Sun, 11 Nov 2007 the mental interface of
Stephan Seitz told:

 On Sun, Nov 11, 2007 at 08:23:02PM +0100, Elimar Riesebieter wrote:
 Your mutt isn't patched with the indexcolor patch! You noticed that
 my examples are for use with indexcolor?

 mutt -v shows patch-1.5.13.greek0.indexcolor-3+cb. Every index_* functions 
 are working besides those needing regex expressions.

How did you compile your mutt version?

Elimar

-- 
  Numeric stability is probably not all that 
  important when you're guessing;-)


Re: Mutt 1.5.17 and sidebar patch

2007-11-11 Thread Elimar Riesebieter
On Sun, 11 Nov 2007 the mental interface of
Stephan Seitz told:

 On Sun, Nov 11, 2007 at 08:03:17PM +0100, Elimar Riesebieter wrote:
 color index_subject brightred black '~s ANT'
 Works for sure ;)

 Well, in some ways it works, but as expected. This rule colours the 
 following subjects:

 [OT] Scripting question: the length limit of a list?
 and
 [SECURITY] [DSA 1400-1] New perl packages fix arbitrary code execution

 Now the big question, why.

Switch to the pager and type:

/ ~s ANT enter

Which messages does mutt find?

 Shade and sweet water!

Huuu, now I need sun and some Tequilla sunrise!

Elimar


-- 
  Experience is something you don't get until 
  just after you need it!


Re: Mutt 1.5.17 and sidebar patch

2007-11-11 Thread Stephan Seitz

On Sun, Nov 11, 2007 at 09:18:12PM +0100, Elimar Riesebieter wrote:

Switch to the pager and type:

/ ~s ANT enter

Which messages does mutt find?


In my main folder it finds the message I wanted to colour and in the 
debian folder (the folder with my two examples) it finds a message with 
IMPORTANT in the subject, but not the two messages that were coloured.



Shade and sweet water!

Huuu, now I need sun and some Tequilla sunrise!


You can let your mind radiate.

Shade and sweet water!

Stephan

--
| Stephan SeitzE-Mail: [EMAIL PROTECTED] |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |


signature.asc
Description: Digital signature


Re: Mutt 1.5.17 and sidebar patch

2007-11-11 Thread Stephan Seitz

On Sun, Nov 11, 2007 at 09:05:13PM +0100, Elimar Riesebieter wrote:

How did you compile your mutt version?


The debian way, I downloaded mutt-15.17 (debian/unstable) and from your 
site. I copied the er-patches directory from your source to the debian 
source, corrected the series file and did „debian/rules build” 
„debian/rules binary”.


Additional to your patches I have the debian patches for chdir and 
w3mface applied.


Shade and sweet water!

Stephan

--
| Stephan SeitzE-Mail: [EMAIL PROTECTED] |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |


signature.asc
Description: Digital signature


Re: Mutt 1.5.17 and sidebar patch

2007-11-11 Thread Stephan Seitz

On Sun, Nov 11, 2007 at 09:37:18PM +0100, Elimar Riesebieter wrote:

It seems, that your indexcolor patch didn't applied corect.


Well, I build mutt again and checked if there were some rejects. There 
are none. The patch applied without failures, only some hunks are 
mentioned. But this new mutt showed the same behaviour like the old one.


So if there are no problems with the amd64 architecture, I don’t know any 
other reason, what it could be.


Shade and sweet water!

Stephan

--
| Stephan SeitzE-Mail: [EMAIL PROTECTED] |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |


signature.asc
Description: Digital signature


Re: alternate editor ?

2007-11-11 Thread Michael Elkins
See http://wiki.mutt.org/?ConfigTricks and look for
Generating a dynamic muttrc file

me


Re: alternate editor ?

2007-11-11 Thread Gerard Robin

On Sun, Nov 11, 2007 at 01:23:45PM -0800, Michael Elkins wrote:

From: Michael Elkins [EMAIL PROTECTED]
To: mutt-users@mutt.org
Subject: Re: alternate editor ?

See http://wiki.mutt.org/?ConfigTricks and look for
Generating a dynamic muttrc file


Many thanks its works fine :-) (but all the quotes are simple quote no 
back-quote ...)

--
Gérard


folder hook: delete old messages

2007-11-11 Thread Kevin Coyner

For the longest time I successfully used a folder hook like this:

folder-hook =mutt-users push 'delete-pattern~r5d!~Fenter'

so that any time I entered the mutt-users folder, messages older
than 5 days - that I had not marked as important - would be deleted.

I'm not sure when it stopped working, but now this folder hook does
not delete anything.

Any thoughts on what might be happening?

Using Mutt 1.5.13 connecting to an Imap server.

Thanks.

-- 
Kevin Coyner  GnuPG key: 1024D/8CE11941