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


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

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> linkov.net>
Cc: 32850 <at> debbugs.gnu.org
Subject: Re: bug#32850: 27.0.50;
 window-swap-states doesn't swap window prev/next-buffers
Date: Fri, 19 Oct 2018 09:40:38 +0200
> I found a problem, it occurs very rarely:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>    get-buffer(nil)
>    #f(compiled-function (entry) #<bytecode 0x22c739>)((nil nil nil))
>    mapcar(#f(compiled-function (entry) #<bytecode 0x22c739>) (("*Group*" 1 139) (nil nil nil) ("*sent reply to martin rudalics*" 1 1090)))
>    window--state-put-2(safe 737)
>    window-state-put(...)
>
> Do you have an idea how did (nil nil nil) find its way into the list of
> prev-buffers?  (window-state-get was used with the non-nil WRITABLE arg)

The most simple way to find out is to define such a list in window.c
and have 'set-window-prev-buffers' holler if the prev_buffers argument
is equal to that list.

martin




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.