RE: Undoing the 'l' command in mutt

2004-04-15 Thread Colin Bell
> -Original Message-
> From: William Ballard [mailto:[EMAIL PROTECTED]
> Sent: Friday, 16 April 2004 10:52
> To: Debian Users
> Subject: Re: Undoing the 'l' command in mutt
> 
> 
> On Fri, Apr 16, 2004 at 08:57:33AM +1000, Colin Bell wrote:
> > I.E. just key l.
> 
> Strictly speaking '.' doesn't match ''.  Better use '.*' if 
> you really 
> mean "everything."  Suppose your view displays only subject line, and 
> the subject is blank.

IIRC Mutt doesn't limit by the columns displayed in the view but defaults
to limiting by From: and Subject: I think there is a configuration
variable that allows you to change this. So even if the subject is blank
l. should still show messages with a blank subject (assuming that
From: is not blank)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Undoing the 'l' command in mutt

2004-04-15 Thread Bill Moseley
On Thu, Apr 15, 2004 at 05:51:35PM -0700, William Ballard wrote:
> On Fri, Apr 16, 2004 at 08:57:33AM +1000, Colin Bell wrote:
> > I.E. just key l.
> 
> Strictly speaking '.' doesn't match ''.  Better use '.*' if you really 
> mean "everything."  Suppose your view displays only subject line, and 
> the subject is blank.

I belive the limit command defaults to the "simple_search" parameter if
you don't use any patterns, and the default simple_search searches the
From: address and the Subject:, so both would have to be null.

Regardless, it seems if a message has neither a From: or a Subject:
header "l." still selects it.  Even if I delete all headers and leave
just a \n at the start of the message (don't try that with mbox).

As does these:

   l!~s.
   l!~f.

So it looks like dot is special.

-- 
Bill Moseley
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Undoing the 'l' command in mutt

2004-04-15 Thread William Ballard
On Fri, Apr 16, 2004 at 08:57:33AM +1000, Colin Bell wrote:
> I.E. just key l.

Strictly speaking '.' doesn't match ''.  Better use '.*' if you really 
mean "everything."  Suppose your view displays only subject line, and 
the subject is blank.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: Undoing the 'l' command in mutt

2004-04-15 Thread Colin Bell
> -Original Message-
> From: Ãsmund ÃdegÃrd [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 15 April 2004 19:01
> To: Debian Users
> Subject: Re: Undoing the 'l' command in mutt
> 
> 
> On Wed, 2004-04-14 at 09:22, Paul Johnson wrote:
>  > Enrico Zini <[EMAIL PROTECTED]> writes:
>  > 
>  > > I use mutt, unchanged keybindings.  After I type 'l' to see only
>  > > the messages matching a given pattern, I'd like to get back to
>  > > seeing the whole mailbox.  Is there a way of removing the 'l'
>  > > filter besides reopening the mailbox?  The simpler way would be
>  > > 'l'+Enter, but it does not work.  I had a look in the '?' list of
>  > > all keybindings, but found nothing.
>  > 
>  > Did you try C-g yet?  C-g cancels in just about any program...
> 
>  C-g will not work, I think.
> 
>  But press l, remove your old search pattern with C-a C-k, 
> then put a .
>  (pattern wich match anything...), and you have everything back. 
> 
>  A shortcut for "unlimiting" would be nice, though.
> 

You don't need to do C-a C-k to remove the old pattern. Anything
you key will overwrite the old pattern automatically.

I.E. just key l.



Re: Undoing the 'l' command in mutt

2004-04-15 Thread Åsmund Ødegård
On Wed, 2004-04-14 at 09:22, Paul Johnson wrote:
 > Enrico Zini <[EMAIL PROTECTED]> writes:
 > 
 > > I use mutt, unchanged keybindings.  After I type 'l' to see only
 > > the messages matching a given pattern, I'd like to get back to
 > > seeing the whole mailbox.  Is there a way of removing the 'l'
 > > filter besides reopening the mailbox?  The simpler way would be
 > > 'l'+Enter, but it does not work.  I had a look in the '?' list of
 > > all keybindings, but found nothing.
 > 
 > Did you try C-g yet?  C-g cancels in just about any program...

 C-g will not work, I think.

 But press l, remove your old search pattern with C-a C-k, then put a .
 (pattern wich match anything...), and you have everything back. 

 A shortcut for "unlimiting" would be nice, though.

-- 
[simula.research laboratory]
 Ãsmund ÃdegÃrd
 IT-Manager
 phone: +4767828291 / +4790069915
 http://www.simula.no



Re: Undoing the 'l' command in mutt

2004-04-14 Thread Paul Johnson
Enrico Zini <[EMAIL PROTECTED]> writes:

> I use mutt, unchanged keybindings.  After I type 'l' to see only the
> messages matching a given pattern, I'd like to get back to seeing the
> whole mailbox.  Is there a way of removing the 'l' filter besides
> reopening the mailbox?  The simpler way would be 'l'+Enter, but it does
> not work.  I had a look in the '?' list of all keybindings, but found
> nothing.

Did you try C-g yet?  C-g cancels in just about any program...

-- 
Paul Johnson
<[EMAIL PROTECTED]>


pgp0.pgp
Description: PGP signature


Re: Undoing the 'l' command in mutt

2004-04-13 Thread William Ballard
On Tue, Apr 13, 2004 at 08:59:26PM +0200, Enrico Zini wrote:
> 
> Ok, so there is no direct "remove filter" command, and a kludge is
> needed.
> 
> Totally non-intuitive, but fair enough.  Wishlist bug has been filed.

It's just a paradigm thing.  It's like subtracting or adding negative 
numbers: they're the same thing.  We have seperate words for the same 
operation as a grammatical convenience.

I think it would be less elegant to introduce an additional keybinding 
for no good reason.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Undoing the 'l' command in mutt

2004-04-13 Thread Rick Pasotto
On Tue, Apr 13, 2004 at 05:05:21PM +0100, Enrico Zini wrote:
> Hello,
> 
> I use mutt, unchanged keybindings.  After I type 'l' to see only the
> messages matching a given pattern, I'd like to get back to seeing the
> whole mailbox.  Is there a way of removing the 'l' filter besides
> reopening the mailbox?  The simpler way would be 'l'+Enter, but it
> does not work.  I had a look in the '?' list of all keybindings, but
> found nothing.

'all' is treated as a keyword so 'l' + 'all' will display the whole
mailbox.

-- 
"You cannot slander human nature; it is worse than words can paint it."
-- Charles Haddon Spurgeon
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Undoing the 'l' command in mutt

2004-04-13 Thread Enrico Zini
On Tue, Apr 13, 2004 at 08:40:36PM +0200, Philipp Weis wrote:

> > I use mutt, unchanged keybindings.  After I type 'l' to see only the
> > messages matching a given pattern, I'd like to get back to seeing the
> > whole mailbox.  Is there a way of removing the 'l' filter besides
> > reopening the mailbox?  The simpler way would be 'l'+Enter, but it does
> > not work.  I had a look in the '?' list of all keybindings, but found
> > nothing.
> You should have a look at the patterns section of the mutt manual.
> "~A" matches all messages, so "l~A" shows you all messages again.

Ok, so there is no direct "remove filter" command, and a kludge is
needed.

Totally non-intuitive, but fair enough.  Wishlist bug has been filed.


Thank you,

Enrico


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Undoing the 'l' command in mutt

2004-04-13 Thread William Ballard
On Tue, Apr 13, 2004 at 05:05:21PM +0100, Enrico Zini wrote:
> Hello,
> 
> I use mutt, unchanged keybindings.  After I type 'l' to see only the
> messages matching a given pattern, I'd like to get back to seeing the
> whole mailbox.  Is there a way of removing the 'l' filter besides
> reopening the mailbox?  The simpler way would be 'l'+Enter, but it does
> not work.  I had a look in the '?' list of all keybindings, but found
> nothing.

l .
or l .*



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Undoing the 'l' command in mutt

2004-04-13 Thread Colin Watson
On Tue, Apr 13, 2004 at 05:05:21PM +0100, Enrico Zini wrote:
> I use mutt, unchanged keybindings.  After I type 'l' to see only the
> messages matching a given pattern, I'd like to get back to seeing the
> whole mailbox.  Is there a way of removing the 'l' filter besides
> reopening the mailbox?  The simpler way would be 'l'+Enter, but it does
> not work.  I had a look in the '?' list of all keybindings, but found
> nothing.

'l' followed by entering '.' as the pattern works for me.

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Undoing the 'l' command in mutt

2004-04-13 Thread Philipp Weis
Hi,

On 13 Apr 2004, Enrico Zini <[EMAIL PROTECTED]> wrote:
> I use mutt, unchanged keybindings.  After I type 'l' to see only the
> messages matching a given pattern, I'd like to get back to seeing the
> whole mailbox.  Is there a way of removing the 'l' filter besides
> reopening the mailbox?  The simpler way would be 'l'+Enter, but it does
> not work.  I had a look in the '?' list of all keybindings, but found
> nothing.

You should have a look at the patterns section of the mutt manual.
"~A" matches all messages, so "l~A" shows you all messages again.

Philipp


-- 
Philipp Weis  [EMAIL PROTECTED]
Freiburg, Germany http://pweis.com/


signature.asc
Description: Digital signature