emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dmitrii Korobeinikov <dim1212k@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Preventing org-cycle from scrolling the buffer
Date: Thu, 19 Mar 2020 13:49:51 +0600	[thread overview]
Message-ID: <CA+Yh0STtHYHTrH-hFkucegC1=7DDTZRr0Tww=-dhPohtijsauQ@mail.gmail.com> (raw)

HI all,

When calling org-cycle on a collapsed section which contains a lot of
text, the headline is adjusted to the top of the page. Collapsing it
doesn't revert the scroll, which makes it hard to quickly peek at
what's in the section without getting disoriented. Is there a flag or
some other way of turning off this autoscroll?

Scroll revert wouldn't be so bad to have either, by the way (in
addition to, not instead of, though). Since org knows when the cursor
moves away from the headline after tabbing, it seems this feature can
be implemented without too much hassle. I would even go as far as to
suggest making it a default if it gets done.

What do you think?

Best,
DK

             reply	other threads:[~2020-03-19  7:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-19  7:49 Dmitrii Korobeinikov [this message]
2020-03-31 15:29 ` Preventing org-cycle from scrolling the buffer Marco Wahl
2020-04-03 10:41   ` Dmitrii Korobeinikov
2020-09-05  5:26     ` Bastien
2020-09-06 18:14       ` Dmitrii Korobeinikov

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to='CA+Yh0STtHYHTrH-hFkucegC1=7DDTZRr0Tww=-dhPohtijsauQ@mail.gmail.com' \
    --to=dim1212k@gmail.com \
    --cc=emacs-orgmode@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).