all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.