GNU bug report logs - #70819
29.3; clone-indirect-buffer-other-window is inconsistent with *-other-window commands

Previous Next

Package: emacs;

Reported by: Richard Sent <richard <at> freakingpenguin.com>

Date: Tue, 7 May 2024 16:21:02 UTC

Severity: normal

Found in version 29.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 70819 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: richard <at> freakingpenguin.com, rudalics <at> gmx.at
Cc: 70819 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#70819: [PATCH] Make clone-indirect-buffer-other-window use
 other window
Date: Sat, 08 Jun 2024 14:45:57 +0300
Ping! Ping! Richard, please augment your patch according to Martin's
comments, so we could install this.

> Cc: martin rudalics <rudalics <at> gmx.at>, 70819 <at> debbugs.gnu.org,
>  monnier <at> iro.umontreal.ca
> Date: Sat, 25 May 2024 10:49:56 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> Ping!  Richard, could you please augment your pat6ch according to
> Martin's comments and resubmit?
> 
> > Date: Mon, 13 May 2024 10:05:52 +0200
> > Cc: Eli Zaretskii <eliz <at> gnu.org>, 70819 <at> debbugs.gnu.org
> > From: martin rudalics <rudalics <at> gmx.at>
> > 
> >  > -(defun clone-indirect-buffer-other-window (newname display-flag &optional norecord)
> >  > +(defun clone-indirect-buffer-other-window (newname &optional norecord)
> >  >     "Like `clone-indirect-buffer' but display in another window."
> >  >     (interactive
> >  >      (progn
> >  > @@ -10658,8 +10658,8 @@ Returns the newly created indirect buffer."
> >  >        (list (if current-prefix-arg
> >  >   	       (read-buffer "Name of indirect buffer: " (current-buffer)))
> >  >   	   t)))
> >  > -  (let ((pop-up-windows t))
> >  > -    (clone-indirect-buffer newname display-flag norecord)))
> >  > +  (switch-to-buffer-other-window
> >  > +   (clone-indirect-buffer newname nil norecord)))
> > 
> > I see two problems:
> > 
> > (1) 'clone-indirect-buffer-other-window' would still have to obey the
> >      DISPLAY_FLAG argument.  Some application may rely on the fact that
> >      'clone-indirect-buffer-other-window' doesn't display the buffer if
> >      it is nil.
> > 
> > (2) 'switch-to-buffer-other-window' does not get passed the NORECORD
> >      argument.
> > 
> > martin
> > 
> 
> 
> 
> 




This bug report was last modified 1 year and 39 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.