home *** CD-ROM | disk | FTP | other *** search
- x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Fri, 28 Aug 1992 15:49:40 EDT
- Date: Fri, 28 Aug 1992 12:45:22 PDT
- Message-ID: <9208281945.AA09948@thalidomide.lucid>
- X-Windows: The problem for your problem.
- From: jwz@lucid.com (Jamie Zawinski)
- Sender: jwz%thalidomide@lucid.com
- Subject: Re: Mouse enhancements for buffer-menu mode
- References: <9208272212.AA06890@thalidomide.lucid>
- <9208281400.AA02189@fatman.crim.ca>
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Lines: 20
-
- In message <9208281400.AA02189@fatman.crim.ca> Marc Paquette wrote:
- >
- > Is there any reason why mouse double clicks events are not available ?
-
- The primary reason is that X has no notion of double clicks: every client
- (or toolkit) has to hack it by hand. (After all, implementing double-clicks
- in the server where they belong might imply some kind of approval of them,
- which someone might construe as X favoring a particular user interface
- policy, and we couldn't have that!) Since we don't use a toolkit for
- mapping clicks to commands, that means that emacs has to re-invent the
- double-click wheel yet again.
-
- One of these days we'll probably add some kind of double-click event into
- the command-loop, so that one could bind things to double-click events with
- the normal define-key mechanism, but for now you have to do the same kind
- of voodoo that the `mouse-track' function does: notice when the current
- command has been invoked twice in a row in a very short period of time with
- no intervening motion, and do something different the second time around.
-
- -- Jamie
-