all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: 27932@debbugs.gnu.org
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	[thread overview]
Message-ID: <CAH8Pv0hW7a3eJa5bBwx6LHVS2joUtB_yHwQizj4CN50x-OU74Q@mail.gmail.com> (raw)

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	other threads:[~2017-08-03 13:34 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-03 13:34 Dani Moncayo [this message]
2017-08-03 16:42 ` bug#27932: 26.0.50; Feature request: prevent scroll commands from changing the buffer location of point Eli Zaretskii
     [not found]   ` <CAH8Pv0gjYZZAfciNTaqKcj37C51dSdJOzD+4AZFFY2wjOu6Fgg@mail.gmail.com>
     [not found]     ` <83ini3yi49.fsf@gnu.org>
2017-08-04  6:34       ` Dani Moncayo
2017-08-04 21:36   ` Richard Stallman
2017-08-05  6:44     ` Eli Zaretskii
2017-08-05 20:19       ` Richard Stallman
2017-08-06 17:18         ` Eli Zaretskii
2017-08-06 21:00           ` Dani Moncayo
2017-08-07  2:28             ` Eli Zaretskii
2017-08-07  5:54               ` Dani Moncayo
2017-08-07 12:32                 ` Tak Kunihiro
2017-08-07 16:38                 ` Eli Zaretskii
2017-08-07 21:09                   ` Dani Moncayo
2017-08-03 17:56 ` martin rudalics
2017-08-03 23:16 ` Tak Kunihiro
2017-08-04  6:15   ` Eli Zaretskii
2017-08-04  6:39     ` Tak Kunihiro
2017-08-04  8:01       ` Eli Zaretskii
2017-08-04 10:33         ` Tak Kunihiro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH8Pv0hW7a3eJa5bBwx6LHVS2joUtB_yHwQizj4CN50x-OU74Q@mail.gmail.com \
    --to=dmoncayo@gmail.com \
    --cc=27932@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.