From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitrii Korobeinikov Subject: Preventing org-cycle from scrolling the buffer Date: Thu, 19 Mar 2020 13:49:51 +0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35199) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEpwM-0007cM-9i for emacs-orgmode@gnu.org; Thu, 19 Mar 2020 03:50:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEpwL-0002JG-Bk for emacs-orgmode@gnu.org; Thu, 19 Mar 2020 03:50:06 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:44001) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEpwL-0002DF-5w for emacs-orgmode@gnu.org; Thu, 19 Mar 2020 03:50:05 -0400 Received: by mail-wr1-x433.google.com with SMTP id b2so1393702wrj.10 for ; Thu, 19 Mar 2020 00:50:04 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode 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