Mark all messages in folder read

2001-03-18 Thread Stefan Schwandter

Hello all,

is there a way to quickly mark all messages in a mail folder (similar to
do a catch up in a newsreader) ?

regards,
Stefan




Re: Mark all messages in folder read

2001-03-18 Thread phaust

Hi.

On Sun, Mar 18, 2001 at 07:47:58PM +0100, Stefan Schwandter wrote:
 Hello all,
 
 is there a way to quickly mark all messages in a mail folder (similar to
 do a catch up in a newsreader) ?

Yes, of course. Tag all messages (T .*), and then remove N flag from all
of them (W N). Here's macro binding it to .c sequence:

macro .c "T.*\nWN" "Cath up"

Best regards,

-- 
+[: phaust (at) users.sourceforge.net :]+---+[: http://www.phaust.z.pl/ :]+
+[: the slPIM project - addrbook 4 mutt - http://slpim.sourceforge.net/ :]+
+[: GPG fingerprint: B7F4 4602 FAF3 00B3 C5FE  B13C AD0F BD23 366E EE42 :]+
+- Eat Healthy, Exercise, and Die Anyway ... 



Re: Mark all messages in folder read

2001-03-18 Thread David Champion

On 2001.03.18, in 20010318211124.A574@madmachine,
"phaust" [EMAIL PROTECTED] wrote:
 Hi.
 
 On Sun, Mar 18, 2001 at 07:47:58PM +0100, Stefan Schwandter wrote:
  Hello all,
  
  is there a way to quickly mark all messages in a mail folder (similar to
  do a catch up in a newsreader) ?
 
 Yes, of course. Tag all messages (T .*), and then remove N flag from all
 of them (W N). Here's macro binding it to .c sequence:
 
 macro .c "T.*\nWN" "Cath up"

Just a small tip: in a large mailbox, tagging "~A" is noticeably faster
than "." or ".*".  The latter performs a regular expression match
against all messages, while the former just selects everything with no
further criteria.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: Mark all messages in folder read

2001-03-18 Thread phaust

Hi.

On Sun, Mar 18, 2001 at 09:11:24PM +0100, phaust wrote:
 macro .c "T.*\nWN" "Cath up"

Oops, it's not what-i've-meant : Better try this:

macro index .c "T.*\n;WN" "Cath up"

Best regards,

-- 
+[: phaust (at) users.sourceforge.net :]+---+[: http://www.phaust.z.pl/ :]+
+[: the slPIM project - addrbook 4 mutt - http://slpim.sourceforge.net/ :]+
+- WORK: Something to do between breaks. 



Re: Mark all messages in folder read

2001-03-18 Thread Juergen Salk

* Stefan Schwandter [EMAIL PROTECTED] [010318 20:35]:

 is there a way to quickly mark all messages in a mail folder (similar to
 do a catch up in a newsreader) ?

Try adding a macro like that in your $HOME/.muttrc:

macro   index   \ec  "T.*\n;WN;WO^T.*\n"  "catch up"

This should clear all 'N' and 'O' indicator flags on ESC-c.

Best regards - Juergen.




Re: Mark all messages in folder read

2001-03-18 Thread Stefan Schwandter

On Sun, Mar 18, 2001 at 04:13:12PM -0600, David Champion wrote:

  macro .c "T.*\nWN" "Cath up"
 
 Just a small tip: in a large mailbox, tagging "~A" is noticeably faster
 than "." or ".*".  The latter performs a regular expression match
 against all messages, while the former just selects everything with no
 further criteria.

Thanks, works great!

regards,
Stefan



Re: Mark all messages in folder read

2001-03-18 Thread Stefan Schwandter

On Sun, Mar 18, 2001 at 11:16:22PM +0100, phaust wrote:
  macro .c "T.*\nWN" "Cath up"
 
 Oops, it's not what-i've-meant : Better try this:
 
 macro index .c "T.*\n;WN" "Cath up"

I figured it out, thanks :-)

regards,
Stefan



Re: Mark all messages in folder read

2001-03-18 Thread Tommi Komulainen

On Sun, Mar 18, 2001 at 07:47:58PM +0100, Stefan Schwandter wrote:
 Hello all,
 
 is there a way to quickly mark all messages in a mail folder (similar to
 do a catch up in a newsreader) ?

T.enter;^R

That is:
T.enter   Tag all messages matching '.' (means all of them)
;^R Mark all tagged messages (threades) as read (that's ctrl-r)

Finally you can untag all the messages with ^T.enter


-- 
Tommi Komulainen [EMAIL PROTECTED]
GPG 1024D/68388EE66FD6 DD79 EB38 BF6F 3533  09C0 04A8 9871 6838 8EE6

 PGP signature


Re: Mark all messages in folder read

2001-03-18 Thread Byrial Jensen

On Sun, Mar 18, 2001 at 16:13:12 -0600, David Champion wrote:
 Just a small tip: in a large mailbox, tagging "~A" is noticeably faster
 than "."

No, it is not. There are equal fast because of a little hack in the
code (in the function mutt_check_simple in pattern.c) which checks
for "." and converts it to "~".

 or ".*".  The latter performs a regular expression match
 against all messages, while the former just selects everything with no
 further criteria.

Yes, that's true for ".*".