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 07:54:21 +0200 Message-ID: References: <83tw1oy54c.fsf@gnu.org> <83mv7ewm1i.fsf@gnu.org> <83lgmwty18.fsf@gnu.org> <83ini0t8k8.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 1502085320 30863 195.159.176.226 (7 Aug 2017 05:55:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 Aug 2017 05:55:20 +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 07:55:13 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 1deb0P-0007SR-MY for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Aug 2017 07:55:09 +0200 Original-Received: from localhost ([::1]:35459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deb0V-0001Ee-Q4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Aug 2017 01:55:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deb0M-0001DH-03 for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 01:55:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1deb0I-0002dC-VT for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 01:55:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42509) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1deb0I-0002cq-RE for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 01:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1deb0I-000097-Ct for bug-gnu-emacs@gnu.org; Mon, 07 Aug 2017 01:55: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 05:55: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.1502085270509 (code B ref 27932); Mon, 07 Aug 2017 05:55:02 +0000 Original-Received: (at 27932) by debbugs.gnu.org; 7 Aug 2017 05:54:30 +0000 Original-Received: from localhost ([127.0.0.1]:45186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deazl-000089-M1 for submit@debbugs.gnu.org; Mon, 07 Aug 2017 01:54:29 -0400 Original-Received: from mail-wr0-f177.google.com ([209.85.128.177]:35661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deazk-00007t-05 for 27932@debbugs.gnu.org; Mon, 07 Aug 2017 01:54:28 -0400 Original-Received: by mail-wr0-f177.google.com with SMTP id k71so35236456wrc.2 for <27932@debbugs.gnu.org>; Sun, 06 Aug 2017 22:54:27 -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=hzXEMPLzFlqUToSKiiRA2v8tizdTnzfYLZ02uvGUyFM=; b=j5qVIEM4V9/wXmMrRmzsT+Bk9nh3tcsTxAWDlx4srGH6vWXmlpA04OeFkmGVISgQ64 xPFXpUtTiwgxtP1Zs4GgzI8PjmbMrpwnNNpiEKXBLJTP/Eu/uExsVEm+MJRshKgf41eo 9ZHsgHvAcfq3v/bI6ZrtWcHR1R6WGwDHQmxrWL20iaK0S6HT1yo0IVe9wNIx2P+q3Z+M fdt2F66Xrp3vtVxISRNNeGI89sETT1m/cx1VUuQjrOLYprvy+w9cUMx3WNZY/VPf+xaU wUPvoZi5Hh4mNmOaJJuQWICHemu7bnRV1ZwFL5/dkt3hW29G40yfmewWzusicz0Q5m2W Kq1Q== 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=hzXEMPLzFlqUToSKiiRA2v8tizdTnzfYLZ02uvGUyFM=; b=GapIbwTuwtP9D+B3stxvhtlsakrLNXbfaA2NK1v+hq5Pf8HPPwi741Jtr7OexsfzpS Nu83kbiqwq/Xofj2KWJ/tfatm+8zUquVJKUGdnZrAMIGn/ij9+B2y80E6uO3errzmJze cy4pzhtQIpXE971utrdatq2Bn8dKDmGNal1Je14hHHhm9qXkhH3ex6q62FdjQfJ7n1UI 3zngDfkz9apNwuBbCPE7hqDNM5d00B8iuhhGbGVaidtPDBaIrpA/MlkMEn/Osr/BI1Ed Z/b8yjkmvb5foVsfDb+KbcVNlcdIv7mpa/NcaVgDo+WZU4wrenOYvYk73+xNfc/kijWC BWfQ== X-Gm-Message-State: AIVw113IcFL8e9KG+Dk8XKrS1mN437cAePSVHEcaRxKAeHT7e2riGjcx Tprrc0WgAeoioqY46ABB/n2KeJ6gSA== X-Received: by 10.223.176.57 with SMTP id f54mr6722439wra.194.1502085262079; Sun, 06 Aug 2017 22:54:22 -0700 (PDT) Original-Received: by 10.28.100.196 with HTTP; Sun, 6 Aug 2017 22:54:21 -0700 (PDT) In-Reply-To: <83ini0t8k8.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:135529 Archived-At: >> Maybe I'm missing something, but I don't think that the >> meaning/interpretation of 'scroll-conservatively' should be changed at >> all, because AFAIK, that variable controls the auto-scroll triggered >> by a point movement, and such auto-scroll would be equally necessary >> with the proposed feature enabled (and should work equally). > > ??? The proposed feature is that point could go off the view without > requiring any scrolling. The proposed feature is that any _scrolling_command_ (e.g. C-v, M-v, mouse-wheel, ...) should perform its scrolling without altering the location of point (wrt its buffer). But any command which changes either the location of point (wrt its buffer) (e.g. "C-u 200 C-n" or the buffer text should check whether the point is currently visible, and if it isn't visible, it should trigger an auto-scroll to make point visible (exactly as happens now). In short: point movement should trigger auto-scrolling (as now), but scrolling should not move point. -- Dani Moncayo