unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>,
	Richard Sent <richard@freakingpenguin.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 70819@debbugs.gnu.org
Subject: bug#70819: 29.3; clone-indirect-buffer-other-window is inconsistent with *-other-window commands
Date: Sun, 12 May 2024 10:30:21 +0200	[thread overview]
Message-ID: <7106da3c-a897-4082-b858-8733c1fc4a53@gmx.at> (raw)
In-Reply-To: <86fruo3de1.fsf@gnu.org>

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





  reply	other threads:[~2024-05-12  8:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-07 16:19 bug#70819: 29.3; clone-indirect-buffer-other-window is inconsistent with *-other-window commands Richard Sent
2024-05-11  9:29 ` Eli Zaretskii
2024-05-12  8:30   ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-05-13  2:26   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-13  3:14     ` bug#70819: [PATCH] Make clone-indirect-buffer-other-window use other window Richard Sent
2024-05-13  5:22       ` Eli Zaretskii
2024-05-13  8:05       ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-25  7:49         ` Eli Zaretskii
2024-06-08 11:45           ` Eli Zaretskii
2024-06-08 13:29             ` Eli Zaretskii
2024-05-27 15:32 ` bug#70819: [PATCH v2] Make clone-indirect-buffer-other-window use other window (bug#70819) Richard Sent
2024-05-28  8:04   ` martin rudalics via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-08 12:18   ` Eli Zaretskii

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7106da3c-a897-4082-b858-8733c1fc4a53@gmx.at \
    --to=bug-gnu-emacs@gnu.org \
    --cc=70819@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=richard@freakingpenguin.com \
    --cc=rudalics@gmx.at \
    /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.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).