Re: Seperate Msg Window

Brent Welch <[email protected]> Tue, 18 Jan 2005 15:10:19 -0800
Newsgroups gmane.mail.exmh.devel
Message-ID <[email protected]>
>>>Chris Garrigues said:

 > > > 4) Something changes in the way it behaves when you select multiple 
mess
     ages 
 > > > by dragging.  I think there's code in there somewhere that inhibits 
the
 > > > display of the marked region that isn't getting called if the 
message di
     splay
 > > > window is separate.
 > > 
 > > Even more annoying - you can't click-and-drag to select 2 or 3 
messages, t
     hen
 > > move the mouse up 5 or 6 lines, and shift-click to add another line or 
set
      of
 > > lines - all the intermediate lines get marked as well. Quite possibly 
anot
     her
 > > manifestation of the same bug.
 > 
 > This was bugging the hell out of me, so I dug in and tracked it down.  
You
 > bound the wrong set of bindings to the ftoc.

There is Ftoc_Bindings and Bindings_Main.
You'll see that I added Bindings_Main to the Ftoc, $exwin(ftext)
in the detached message display case.  This was so that while window
focus was on the main window you could use the, uh, "main" bindings.
It may help to just move the Ftoc_Bindings call down to after that
point.  

--
Brent Welch
Software Architect, Panasas Inc
Delivering the premier storage system for scalable Linux clusters

www.panasas.com
[email protected]