emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: event-modifiers with control in mouse events


From: Stefan
Subject: Re: event-modifiers with control in mouse events
Date: Sat, 09 Oct 2004 10:03:49 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin)

> Very strangly, the `C-mouse-1' key does not have modifiers according
> to `event-modifiers'. According to info, it should return at least
> `click'.  If I evaluate

I believe what's happening is that `event-modifiers' only returns a correct
answer if the event has already been produced by some real input
(e.g. if you've already pressed the mouse-1 button while holding the
control key).

This is because `event-modifiers' just looks up the `event-symbol-elements'
symbol property which is like a cache filled by the input-processing C code.


        Stefan




reply via email to

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