From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ernest =?iso-8859-1?Q?Adrogu=E9?= Newsgroups: gmane.emacs.help Subject: Re: select text without moving the point in graphical interface Date: Sun, 8 Dec 2013 21:41:58 +0100 Message-ID: <20131208204158.GA12709@doriath.local> References: <20131208190052.GA12293@doriath.local> <86de73d1-d8e2-4564-b7a7-749d7778a635@default> <20131208193420.GA12537@doriath.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1386535352 25488 80.91.229.3 (8 Dec 2013 20:42:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Dec 2013 20:42:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 08 21:42:37 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 1VplBV-0004Ld-AT for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Dec 2013 21:42:37 +0100 Original-Received: from localhost ([::1]:40747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VplBU-0002bX-W3 for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Dec 2013 15:42:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VplBD-0002Za-It for help-gnu-emacs@gnu.org; Sun, 08 Dec 2013 15:42:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VplB5-0001Sq-4z for help-gnu-emacs@gnu.org; Sun, 08 Dec 2013 15:42:19 -0500 Original-Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:59532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VplB4-0001Sm-Uz for help-gnu-emacs@gnu.org; Sun, 08 Dec 2013 15:42:11 -0500 Original-Received: by mail-wi0-f177.google.com with SMTP id cc10so2870767wib.4 for ; Sun, 08 Dec 2013 12:42:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=tQW2uVnxf1MGPEd2EEbgrY2BKWkQ5FwqySf9j9pVqmU=; b=mGdFfJAc1L6uZj96/MWxbUl+CcQXCUpOczNCmXlRZUAjCt/ZqlTFWguZ9f+wssxry2 7cK6u2v6mcFqjlwhMaJEza7A9W3Dt8LMJ2011o1ce84r04aoho1fb0tfINlEDj8si6PU u/0jzCkEyPAto/3wJKPeFQtD+2cqBrySi2WEkyRtxMg51qOVFto35AWXG4OonKzgfRVV t6xRGMihdWRbfkVujanqsNrA+BrlvopC1OtXMCyC+LbqYmPm7E0XFWQG5rx1LfxJatTk Iwl5N4bU+UWDdZtmskrUf2ZeDi1ez+13iymwoxQHSgQATzD9eBoPd3PkfXV6EDDKeIe8 XanQ== X-Received: by 10.180.82.161 with SMTP id j1mr11084038wiy.23.1386535329996; Sun, 08 Dec 2013 12:42:09 -0800 (PST) Original-Received: from doriath (3.Red-83-40-95.dynamicIP.rima-tde.net. [83.40.95.3]) by mx.google.com with ESMTPSA id hv5sm18317577wib.2.2013.12.08.12.42.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 08 Dec 2013 12:42:08 -0800 (PST) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: X-Operating-System: GNU/Linux (Debian jessie/sid) User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::231 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:94880 Archived-At: 8-12-2013, 12:24 (-0800); Drew Adams escriu: > > > > one of the things I like about running emacs in a terminal is that I can > > > > select text without moving the point; is it possible to do the same when > > > > running in a graphical interface (GTK)? > > > > > > yes > > > > How? > > How do you do it in Emacs in terminal mode? Same way, I guess. > > Perhaps I'm misunderstanding your question. Why don't you provide > a recipe of the behavior you are looking for, which you already > enjoy when "running emacs in a terminal"? > > I thought you were asking whether you can ever select text in Emacs > without moving the cursor. The answer to that is yes, you can > sometimes, and regardless of whether Emacs is in console mode or > uses a graphical interface. > > An example: `C-M-SPC' selects the sexp that follows point, without > moving point. Sorry, I wasn't specific enough. I meant selecting text using the mouse. In a terminal, the mouse is independent from emacs and it doesn't interfere with it in any perceivable way, except when I paste something with a middle click. I think it's the terminal program, and not emacs, who handles the mouse inputs. 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. Regards.