emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Millar <millarc@verizon.net>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Bug org-cycke fails after "replace-string" is
Date: Tue, 29 Nov 2022 09:44:47 -0500	[thread overview]
Message-ID: <91c26546-0b05-d7cf-c4b1-a596a8d3b8a6@verizon.net> (raw)
In-Reply-To: 91c26546-0b05-d7cf-c4b1-a596a8d3b8a6.ref@verizon.net

[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]

Attached is an example

1. Open all headings etc. show the contents then Collapse all headings
2. Cycle First Heading to show its content
3. Cycle Second Heading to show only the subheadings, but not the 
content of each subheading
3. Cycle Subheading B, to show its content.
4. go to point-min and then replace "Charlie" with a string of your choice

After the replace string is executed, I cannot cycle Subheading A or 
Subheading B

Likewise if all headings are collapsed and I execute a replace-string 
"Chas" I cannot org-cycle through "First heading" and "Second heading", 
but I can cycle "Third heading"

If you add a Fourth heading with the string to be replaced, you cannot 
cycle through any headings if a string.is replaced in the fourth heading

I just pulled Org 9.6 from git. However I noticed this behavior a while 
ago but cannot recall exactly when. I searched the list but no luck.

Org mode version 9.6 (release_9.6 @ /usr/local/share/org-mode/lisp/)

GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, 
cairo version 1.16.0) of 2022-11-25

Charlie Millar

[-- Attachment #2: OrgCycleBug.org --]
[-- Type: text/org, Size: 138 bytes --]

* First heading
Chas


* Second heading
** Subheading A
Chas
** Subheading B
Chaz
** Subheading C
Chat


* Third heading
some more text



       reply	other threads:[~2022-11-29 14:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <91c26546-0b05-d7cf-c4b1-a596a8d3b8a6.ref@verizon.net>
2022-11-29 14:44 ` Charles Millar [this message]
2022-12-04  6:04   ` Bug org-cycke fails after "replace-string" is Ihor Radchenko

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=91c26546-0b05-d7cf-c4b1-a596a8d3b8a6@verizon.net \
    --to=millarc@verizon.net \
    --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).