Re: mutt/2142: <untag-pattern> with empty argument does nothing
The following reply was made to PR mutt/2142; it has been noted by GNATS.
From: Vincent Lefevre <vincent@xxxxxxxxxx>
To: bug-any@xxxxxxxxxxxxx
Cc:
Subject: Re: mutt/2142: <untag-pattern> with empty argument does nothing
Date: Thu, 24 Nov 2005 01:32:02 +0100
On 2005-11-24 00:15:01 +0100, TAKAHASHI Tamotsu wrote:
> * Wed Nov 23 2005 Thomas Roessler <roessler@xxxxxxxxxxxxxxxxxx>
> > So, by consistency with delete-pattern, delete-pattern with an
> > empty argument should delete all messages?
This wouldn't be a problem for me, as this requires confirmation.
A "<limit>." by mistake would be more annoying.
> No. :)
>
> So, <limit> with an empty argument should not show all messages
> if you mind the inconsistency. I thought the current behavior was
> intuitive for beginners, and my patch was applied at revision
> 3.15 in pattern.c. See bug#1854.
Bug#1854 says "'l' and then Enter", but this doesn't even work
since the latest pattern is recalled. So, before Enter, either
"." or "<kill-line>" is necessary. And I don't find the current
behavior intuitive. Instead, I'd rather see some help, e.g. the
current value of $simple_search, or more useful, if a help screen
for patterns is designed:
Type ... to see the help on patterns.
This would be very useful, as pattern formats are difficult to
remember (in particular for those one almost never uses).
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA