[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: elisp mouse programming problems

From: Eli Zaretskii
Subject: Re: elisp mouse programming problems
Date: Wed, 20 Aug 2003 13:40:11 +0200

> From: "David Vanderschel" <address@hidden>
> Newsgroups:
> Date: Tue, 19 Aug 2003 22:17:22 -0500
> I am having a problem with overriding the global map
> for some mouse events.  For example, I can bind
> C-mouse-1 in a major mode mode-map for a major mode I
> created.  Yet when that mode is in effect, such a
> mouse click still goes to mouse-select-buffer (as it
> is correctly bound globally) and never reaches the
> function I bound to the key for the mode.

Did you try to bind C-down-mouse-1 to the same command?

The Elisp manual has a chapter about mouse events that you may wish to

> The bindings which fail to work are those for
> C-mouse-1 and drag-mouse-2.  They keep getting handled
> by the functions which are bound to them globally.

What does Emacs say when you type "C-h c" followed by one of those two
mouse gestures that fail?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]