unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Mouse press events (on mode line, etc) when programming a new major mode
@ 2008-09-06 14:27 joao
  2008-09-08 10:23 ` Nikolaj Schumacher
  0 siblings, 1 reply; 2+ messages in thread
From: joao @ 2008-09-06 14:27 UTC (permalink / raw
  To: help-gnu-emacs

Hi all,

I am programming a new major mode, and I'm having trouble redefining some of
the usual mouse actions :

- when I split the windows side-by-side, and my window is on the left, I can
  no longer drag the vertical separator between windows, to change window size

- when I split the windows above and below, and my window is above, I can no
  longer drag the mode line to change window size

I created a keymap with make-sparse-keymap, and I've added a few commands. I
can catch a mouse click inside my window, but how do I handle the above cases
?

Thanks,
Joao


-- 
Joao Moreira de Sa Coutinho
joao@teaser.fr


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-08 10:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-06 14:27 Mouse press events (on mode line, etc) when programming a new major mode joao
2008-09-08 10:23 ` Nikolaj Schumacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).