bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27932: 26.0.50; Feature request: prevent scroll commands from changi


From: Dani Moncayo
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

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]