<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH, RFC] mouse tracking support



On 2007-05-21, Gary Johnson <garyjohn@xxxxxxxxxxxxxxx> wrote:
> On 2007-05-21, Christoph Berg <cb@xxxxxxxx> wrote:
> > Hi,
> > 
> > I've updated Anatoly's patch from 2005 that adds mouse tracking using
> > slang/ncurses to mutt. With "set mouse" (unset by default) mutt will
> > react to button1/2/3/wheel with configurable bindings. I like it :)
> 
> Me too!  Thanks for doing this.

I've encountered a few issues with using this patch.  None of these 
are bugs, just areas where I think the behavior could be improved.

The first is an enhancement request.  Having gotten used to being 
able to click on a message to open it, I tried clicking in the pager 
mini-index to open one of the messages shown there, but it didn't 
work.  It would be nice if the mouse worked there, too.

The next issue is probably just a matter of learning new habits, but 
with this patch it is no longer possible to select text in a message 
using just the mouse--you have to hold the shift key while selecting 
text.

The last issue is becoming quite an annoyance and I think the 
behavior should be changed.  When the index fills only the top of 
the screen, clicking anywhere in the empty space below the last 
message selects the last message.  This is a problem when you have 
overlapping windows, mutt is running in a partially-hidden window, 
and you click in an empty area of the window in order to bring it to 
the foreground.  If the indicator is already on the last message, 
clicking in that empty area will also open the message.  I think 
this should be changed so that clicking in that area has no effect, 
or scrolls the index down as '<' would, but does not open any 
message.

Regards,
Gary

-- 
Gary Johnson                               | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx                   | Mobile Broadband Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA