bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1276: marked as done (23.0.60; select_window_norecord chokes on dea


From: Emacs bug Tracking System
Subject: bug#1276: marked as done (23.0.60; select_window_norecord chokes on dead window)
Date: Fri, 31 Oct 2008 07:15:02 -0700

Your message dated Fri, 31 Oct 2008 15:07:41 +0100
with message-id <490B112D.8010403@gmx.at>
and subject line Re: bug#1276: 23.0.60; select_window_norecord chokes on dead 
window
has caused the Emacs bug report #1276,
regarding 23.0.60; select_window_norecord chokes on dead window
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
1276: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1276
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems
--- Begin Message --- Subject: 23.0.60; select_window_norecord chokes on dead window Date: Thu, 30 Oct 2008 12:39:58 +0100 User-agent: Thunderbird 2.0.0.16 (Windows/20080708)
To reproduce with emacs -Q evaluate the following form

(progn
   (setq debug-on-error t)
   (set-frame-height (selected-frame) 10)
   (split-window)
   (temp-buffer-resize-mode)
   (setq temp-buffer-max-height 20))

and do

   C-h v temp-buffer-max-height

Gets me

Debugger entered--Lisp error: (wrong-type-argument window-live-p #<window 3>)
   describe-variable(temp-buffer-max-height)
   call-interactively(describe-variable nil nil)


FWIW, the reason is that `fit-window-to-buffer' deletes prev_window
temp_output_buffer_show eventually wants to resurrect after running
`temp-buffer-show-hook'.  The attached patch fixes this for me.

martin, who thinks that `fit-window-to-buffer' shouldn't delete windows ...

*** window.c.~1.631.~   2008-10-29 10:29:14.718750000 +0100
--- window.c    2008-10-30 11:08:50.406250000 +0100
***************
*** 3643,3649 ****
  select_window_norecord (window)
       Lisp_Object window;
  {
!   return Fselect_window (window, Qt);
  }
  
  Lisp_Object
--- 3643,3650 ----
  select_window_norecord (window)
       Lisp_Object window;
  {
!   return WINDOW_LIVE_P (window)
!     ? Fselect_window (window, Qt) : selected_window;
  }
  
  Lisp_Object


--- End Message ---
--- Begin Message --- Subject: Re: bug#1276: 23.0.60; select_window_norecord chokes on dead window Date: Fri, 31 Oct 2008 15:07:41 +0100 User-agent: Thunderbird 2.0.0.16 (Windows/20080708)
Fixed as

2008-10-31  Martin Rudalics  <rudalics@gmx.at>

        * window.c [...]
        (select_window_norecord): Fix return value.  (Bug#1276)

martin


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]