[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Mouse support does not work
From: |
Drew Adams |
Subject: |
RE: Mouse support does not work |
Date: |
Sat, 14 Jan 2012 12:08:30 -0800 |
> >> > Wrt keystroke echoing, you can use `echo-keystrokes', as I
> >> > mentioned. You also have `C-h l', to see the last 100 keystrokes.
> >>
> >> echo-keystrokes only seems to work within some lisp code, which I
> >> unfortunately am not good enough with yet to do anything useful.
> >
> > I think it works always, but it is true that some commands
> > etc. might bind it to 0 so it has no effect in some context.
>
> Maybe I'm missing something then. M-x echo-keystrokes doesn't work.
> How would one run this (without incorporating it into some lisp code)?
It is a user option, IOW a variable that you can customize. It is not a
function, let alone a command (so you cannot invoke it using `M-x').
Use `C-h v echo-keystrokes' to see its doc.
However, the doc string is incomplete - see this bug report:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10503. For more complete info, see
the Emacs or Elisp manual: use `i echo-keystrokes' in the manual.
The way to make `echo-keystrokes' take effect or not is to use `M-x
customize-option' or `M-x set-variable'.
> >> C-h l doesn't seem to show mouse events.
> >
> > It does for me:
> >
> > ... SPC <down-mouse-1> <mouse-1> C-c C-c y e s <return>
> > <help-echo> <switch-frame> <switch-frame> <down-mouse-1>
> > <mouse-movement> <mouse-movement> <drag-mouse-1> <down-mouse-3>
> > <mouse-3> <down-mouse-1> <mouse-1> <double-down-mouse-1>
> > <double-mouse-1> <down-mouse-3> <mouse-3> C-h l
> >
> > And it works whether I use a graphic display or `emacs -nw'.
> >
>
> Actually, I think maybe it does for me too. But it shows it in the
> form of garbage that I don't know how to read:
>
> ESC [ > 0 ; 9 5 ; c ESC x e c TAB DEL DEL ESC [ M a
> ] E ESC [ M a ] E ESC [ M a ] E ESC [ M a ] E ESC [
> M a ] E ESC [ M ` ] E ESC [ M ` ] E ESC [ M ` ] E ESC
> [ M ` ] E C-h C-g C-h C-h l ESC [ M a ] E ESC [ M a
> ] E ESC [ M a ] E ESC [ M ` ] E ESC [ M ` ] E ESC [
> M ` ] E ESC [ M ` ] E ESC [ M SPC \300\262 , ESC [
> M # \300\262 , ESC [ M SPC \300\243 ) ESC [ M # \300\243
> ) ESC [ M SPC \300\241 ' ESC [ M # \300\241 ' C-h l
> ESC [ M a \300\236 & C-h l
Those look like keyboard keys to me, not mouse events. If you use the mouse
(e.g. click `mouse-1' somewhere, then click `mouse-3' somewhere, to select some
text) you should see mouse events such as I show above.
- Re: Mouse support does not work, (continued)
- Re: Mouse support does not work, Aaron Meurer, 2012/01/11
- RE: Mouse support does not work, Drew Adams, 2012/01/11
- Re: Mouse support does not work, Aaron Meurer, 2012/01/11
- Re: Mouse support does not work, Aaron Meurer, 2012/01/14
- RE: Mouse support does not work, Drew Adams, 2012/01/14
- Re: Mouse support does not work, Aaron Meurer, 2012/01/14
- RE: Mouse support does not work, Drew Adams, 2012/01/14
- Re: Mouse support does not work, Aaron Meurer, 2012/01/14
- RE: Mouse support does not work, Drew Adams, 2012/01/14
- Re: Mouse support does not work, Aaron Meurer, 2012/01/14
- RE: Mouse support does not work,
Drew Adams <=
- Re: Mouse support does not work, Aaron Meurer, 2012/01/14
- RE: Mouse support does not work, Drew Adams, 2012/01/14
- Re: Mouse support does not work, Aaron Meurer, 2012/01/14
- Re: Mouse support does not work, Peter Dyballa, 2012/01/14
- RE: Mouse support does not work, Drew Adams, 2012/01/14
- Re: Mouse support does not work, Peter Dyballa, 2012/01/15
- Re: Mouse support does not work, Aaron Meurer, 2012/01/14
- Re: Mouse support does not work, Peter Dyballa, 2012/01/15
- Re: Mouse support does not work, Aaron Meurer, 2012/01/15
- Re: Mouse support does not work, Peter Dyballa, 2012/01/15