GNU bug report logs - #14527
24.3.50; error in window-state-get

Previous Next

Package: emacs;

Reported by: Constantin Kulikov <zxnotdead <at> gmail.com>

Date: Sat, 1 Jun 2013 10:02:01 UTC

Severity: normal

Found in version 24.3.50

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Constantin Kulikov <zxnotdead <at> gmail.com>, 
	Dmitry Antipov <dmantipov <at> yandex.ru>
Cc: 14527 <at> debbugs.gnu.org
Subject: Re: bug#14527: 24.3.50; error in window-state-get
Date: Sat, 01 Jun 2013 14:33:16 +0200
> emacs-version is "24.3.50.1" (yesterday's trunk) though this error was
> introduced in some earlier version.
>
> emacs -Q --debug-init
> M-: (window-state-get)
> see the error:
> ```
> Debugger entered--Lisp error: (error "Combination limit is meaningful for
> internal windows only")
>   window-combination-limit(#<window 0x11106b8 on *scratch*>)
>   window--state-get-1(#<window 0x11106b8 on *scratch*> nil)
>   window-state-get()
>   eval((window-state-get) nil)
>   eval-expression((window-state-get) nil)
>   call-interactively(eval-expression nil nil)
>   command-execute(eval-expression)
> ```

Thanks.  It's due to that change:

2013-03-19  Dmitry Antipov  <dmantipov <at> yandex.ru>

	* window.c (Fwindow_combination_limit, Fset_window_combination_limit):
	Signal error if window is not internal.  Adjust docstring.

You could try to work around it by using

            (combination-limit
	     . ,(unless (window-live-p window)
		  (window-combination-limit window)))

in `window-state-get' but I have no idea whether this would break any
things.  In any case it might be simpler to revert the change because
the original behavior was not broken IIUC.

martin




This bug report was last modified 11 years and 218 days ago.

Previous Next


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