Subject: bug#70819: 29.3; clone-indirect-buffer-other-window is inconsistent with *-other-window commands

From: martin rudalics <[email-masked]>
Date: Sun, 12 May 2024 10:30:21 +0200

>>    (switch-to-buffer-other-window
 >>     (clone-indirect-buffer newname display-flag norecord)))

If DISPLAY-FLAG is non-nil, 'clone-indirect-buffer' will by default try
to pop to a clone of the current buffer in the selected window via

       (pop-to-buffer buffer nil norecord))

What is 'switch-to-buffer-other-window' supposed to do then?

I suppose what you mean is

   (let ((buffer (clone-indirect-buffer newname nil norecord)))
     (when display-flag
       (switch-to-buffer-other-window buffer norecord))
     buffer)

martin