From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: `xterm-mouse-mode' has a bogus Custom group Date: Tue, 5 Apr 2005 19:00:37 -0500 (CDT) Message-ID: <200504060000.j3600bm15264@raven.dms.auburn.edu> References: <200504020351.j323ppS16391@raven.dms.auburn.edu> <16974.11752.332998.125628@farnswood.snap.net.nz> <200504021346.j32Dk3e19471@raven.dms.auburn.edu> <16978.12100.857894.861739@farnswood.snap.net.nz> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1112745931 9430 80.91.229.2 (6 Apr 2005 00:05:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2005 00:05:31 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 06 02:05:28 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DIy2l-0002Kh-KJ for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2005 02:05:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DIxbl-0003er-0l for ged-emacs-devel@m.gmane.org; Tue, 05 Apr 2005 19:37:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DIxac-0003JD-DX for emacs-devel@gnu.org; Tue, 05 Apr 2005 19:36:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DIxaa-0003F5-LJ for emacs-devel@gnu.org; Tue, 05 Apr 2005 19:36:08 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DIxzq-0003r3-UJ for emacs-devel@gnu.org; Tue, 05 Apr 2005 20:02:15 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j3601s9N016512; Tue, 5 Apr 2005 19:01:55 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j3600bm15264; Tue, 5 Apr 2005 19:00:37 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: nickrob@snap.net.nz In-reply-to: <16978.12100.857894.861739@farnswood.snap.net.nz> (message from Nick Roberts on Tue, 5 Apr 2005 18:25:08 +1200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:35599 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35599 Nick Roberts wrote: > The GNU/Linux console currently does not appear to support > `xterm-mouse-mode'. I think this should just say Linux console although I don't really understand where the kernel ends and the operating system begins. Neither do I, but Richard asked me to refer to it as "GNU/Linux console". > The normal `xterm' mouse functionality is still available by holding down > the `SHIFT' key when you press the mouse button. This seems to be true for mouse-1 but: C-mouse-1 gives me the Main Options menu C-mouse-2 gives me the VT Options menu C-mouse-3 gives me the VT Fonts menu S-C-mouse-1, S-C-mouse-2, S-C-mouse-3 give me nothing. I believe that the following patches should finally get it right: ===File ~/xt-mouse.el-diff================================== *** xt-mouse.el 03 Apr 2005 19:34:53 -0500 1.25 --- xt-mouse.el 05 Apr 2005 15:42:18 -0500 *************** *** 156,164 **** With prefix arg, turn XTerm mouse mode on iff arg is positive. Turn it on to use Emacs mouse commands, and off to use xterm mouse commands. ! This works in terminal emulators compatible with xterm. Only single clicks ! are supported. When turned on, the normal xterm mouse functionality is still ! available by holding down the SHIFT key while pressing the mouse button." nil " Mouse" nil :global t :group 'mouse (if xterm-mouse-mode ;; Turn it on --- 156,165 ---- With prefix arg, turn XTerm mouse mode on iff arg is positive. Turn it on to use Emacs mouse commands, and off to use xterm mouse commands. ! This works in terminal emulators compatible with xterm. Only ! non-modified single clicks are supported. When turned on, the ! normal xterm mouse functionality for such clicks is still available ! by holding down the SHIFT key while pressing the mouse button." nil " Mouse" nil :global t :group 'mouse (if xterm-mouse-mode ;; Turn it on ============================================================ ===File ~/man-frames.texi-diff============================== *** frames.texi 04 Apr 2005 16:06:35 -0500 1.77 --- frames.texi 05 Apr 2005 15:39:00 -0500 *************** *** 1056,1064 **** Some terminal emulators under X support mouse clicks in the terminal window. In a terminal emulator which is compatible with @code{xterm}, you can use @kbd{M-x xterm-mouse-mode} to enable simple use of the ! mouse---only single clicks are supported. The normal @code{xterm} mouse ! functionality is still available by holding down the @kbd{SHIFT} key ! when you press the mouse button. @ignore arch-tag: 7dcf3a31-a43b-45d4-a900-445b10d77e49 --- 1056,1064 ---- Some terminal emulators under X support mouse clicks in the terminal window. In a terminal emulator which is compatible with @code{xterm}, you can use @kbd{M-x xterm-mouse-mode} to enable simple use of the ! mouse---only non-modified single clicks are supported. The normal ! @code{xterm} mouse functionality for such clicks is still available by ! holding down the @kbd{SHIFT} key when you press the mouse button. @ignore arch-tag: 7dcf3a31-a43b-45d4-a900-445b10d77e49 ============================================================