emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug org-cycke fails after "replace-string" is
       [not found] <91c26546-0b05-d7cf-c4b1-a596a8d3b8a6.ref@verizon.net>
@ 2022-11-29 14:44 ` Charles Millar
  2022-12-04  6:04   ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Charles Millar @ 2022-11-29 14:44 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- 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



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

* Re: Bug org-cycke fails after "replace-string" is
  2022-11-29 14:44 ` Bug org-cycke fails after "replace-string" is Charles Millar
@ 2022-12-04  6:04   ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2022-12-04  6:04 UTC (permalink / raw)
  To: Charles Millar; +Cc: emacs-orgmode@gnu.org

Charles Millar <millarc@verizon.net> writes:

> 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"

I am unable to reproduce using Org 9.6 and Emacs 29.

-- 
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-04 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <91c26546-0b05-d7cf-c4b1-a596a8d3b8a6.ref@verizon.net>
2022-11-29 14:44 ` Bug org-cycke fails after "replace-string" is Charles Millar
2022-12-04  6:04   ` 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).