Julian M. Burgos writes: > I have not noticed that org-tree-to-indirect-buffer > reuses the indirect buffer when you call it for a second time. > According to the manual, "with a C-u prefix, do not remove the > previously used indirect buffer", but that does not seem to work. > When you do Cu-Cc-Cx-b from a buffer that already has an indirect > buffer you get a "cannot modify an area being edited in a dedicated > buffer". If you try it from a different buffer, the prefix is ignored > and the indirect buffer is assigned to the tree from the last buffer.
Hmm, could you provide a reproducer for the problem? Here's what I tried with the current master (afd75d05a), Emacs 27.1, and no custom configuration. --8<---------------cut here---------------start------------->8--- * a a content * b b content --8<---------------cut here---------------end--------------->8--- - on "a", C-c C-x b ;; org-tree-to-indirect-buffer Displays <file>-a-1 buffer. - move to "b", C-u C-c C-x b Displays <file>-b-1 buffer, a-1 buffer still exists.