GNU bug report logs - #32850
27.0.50; window-swap-states doesn't swap window prev/next-buffers

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Thu, 27 Sep 2018 00:06:02 UTC

Severity: minor

Found in version 27.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: rudalics <at> gmx.at, 32850 <at> debbugs.gnu.org
Subject: bug#32850: 27.0.50; window-swap-states doesn't swap window prev/next-buffers
Date: Tue, 06 Nov 2018 05:26:37 +0200
> From: Juri Linkov <juri <at> linkov.net>
> Date: Mon, 05 Nov 2018 23:38:27 +0200
> Cc: 32850 <at> debbugs.gnu.org
> 
> diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
> index 772bcdf9a6..49698f45bf 100644
> --- a/doc/lispref/windows.texi
> +++ b/doc/lispref/windows.texi
> @@ -5706,9 +5706,10 @@ Window Configurations
>  The argument @var{state} should be the state of a window returned by
>  an earlier invocation of @code{window-state-get}, see above.  The
>  optional argument @var{window} can be either a live window or an
> -internal window (@pxref{Windows and Frames}) and defaults to the
> -selected one.  If @var{window} is not live, it is replaced by a live
> -window before putting @var{state} into it.
> +internal window (@pxref{Windows and Frames}).  If @var{window} is not
                                                  ^^^^^^^^^^^^^^^^^^^^^^
> +live, it is replaced by a new live window created on the same subtree
   ^^^^

"If @var{window} is not a live window, ..."

> +before putting @var{state} into it.  If @var{window} is nil, it puts
                                                           ^^^
"nil" is a symbol, so @code{nil}.

> diff --git a/lisp/window.el b/lisp/window.el
> index bcd4fa2959..b8a8b81af3 100644
> --- a/lisp/window.el
> +++ b/lisp/window.el
> @@ -5889,29 +5889,34 @@ window-state-put
>    "Put window state STATE into WINDOW.
>  STATE should be the state of a window returned by an earlier
>  invocation of `window-state-get'.  Optional argument WINDOW must
> -specify a valid window and defaults to the selected one.  If
> -WINDOW is not live, replace WINDOW by a live one before putting
> -STATE into it.
> +specify a valid window.  If WINDOW is not live, replace WINDOW

Same here.




This bug report was last modified 6 years and 183 days ago.

Previous Next


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