From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#27932: 26.0.50; Feature request: prevent scroll commands from changing the buffer location of point Date: Mon, 7 Aug 2017 23:09:36 +0200 Message-ID: References: <83tw1oy54c.fsf@gnu.org> <83mv7ewm1i.fsf@gnu.org> <83lgmwty18.fsf@gnu.org> <83ini0t8k8.fsf@gnu.org> <83bmnrtjt3.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1502140229 8667 195.159.176.226 (7 Aug 2017 21:10:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 Aug 2017 21:10:29 +0000 (UTC) Cc: 27932@debbugs.gnu.org, "Richard M. Stallman" To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 07 23:10:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1depHx-0001QT-G7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Aug 2017 23:10:13 +0200 Original-Received: from localhost ([::1]:39581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1depI1-0004vt-P7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Aug 2017 17:10:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1depHr-0004rH-OX for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 17:10:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1depHm-0006ed-UM for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 17:10:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42105) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1depHm-0006eP-QN for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 17:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1depHm-0006w9-Hy for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 17:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Aug 2017 21:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27932 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27932-submit@debbugs.gnu.org id=B27932.150214018526638 (code B ref 27932); Mon, 07 Aug 2017 21:10:02 +0000 Original-Received: (at 27932) by debbugs.gnu.org; 7 Aug 2017 21:09:45 +0000 Original-Received: from localhost ([127.0.0.1]:50786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1depHU-0006va-R4 for submit@debbugs.gnu.org; Mon, 07 Aug 2017 17:09:44 -0400 Original-Received: from mail-wr0-f178.google.com ([209.85.128.178]:36747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1depHS-0006vM-TG for 27932@debbugs.gnu.org; Mon, 07 Aug 2017 17:09:43 -0400 Original-Received: by mail-wr0-f178.google.com with SMTP id y43so5951289wrd.3 for <27932@debbugs.gnu.org>; Mon, 07 Aug 2017 14:09:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=NLb/VhdofE9QUqKM76po+mynyPMw9Esu5prowqm3IBY=; b=F1JGHHkDGWFFC58ZP2u4h9R9fTRfHaen4heRNtyQA0Il0ruNwSW9PaDSYXuOfdL89w 5mnQVRrj8AC3Aq2jfDkkqnrzEHlhjA8wd7GnbI8+wnT51efcX/LN5QFPbT7pLrcmkch7 xd14eYXChtYJ5va6Idhmk8fyUnsVBnum1kPJ9bw3XyEW1dfWDxnazWISQuu0ZIL8uleW TATeKoW9I7Q7BFMjq4xpY9IJ8cZh8LE+OZFVBJ3ICEw1K06g7oaXpoGF4BbjsOcuz7c2 nuL+kVkG/QR+EU4NgapZqIMEZ8jgHCbH0ujeXByiY+repuFCSFeamVkRQjh/GNYKc31Y ScfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=NLb/VhdofE9QUqKM76po+mynyPMw9Esu5prowqm3IBY=; b=sheS02gqACs85m/Zwl4ry9NjSQtRmj9xZskVXEPurOCqrVT+K2t444aadSxKLIRxMz T1Yc1+0mFc9bvxoWbK0YI+4Tet29JekdMLvRemyExYSzU8gm0Txl4GdHzPtzsNhaN6XL JCIwZL5SA6Hs1Q4hUFHGjt1RKStTvfMmVxmAQ24p/T8YMhJiRA3isft9cgqpxPP7cFQS E6GCbV48kSuJf2i8Vfq8/ETI3UxWK1FX8BoA42d43HZ+iNusNSLAtCY9B9Gb4jcKsX/5 ovrqPTiOct8YygaXmLDFLZxQORR/hG9eHw4AQaJnsL9C3FHJpqnj0ZFXdXTV24jCA+1v /jJg== X-Gm-Message-State: AHYfb5i1NRQIc2fgNipe6yeL6DR5pOVIk2M6fcYBY8gQPCoKRcAY4ur8 Sn3zA2cFoKs01XrXpY92WPHk9efTIQ== X-Received: by 10.223.176.57 with SMTP id f54mr1192778wra.194.1502140177012; Mon, 07 Aug 2017 14:09:37 -0700 (PDT) Original-Received: by 10.28.100.196 with HTTP; Mon, 7 Aug 2017 14:09:36 -0700 (PDT) In-Reply-To: <83bmnrtjt3.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135551 Archived-At: >> In short: point movement should trigger auto-scrolling (as now), but >> scrolling should not move point. > > I see a possible misunderstanding here: the way scrolling works in > Emacs, it moves point and then lets the display engine scroll the text > in the window to make point visible. So the two use cases you try to > differentiate are actually indistinguishable as far as the display > engine is concerned. For example, invoking goto-char invokes the same > display code as scrolling commands, which is why scroll-conservatively > is obeyed even by goto-char (as many users expect). Ok I think I understand. Then, the proposed feature would require a rethink of that approach, because user-requested scrolling (C-v, M-v, mouse-wheel) would _not_ be driven by point movement, obviously. -- Dani Moncayo