From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: select text without moving the point in graphical interface Date: Sun, 8 Dec 2013 14:13:43 -0800 (PST) Message-ID: References: <20131208190052.GA12293@doriath.local> <86de73d1-d8e2-4564-b7a7-749d7778a635@default> <20131208193420.GA12537@doriath.local> <20131208204158.GA12709@doriath.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1386540849 15494 80.91.229.3 (8 Dec 2013 22:14:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Dec 2013 22:14:09 +0000 (UTC) To: =?iso-8859-1?B?RXJuZXN0IEFkcm9ndek=?= , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 08 23:14:14 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VpmcA-0006As-6L for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Dec 2013 23:14:14 +0100 Original-Received: from localhost ([::1]:40998 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vpmc9-0000WV-Bz for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Dec 2013 17:14:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vpmbr-0000Uv-Ks for help-gnu-emacs@gnu.org; Sun, 08 Dec 2013 17:14:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vpmbi-0008Uz-Ul for help-gnu-emacs@gnu.org; Sun, 08 Dec 2013 17:13:55 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:42039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vpmbi-0008Up-Nm for help-gnu-emacs@gnu.org; Sun, 08 Dec 2013 17:13:46 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rB8MDgWI006364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 8 Dec 2013 22:13:44 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB8MDfth011867 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 8 Dec 2013 22:13:42 GMT Original-Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rB8MDfZ5011803; Sun, 8 Dec 2013 22:13:41 GMT In-Reply-To: <20131208204158.GA12709@doriath.local> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:94883 Archived-At: > Sorry, I wasn't specific enough. I meant selecting text using the mouse. >=20 > In a terminal, the mouse is independent from emacs and it doesn't interfe= re > with it in any perceivable way, except when I paste something with a midd= le > click. I think it's the terminal program, and not emacs, who handles the > mouse inputs. Yes. The relevant doc is (emacs) `Text-Only Mouse', which explains that only some text terminals support mouse clicks. > In a GUI, it doesn't work the same way - as soon as I click anywhere the > point moves to that location. I was wondering if tweaking some options I > could make GUI emacs behave more or less like when it runs inside a > terminal. For example, to be able to select text (using the X cursor) > without moving emacs's point in the process. Mouse selection in GUI Emacs is specifically for setting the region to the selected text. So no, to have `mouse-1' not set point you would need to redefine a fair number of things. In terminal mode, Emacs does not even recognize the mouse, in the sense that if you do `C-h k' and then click or drag the mouse, that action is unrecognized.