From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Basic visibility cycling bug in 8.3.6 Date: Sat, 15 Oct 2016 22:25:13 +0200 Message-ID: <87lgxp2wd2.fsf@nicolasgoaziou.fr> References: <1476544932.2521.17.camel@XPS12> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvVWA-00063i-ID for emacs-orgmode@gnu.org; Sat, 15 Oct 2016 16:25:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvVW7-0007cw-0N for emacs-orgmode@gnu.org; Sat, 15 Oct 2016 16:25:18 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:38140) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bvVW6-0007cQ-Qb for emacs-orgmode@gnu.org; Sat, 15 Oct 2016 16:25:14 -0400 In-Reply-To: <1476544932.2521.17.camel@XPS12> (Marcus Zibrowius's message of "Sat, 15 Oct 2016 17:22:12 +0200") 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.org@gnu.org Sender: "Emacs-orgmode" To: Marcus Zibrowius Cc: emacs-orgmode@gnu.org Hello, Marcus Zibrowius writes: > In this version, visibility cycling does not work as expected. Consider > the following three-line example file: > > * a > ** b > ** c > > Consider the following sequence of commands: > 1. Place cursor on the letter b. > 2. In the menu, choose Org > Refresh/Reload > Refresh setup current > buffer. Note that you are leaving, on purpose, point in an invisible part of the document. > (I do not know how to access this command directly). > 3. Press TAB on your keyboard. > > If I do this in org-mode 8.3.6, my buffer looks as follows: > > * a > ** b > ... > > In this minimalistic example, pressing TAB once more will bring back the > line with the c, but in more complex examples, some parts of the buffer > seem to "get lost". Moreover, I often find my files garbled like this > when I open them from the agenda. You can reveal text around point with C-c C-r (or even C-u C-c C-r). See `org-reveal' for details. By the way, Org 9.0 (yet to be released) contains a variable to control this: `org-show-context-detail'. You may want to update Org. > If I apply the above sequence of commands using my built-in org-mode > 7.9.3, everything is fine. I can reproduce the same with Org 7.9.3. Regards, -- Nicolas Goaziou