From: Aaron Meurer <asmeurer@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Mouse support does not work
Date: Sat, 14 Jan 2012 17:01:47 -0700 [thread overview]
Message-ID: <CAKgW=6+ESb4XtHSs6A29Q-mTUxLAA7fm2oj0FVi-18JGwxqBtw@mail.gmail.com> (raw)
In-Reply-To: <9D2A8B9BD78143A58911A8ED19FAFE52@us.oracle.com>
On Sat, Jan 14, 2012 at 2:00 PM, Drew Adams <drew.adams@oracle.com> wrote:
>> Ah, I see what this is now. Would that even echo mouse events?
>
> No. It echos unfinished keyboard key sequences.
>
>> >> 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...
>> >
>> > 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.
>>
>> No, this is definitely how it is reporting mouse events. I typed "Some
>> Text" and clicked on the S, and this is what it showed for it:
>>
>> S o m e SPC T e x t ESC [ M SPC $ ( ESC [ M # $ ( C-h l
>
> Perhaps it is a platform difference. I'm using MS Windows. I've never seen
> what you see.
>
>> It makes sense that it would do that, because just saying
>> <down-mouse-1> does not tell you where in the text you clicked.
>
> And how does what it shows you tell you more about the mouse-click position than
> this, which is what I see on a graphic display:
Because it tells you *exactly* where the mouse was clicked, in some
coded internal language. As I said, when I typed it, it reproduced
what I did with the mouse exactly.
>
> S o m e SPC T e x t <down-mouse-1> <mouse-1> C-h l
>
> Or this, which is what I see with emacs -nw:
>
> S o m e SPC T e x t <down-mouse-1> <mouse-movement> <mouse-1> C-h l
>
> What is shown is not the full mouse event, with all of its position info. All
> that is shown is the name of the mouse event (including modifiers).
>
>> Also, if I type ESC [ M SPC $ ( ESC [ M # $ ( with the cursor on the
>> t,
>
> How do you type that? Is M the shifted `M' key or Meta (Alt)? If I hit the
> `ESC' key and then the `[' key Emacs just tells me `M-[ is undefined'.
No, I think it's literally "M" (shifted M). Meta is ESC. And Control
is written as C-letter (with a dash).
>
>> it does indeed go back to the S. It even echos "down-mouse-1" at
>> the bottom. As for scrolling, it seems that the command is different
>> depending on where my mouse is (I think), which makes sense because I
>> set the "Mouse Wheel Follow Mouse" setting from customize to on (I
>> couldn't figure out what the emacs variable name for that is called).
>
> Customize `custom-unlispify-tag-names' to nil (off), if you want to see the real
> (Lisp) names.
>
> (IMHO that should be the default value. It is less, not more, helpful to simply
> capitalize each word and replace SPC with hyphen. Misguided, IMO.)
>
I agree, though I see where they're coming from (people who use M-x
customize are supposed to be shielded from the lisp side). Thanks for
the tip!
Aaron Meurer
next prev parent reply other threads:[~2012-01-15 0:01 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-10 9:18 Mouse support does not work Aaron Meurer
2012-01-10 17:24 ` Tassilo Horn
2012-01-10 18:29 ` Eli Zaretskii
2012-01-10 21:00 ` Tassilo Horn
2012-01-10 21:32 ` Peter Dyballa
2012-01-11 8:04 ` Tassilo Horn
2012-01-11 22:12 ` Peter Dyballa
2012-01-12 7:22 ` Tassilo Horn
2012-01-12 9:44 ` Peter Dyballa
2012-01-12 9:56 ` Tassilo Horn
2012-01-12 10:06 ` Peter Dyballa
2012-01-10 21:31 ` Peter Dyballa
2012-01-10 21:29 ` Peter Dyballa
2012-01-10 22:06 ` Aaron Meurer
2012-01-10 22:31 ` Peter Dyballa
2012-01-10 22:50 ` Aaron Meurer
2012-01-10 23:26 ` Peter Dyballa
2012-01-11 12:50 ` Aaron Meurer
2012-01-11 14:24 ` Drew Adams
2012-01-11 14:37 ` Drew Adams
2012-01-11 15:28 ` Aaron Meurer
2012-01-11 19:10 ` Drew Adams
2012-01-11 21:14 ` Aaron Meurer
2012-01-14 16:45 ` Aaron Meurer
2012-01-14 16:53 ` Drew Adams
2012-01-14 17:26 ` Aaron Meurer
2012-01-14 17:37 ` Drew Adams
2012-01-14 17:49 ` Aaron Meurer
2012-01-14 18:20 ` Drew Adams
2012-01-14 19:55 ` Aaron Meurer
2012-01-14 20:08 ` Drew Adams
2012-01-14 20:32 ` Aaron Meurer
2012-01-14 21:00 ` Drew Adams
2012-01-15 0:01 ` Aaron Meurer [this message]
2012-01-15 0:55 ` Peter Dyballa
2012-01-15 0:58 ` Drew Adams
2012-01-15 15:19 ` Peter Dyballa
2012-01-15 1:13 ` Aaron Meurer
2012-01-15 15:28 ` Peter Dyballa
2012-01-15 15:47 ` Aaron Meurer
2012-01-15 16:30 ` Peter Dyballa
2012-01-16 18:22 ` Aaron Meurer
2012-01-14 17:46 ` Aaron Meurer
2012-01-10 23:44 ` Peter Dyballa
2012-01-11 6:31 ` Jonathan Groll
2012-01-11 6:15 ` Jonathan Groll
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKgW=6+ESb4XtHSs6A29Q-mTUxLAA7fm2oj0FVi-18JGwxqBtw@mail.gmail.com' \
--to=asmeurer@gmail.com \
--cc=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.