From unknown Sat Sep 20 15:43:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39424: auto-scrolling Resent-From: Konrad Podczeck Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Feb 2020 16:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39424 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 39424@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158083232913015 (code B ref -1); Tue, 04 Feb 2020 16:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2020 16:05:29 +0000 Received: from localhost ([127.0.0.1]:44611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iz0hc-0003Nq-WF for submit@debbugs.gnu.org; Tue, 04 Feb 2020 11:05:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:43201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iz0hb-0003Nj-AQ for submit@debbugs.gnu.org; Tue, 04 Feb 2020 11:05:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36695) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iz0hV-0008A6-VZ for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2020 11:05:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iz0hU-0001JZ-SX for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2020 11:05:21 -0500 Received: from grace.univie.ac.at ([2001:62a:4:25::25:115]:37994) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iz0hU-00017Q-CC for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2020 11:05:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=To:Date:Message-Id:Subject:Mime-Version: Content-Transfer-Encoding:Content-Type:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=SYAP1dz9YDtzKHKi4nOVCJpQdztBzxJ7oyzfH/XH314=; b=Wbs0qwEOM9G65vKtyReWU/QUdP cGGgZ2nqyRH4u0tMlS2fdggyQVY1ubwWNgO1CbjM6mII5CxQIPX/Yg4w3tVxlfSeovHzaxxDs79Hb c9gMTpfqMwvy2gY55ObWh2axpnCZ1B218d0i65lW9y+D7NN+li3EtkijaoEMFP9sq2AQ=; Received: from joan.univie.ac.at ([131.130.3.110] helo=joan.univie.ac.at) by grace.univie.ac.at with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.93) (envelope-from ) id 1iz0hN-0006pT-2N for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2020 17:05:13 +0100 Received: from 217-149-170-142.nat.highway.telekom.at ([217.149.170.142] helo=[10.0.0.13]) by joan.univie.ac.at with esmtpsa (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.93) (envelope-from ) id 1iz0hM-00041b-TU for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2020 17:05:13 +0100 From: Konrad Podczeck Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Message-Id: <573519B4-B7CE-4B10-B892-EA388CF67A5F@univie.ac.at> Date: Tue, 4 Feb 2020 17:05:06 +0100 X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Univie-Virus-Scan: scanned by ClamAV on joan.univie.ac.at X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:62a:4:25::25:115 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) I observe the following discrepancy between (a) mouse-drag-region and = (b) mouse-drag-region-rectangle. Concerning (a), as soon as one comes with the mouse below the mode-line = of the frame, so that auto-scrolling becomes effective, the cursor jumps = to the beginning of the line below the region and that line appears as = non-selected during further scrolling. As for (b), as usual with other text editors, if one comes with the = mouse below the mode-line of the frame, the cursor stays at the = beginning or end of the region, and there is no line which appears = non-selected. I could neither find any explanation for this discrepancy in the = manuals, nor a customization option which, for (a), gives the same = behavior as in case of (b). Konrad= From unknown Sat Sep 20 15:43:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39424: auto-scrolling Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Feb 2020 18:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39424 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Konrad Podczeck Cc: 39424@debbugs.gnu.org Received: via spool by 39424-submit@debbugs.gnu.org id=B39424.158084085725902 (code B ref 39424); Tue, 04 Feb 2020 18:28:01 +0000 Received: (at 39424) by debbugs.gnu.org; 4 Feb 2020 18:27:37 +0000 Received: from localhost ([127.0.0.1]:44757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iz2vB-0006ji-GF for submit@debbugs.gnu.org; Tue, 04 Feb 2020 13:27:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iz2v9-0006jW-Vc for 39424@debbugs.gnu.org; Tue, 04 Feb 2020 13:27:36 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iz2v3-0003tw-Fz; Tue, 04 Feb 2020 13:27:29 -0500 Received: from [176.228.60.248] (port=3459 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iz2v2-00036P-Gj; Tue, 04 Feb 2020 13:27:29 -0500 Date: Tue, 04 Feb 2020 20:27:18 +0200 Message-Id: <83imkmgqd5.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <573519B4-B7CE-4B10-B892-EA388CF67A5F@univie.ac.at> (message from Konrad Podczeck on Tue, 4 Feb 2020 17:05:06 +0100) References: <573519B4-B7CE-4B10-B892-EA388CF67A5F@univie.ac.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Konrad Podczeck > Date: Tue, 4 Feb 2020 17:05:06 +0100 > > I observe the following discrepancy between (a) mouse-drag-region and (b) mouse-drag-region-rectangle. > > Concerning (a), as soon as one comes with the mouse below the mode-line of the frame, so that auto-scrolling becomes effective, the cursor jumps to the beginning of the line below the region and that line appears as non-selected during further scrolling. > > As for (b), as usual with other text editors, if one comes with the mouse below the mode-line of the frame, the cursor stays at the beginning or end of the region, and there is no line which appears non-selected. > > I could neither find any explanation for this discrepancy in the manuals, nor a customization option which, for (a), gives the same behavior as in case of (b). mouse-drag-region selects whole lines, so it moves the cursor beyond the end of the last line in the region, to cause the scrolling. I see no problem in either behavior, and don't really understand why there should be any consistency between these two. They do different things. From unknown Sat Sep 20 15:43:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39424: auto-scrolling References: <573519B4-B7CE-4B10-B892-EA388CF67A5F@univie.ac.at> In-Reply-To: <573519B4-B7CE-4B10-B892-EA388CF67A5F@univie.ac.at> Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Feb 2020 20:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39424 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii , Konrad Podczeck Cc: 39424@debbugs.gnu.org Received: via spool by 39424-submit@debbugs.gnu.org id=B39424.158084885813120 (code B ref 39424); Tue, 04 Feb 2020 20:41:01 +0000 Received: (at 39424) by debbugs.gnu.org; 4 Feb 2020 20:40:58 +0000 Received: from localhost ([127.0.0.1]:44821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iz50E-0003PY-5k for submit@debbugs.gnu.org; Tue, 04 Feb 2020 15:40:58 -0500 Received: from mail152c50.megamailservers.eu ([91.136.10.162]:41650 helo=mail50c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iz509-0003PN-MQ for 39424@debbugs.gnu.org; Tue, 04 Feb 2020 15:40:56 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1580848851; bh=ZjbGwvsCIqE5Oa2+IWpKe9GkzoW7TdbWio8FaHGYsWc=; h=From:Subject:Date:Cc:To:From; b=kz4iz6R2J1/nRMsDQRL+Fd008wMpHneQ3MA5L+peK8dHYErj4TUhkzgBJ8rw2WzHj q1w4g33trkA670gOqB4GVKxUk92xPDlvN/51bhdb3tb42kwvpNqDSqTtnNndBvsdH4 UJK1NsVKE0qR/NFxu+59QC31iv7sHwJ/uBToy3nY= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-6f4fe655.032-75-73746f71.bbcust.telenor.se [85.230.79.111]) (authenticated bits=0) by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 014Ken2j001305; Tue, 4 Feb 2020 20:40:51 +0000 From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Message-Id: Date: Tue, 4 Feb 2020 21:40:48 +0100 X-Mailer: Apple Mail (2.3445.104.11) X-CTCH-RefID: str=0001.0A0B020F.5E39D6D3.003C, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=N4FX6F1B c=1 sm=1 tr=0 a=fHaj9vQUQVKQ4sUldAaXuQ==:117 a=fHaj9vQUQVKQ4sUldAaXuQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=6DplECdP3Dp7Z6PcF0gA:9 a=7Zwj6sZBwVKJAoWSPKxL6X1jA+E=:19 a=CjuIK1q_8ugA:10 X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > mouse-drag-region selects whole lines, so it moves the cursor beyond > the end of the last line in the region, to cause the scrolling. mouse-drag-region selects characters, words or lines depending on how many clicks were used to initiate the drag. Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: megamailservers.eu] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > mouse-drag-region selects whole lines, so it moves the cursor beyond > the end of the last line in the region, to cause the scrolling. mouse-drag-region selects characters, words or lines depending on how = many clicks were used to initiate the drag. If I understand Konrad's request correctly, he suggests that the last = line be partially selected during autoscrolling, to match the horizontal = position of the mouse cursor, at least during single-click-selection -- = is that right? For mouse-drag-region-rectangle this is a clear necessity, but only a = minor cosmetic detail for linear selection. That's why nobody bothered = to do anything about it until rectangle-selection was added. From unknown Sat Sep 20 15:43:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#39424: auto-scrolling Resent-From: Konrad Podczeck Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Feb 2020 21:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39424 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: 39424@debbugs.gnu.org, Eli Zaretskii Received: via spool by 39424-submit@debbugs.gnu.org id=B39424.158085149617170 (code B ref 39424); Tue, 04 Feb 2020 21:25:01 +0000 Received: (at 39424) by debbugs.gnu.org; 4 Feb 2020 21:24:56 +0000 Received: from localhost ([127.0.0.1]:44877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iz5gl-0004Sr-Tj for submit@debbugs.gnu.org; Tue, 04 Feb 2020 16:24:56 -0500 Received: from grace.univie.ac.at ([131.130.3.115]:60342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iz5gk-0004Si-6R for 39424@debbugs.gnu.org; Tue, 04 Feb 2020 16:24:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=To:References:Message-Id:Content-Transfer-Encoding: Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/ARMYpOXtyreZ2Mnia7CGp8rcUsKA0Jgcn/wKxKCO0Y=; b=FL3fj6B3zx+csyVEt298vjralW 0pHht84498eA+qJiHJeetvw7fDnk4+DTAxoH0JO2VdJxRr/2u4S345abcKj0NctduigXV1OiQwEUw YjrTYBoEBq+BZKTJPjeZMXbNV8GYMFONSv/vUOiM1uvcNGuS23yYwuB/cOB6Lg1sP8Uo=; Received: from joan.univie.ac.at ([131.130.3.110] helo=joan.univie.ac.at) by grace.univie.ac.at with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.93) (envelope-from ) id 1iz5gg-0003O9-Tv; Tue, 04 Feb 2020 22:24:50 +0100 Received: from 217-149-170-28.nat.highway.telekom.at ([217.149.170.28] helo=[10.0.0.13]) by joan.univie.ac.at with esmtpsa (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.93) (envelope-from ) id 1iz5gg-0001Zr-FT; Tue, 04 Feb 2020 22:24:50 +0100 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) From: Konrad Podczeck In-Reply-To: Date: Tue, 4 Feb 2020 22:24:44 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Univie-Virus-Scan: scanned by ClamAV on joan.univie.ac.at X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Am 04.02.2020 um 21:40 schrieb Mattias Engdeg=C3=A5rd = : >=20 >> mouse-drag-region selects whole lines, so it moves the cursor beyond >> the end of the last line in the region, to cause the scrolling. >=20 > mouse-drag-region selects characters, words or lines depending on how = many clicks were used to initiate the drag. >=20 > If I understand Konrad's request correctly, he suggests that the last = line be partially selected during autoscrolling, to match the horizontal = position of the mouse cursor, at least during single-click-selection -- = is that right? Yes, that=E2=80=99s what I mean. Thanks, Konrad > For mouse-drag-region-rectangle this is a clear necessity, but only a = minor cosmetic detail for linear selection. That's why nobody bothered = to do anything about it until rectangle-selection was added. >=20