From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aaron Meurer Newsgroups: gmane.emacs.help Subject: Re: Mouse support does not work Date: Sat, 14 Jan 2012 17:01:47 -0700 Message-ID: References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> <9D2A8B9BD78143A58911A8ED19FAFE52@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1326585744 18272 80.91.229.12 (15 Jan 2012 00:02:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 15 Jan 2012 00:02:24 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 15 01:02:20 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RmDYB-0005fL-LY for geh-help-gnu-emacs@m.gmane.org; Sun, 15 Jan 2012 01:02:19 +0100 Original-Received: from localhost ([::1]:55762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmDY8-00064M-3T for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Jan 2012 19:02:16 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:34155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmDY2-00063T-MW for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:02:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmDY1-0000fj-Ei for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:02:10 -0500 Original-Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:46208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmDY1-0000fe-7L for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:02:09 -0500 Original-Received: by lagj5 with SMTP id j5so1141484lag.0 for ; Sat, 14 Jan 2012 16:02:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=QWfOtqLANvALxrt9bAANHs+Nh73OwImHX+2VN1qLitg=; b=mAVkYxpia9EtHo6ZfGx2kMOB63XC/n7XIhfjlRw16Aee+O+g2G+KtZtOg6wpcUz9Pt sWoRPIQ4PbixkCfo67iP9TAqdvTIvfR7hRKqaqY30os8klseqCl6o1fcmOZWyjzvOzN/ /Pr0CCQ1FSXgv+BS7JwGmBf3xN/m8xLG1yqqY= Original-Received: by 10.152.148.227 with SMTP id tv3mr3192894lab.15.1326585728101; Sat, 14 Jan 2012 16:02:08 -0800 (PST) Original-Received: by 10.112.98.133 with HTTP; Sat, 14 Jan 2012 16:01:47 -0800 (PST) In-Reply-To: <9D2A8B9BD78143A58911A8ED19FAFE52@us.oracle.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83502 Archived-At: On Sat, Jan 14, 2012 at 2:00 PM, Drew Adams wrote: >> Ah, I see what this is now. =A0Would that even echo mouse events? > > No. =A0It 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. =A0If >> > 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. =A0I'm using MS Windows. =A0I've nev= er seen > what you see. > >> It makes sense that it would do that, because just saying >> does not tell you where in the text you clicked. > > And how does what it shows you tell you more about the mouse-click positi= on 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 C-h l > > Or this, which is what I see with emacs -nw: > > S o m e SPC T e x t C-h l > > What is shown is not the full mouse event, with all of its position info.= =A0All > that is shown is the name of the mouse event (including modifiers). > >> Also, if I type =A0ESC [ M SPC $ ( ESC [ M # $ ( with the cursor on the >> t, > > How do you type that? =A0Is M the shifted `M' key or Meta (Alt)? =A0If 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. =A0It even echos "down-mouse-1" at >> the bottom. =A0As 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 t= he real > (Lisp) names. > > (IMHO that should be the default value. =A0It is less, not more, helpful = to simply > capitalize each word and replace SPC with hyphen. =A0Misguided, 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