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: Thu, 3 Aug 2017 15:34:38 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1501767323 9084 195.159.176.226 (3 Aug 2017 13:35:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 3 Aug 2017 13:35:23 +0000 (UTC) To: 27932@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 03 15:35:20 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 1ddGHX-0001ql-AN for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Aug 2017 15:35:19 +0200 Original-Received: from localhost ([::1]:43301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddGHY-00034N-Aa for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Aug 2017 09:35:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddGHK-0002zi-Gr for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2017 09:35:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddGHG-0001PQ-LY for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2017 09:35:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36711) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddGHG-0001Oq-H8 for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2017 09:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ddGHG-0007e4-Ak for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2017 09:35: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: Thu, 03 Aug 2017 13:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27932 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.150176729229365 (code B ref -1); Thu, 03 Aug 2017 13:35:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Aug 2017 13:34:52 +0000 Original-Received: from localhost ([127.0.0.1]:39388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddGH6-0007dZ-HN for submit@debbugs.gnu.org; Thu, 03 Aug 2017 09:34:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddGH4-0007dM-U2 for submit@debbugs.gnu.org; Thu, 03 Aug 2017 09:34:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddGGy-000142-QB for submit@debbugs.gnu.org; Thu, 03 Aug 2017 09:34:45 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46138) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ddGGy-00013u-Mx for submit@debbugs.gnu.org; Thu, 03 Aug 2017 09:34:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddGGx-0002XP-Es for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2017 09:34:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddGGw-00011y-Hv for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2017 09:34:43 -0400 Original-Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:36179) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddGGw-0000xW-AN for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2017 09:34:42 -0400 Original-Received: by mail-wm0-x230.google.com with SMTP id t201so15504782wmt.1 for ; Thu, 03 Aug 2017 06:34:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=59PSG4wWri4zPymttcYuGheUAnHUWL8yL7O6adG6xe8=; b=POslG5i6rYadiAyX6M9U9tTl3D8CxmVtgw2VbsghPWh2ZJO385DcFARfJgrJ031SPw KlRFpubGipJ5pHQDX8zQiOsMUACzbSFpPrnli5FzFkNtwKlvzLFMB9ps8ZrFazW2YhuM rFs0dvg1dAg1q408PC2R5MgsN8nvgvEEam/u+IYpasWTOr7Psd6ow4Jfx4sz6XPTiaaT 0INHinel7CnovCYyONaOljWCBEMGVRQFqYPiA0LKL5UxQa2bjmWX6WLp+36goF1Hjn5s 8VxNFZYi+RmecUDnRZTHko9+D2v1XRh6q+vII0ii8HEhtQ2LKWOusW1N2i8mxtvK2oSF YGiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=59PSG4wWri4zPymttcYuGheUAnHUWL8yL7O6adG6xe8=; b=NiwJ3NEEY2VVQzSyUanVOT0LPxgGBuC4HH3A6jmQ5OHsbP9aIWwmL4wSOaluVUebL5 M915u++YHnPcPHms+ZZIVZR2auEqoJhG8+uQUxjjQiRR8Ngb3CfnRNIsDheKA2sKGIiw IHParr8ngjYnBgOYd6Hms6h0TEF6z7mgsDh0wDGhrrUtZq8h9l/IsLSi1VKww9uE/pNo nbx17HcC2yZoP0nw5CYlLbRFBaKtfhcv/5/tVJsPZqSTmSMFk1brKrhWKsTr9Gc93ta3 TkysicVSu5Qg/mlDg9wwOkLdmg8t4nGB2T7F5z4nPdQ84gPd1rgGEwNITSMnNEL3LSxQ ugUg== X-Gm-Message-State: AHYfb5jA5RNp4FCa4pso/rsj/L3mP8a2U9rIrfP8TtEjBBZF9ejedekc 0kd+BeeGdtHbmZ81kWZTf/9+QsEuh9NY X-Received: by 10.28.191.14 with SMTP id p14mr1536139wmf.64.1501767279139; Thu, 03 Aug 2017 06:34:39 -0700 (PDT) Original-Received: by 10.28.216.78 with HTTP; Thu, 3 Aug 2017 06:34:38 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:135274 Archived-At: Severity: wishlist Hi, I'd like to ask for a feature which I'm used to in other text editors like notepad and notepad++ on MS-Windows (I think many other editors may have it too). I'd like to be able to configure Emacs so that scroll commands _never_ move point (cursor) from its _buffer_ location. That could lead to situations where the point/cursor is not visible (it is out of the visible portion of text). In that situations, any command which moves the cursor/point (e.g. C-f) or changes buffer text should trigger an auto-scroll to get the point/cursor back to the visible area (window), preserving its _buffer_ location. That feature could be enabled by giving some special value (e.g. 'never) to the variable "scroll-preserve-screen-position". I don't know how complex is that to implement, but I think some users may like it. -- Dani Moncayo In GNU Emacs 26.0.50 (build 1, x86_64-unknown-cygwin) of 2017-07-24 built on ZVDES404 Repository revision: 6dc5d45c542a6f9cfbcf3e37d597c9e0efb3070d Windowing system distributor 'Microsoft Corp.', version 6.3.9600 Configured using: 'configure --with-mailutils --with-w32' Configured features: SOUND ACL GNUTLS ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: C.ISO-8859-1 locale-coding-system: iso-latin-1-unix