emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-ctrl-c-ctrl-c on keyword makes entire buffer visible
@ 2022-12-09 19:42 Matt Lundin
  2022-12-10  9:05 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Lundin @ 2022-12-09 19:42 UTC (permalink / raw)
  To: emacs-orgmode

After upgrading to org 9.6, I find that refreshing the org buffer with
org-ctrl-c-ctrl-c causes the entire buffer (including drawers and other
folded items) to become visible.

I've tested this with a minimal config and the following org file:

--8<---------------cut here---------------start------------->8---
#+title: A buffer

* Test
:LOGBOOK:
- Note taken on [2022-12-09 Fri 11:50] \\
  A note
:END:
--8<---------------cut here---------------end--------------->8---

What I expect to see after typing C-c C-c on the #+title keyword:

--8<---------------cut here---------------start------------->8---
#+title: A buffer

* Test...
--8<---------------cut here---------------end--------------->8---

Instead, what I see is the entire buffer including the drawers.

In a large buffer with many drawers, this causes problems because the
drawers remain open even after cycling visibility locally or globally.

Git bisect suggests that the problem first appeared with
commit b8a0ddf52f4d5b5a3293affb45d1e8fd0426a7f0.

Thanks,

Matt






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] org-ctrl-c-ctrl-c on keyword makes entire buffer visible
  2022-12-09 19:42 [BUG] org-ctrl-c-ctrl-c on keyword makes entire buffer visible Matt Lundin
@ 2022-12-10  9:05 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2022-12-10  9:05 UTC (permalink / raw)
  To: Matt Lundin; +Cc: emacs-orgmode

Matt Lundin <mdl@imapmail.org> writes:

> After upgrading to org 9.6, I find that refreshing the org buffer with
> org-ctrl-c-ctrl-c causes the entire buffer (including drawers and other
> folded items) to become visible.
>
> I've tested this with a minimal config and the following org file:

Thanks for reporting!
Fixed now on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=aba51fb58

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-10  9:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-09 19:42 [BUG] org-ctrl-c-ctrl-c on keyword makes entire buffer visible Matt Lundin
2022-12-10  9:05 ` Ihor Radchenko

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).