From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Emacs highlighted region expanding with scrollbar movement Date: Sat, 22 Feb 2014 21:46:59 +0100 Message-ID: <53090CC3.6030105@easy-emacs.de> References: <5308B678.7000500@easy-emacs.de> <83r46v2o5f.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1393101778 4820 80.91.229.3 (22 Feb 2014 20:42:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Feb 2014 20:42:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 22 21:43:06 2014 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 1WHJPe-0000IV-2s for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Feb 2014 21:43:06 +0100 Original-Received: from localhost ([::1]:50786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHJPd-0002pb-LE for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Feb 2014 15:43:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHJPO-0002oo-4e for help-gnu-emacs@gnu.org; Sat, 22 Feb 2014 15:42:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHJPH-0004T7-VY for help-gnu-emacs@gnu.org; Sat, 22 Feb 2014 15:42:50 -0500 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:52912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHJPH-0004Sy-KZ for help-gnu-emacs@gnu.org; Sat, 22 Feb 2014 15:42:43 -0500 Original-Received: from purzel.sitgens (brln-4d0ca461.pool.mediaWays.net [77.12.164.97]) by mrelayeu.kundenserver.de (node=mreue006) with ESMTP (Nemesis) id 0Lsrle-1XFUHT2IVm-012UiJ; Sat, 22 Feb 2014 21:42:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <83r46v2o5f.fsf@gnu.org> X-Provags-ID: V02:K0:pak3VrGmHEOeZu+SK1MS7/UXty03/nryd1qgHf4a7xJ t/6Vh4PHDJMSYpDOe5mzgEmrYeU1j0jOfYQjOCpCh6CxrWOAAB 9OgKEcxvU1OeRHNeYbYOYMdogIoCMz3sUDiT8lSxu6NqYothTE vvON+ZUsWx5eQytmU+o8vUtLOHv60NYiYcjZfW5CXUSzvFpmUk 9rDJRfs/71shXPMLTaCUWzsKmOidQpbP+nrx+F4ByEwNP1YrY0 hNLZ21rFrCcyHfmpk72Fvf/6t2LD7y/Vy1BEds/EcHrWUCklmd Vhe29UyK0fmUiw6q4Omf5kvgAekAYo/fD3UBgucoyy5Za1usCD pScNlpHYbxmgPdZi/2tODzIsnndqKrKC8l6A4g1HY X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.10 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:96175 Archived-At: Am 22.02.2014 15:54, schrieb Eli Zaretskii: >> Date: Sat, 22 Feb 2014 15:38:48 +0100 >> From: Andreas Röhler >> >> Am 22.02.2014 12:46, schrieb Raimund Steger: >>> Hi, >>> >>> I've only recently upgraded to Emacs 24 (GNU Emacs 24.3.1 (i386-pc-solaris2.11, Motif Version 2.1.0)). Before, I used Emacs 22 for the most part, but also Emacs 23 >>> (briefly) in some environments. >>> >>> I noticed that apparently starting with Emacs 23, the highlighted region behaves differently when dragging the scrollbar handle with the mouse. As the highlighted region >>> moves out of the visible area of the window, the highlighting is suddenly expanded to follow the point. This means it is not possible anymore to leave something highlighted >>> and pan around in the file at the same time. >>> >>> I have transient-mark-mode turned off, but changing its value does not change the described behavior. Also, it is reproducible with 'emacs -Q' and seems to happen for GTK >>> builds as well. >>> >>> Is there some way to turn this off? Or am I missing something here? >>> >>> Thanks a lot, >>> Raimund >>> >>> >>> >> >> May confirm this behavior with Emacs 24.3.50.1. of 2013-07-06 > > That's true, but I also see the same behavior in Emacs 22.1, so I'm > not sure what change in behavior is being reported here. I don't > think this changed at all, and couldn't (see below). > >> I.e. if region-end is expected to be scrolled downward out of sight, cursor will remain at first line and thus expanding the region. > > Indeed: Emacs always moves point to keep it on display, so the region > is expanded as well. > >> Would suggest a feature request, which would mean: no visible cursor displayed in this case. > > You are actually asking for a much more significant change: to be able > to move point out if sight. There is some infrastructure for this in > Emacs (see the window-vscroll function, for example), but user-level > commands always force point to move to keep it on display. This has > always been central to Emacs UI design. > > > Thanks. Not sure how important such a change would be. Seems more straightforward if a simple scroll doesn't move point.