From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Can I use movement commands to refine a mouse-defined region? Date: Thu, 10 Mar 2016 14:32:08 +0100 Message-ID: <87shzyh31j.fsf@web.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1457616840 6110 80.91.229.3 (10 Mar 2016 13:34:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2016 13:34:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 10 14:33:51 2016 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 1ae0iY-0004eX-TW for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Mar 2016 14:33:31 +0100 Original-Received: from localhost ([::1]:48562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae0iY-00074v-3q for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Mar 2016 08:33:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae0iM-00074a-08 for help-gnu-emacs@gnu.org; Thu, 10 Mar 2016 08:33:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ae0iI-0002T0-Pz for help-gnu-emacs@gnu.org; Thu, 10 Mar 2016 08:33:17 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:41346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ae0iI-0002Sj-Jf for help-gnu-emacs@gnu.org; Thu, 10 Mar 2016 08:33:14 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ae0hp-00047g-MX for help-gnu-emacs@gnu.org; Thu, 10 Mar 2016 14:32:45 +0100 Original-Received: from dslb-092-074-189-174.092.074.pools.vodafone-ip.de ([92.74.189.174]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Mar 2016 14:32:45 +0100 Original-Received: from michael_heerdegen by dslb-092-074-189-174.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Mar 2016 14:32:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-189-174.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) Cancel-Lock: sha1:FaWfsD2HGWn3vsp0pqP9ApGc2CE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:109529 Archived-At: Nick Helm writes: > Sometimes though, my mousing is not as accurate as it could be and I > would like to refine the region by moving point with C-f, C-b etc. > However, any movement keys immediately deactivates the defined region > and removes the region highlight. > > Any ideas how I might resolve this? Maybe this: C-x C-x runs the command exchange-point-and-mark (found in global-map), which is an interactive compiled Lisp function in ‘simple.el’. It is bound to C-x C-x. (exchange-point-and-mark &optional ARG) Put the mark where point is now, and point where the mark is now. This command works even when the mark is not active, and it reactivates the mark. [...] Regards, Michael.