all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: don@donarmstrong.com (Emacs bug Tracking System)
To: martin rudalics <rudalics@gmx.at>
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	[thread overview]
Message-ID: <handler.1276.D1276.12254621417207.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: 49099D0E.8040008@gmx.at

[-- Attachment #1: Type: text/plain, Size: 875 bytes --]


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

[-- Attachment #2: Type: message/rfc822, Size: 3725 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 727 bytes --]

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 ...


[-- Attachment #2.1.2: select_window_norecord.diff --]
[-- Type: text/plain, Size: 486 bytes --]

*** 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);
  }
  \f
  Lisp_Object
--- 3643,3650 ----
  select_window_norecord (window)
       Lisp_Object window;
  {
!   return WINDOW_LIVE_P (window)
!     ? Fselect_window (window, Qt) : selected_window;
  }
  \f
  Lisp_Object


[-- Attachment #3: Type: message/rfc822, Size: 1517 bytes --]

From: martin rudalics <rudalics@gmx.at>
To: 1276-done@emacsbugs.donarmstrong.com
Subject: Re: bug#1276: 23.0.60; select_window_norecord chokes on dead window
Date: Fri, 31 Oct 2008 15:07:41 +0100
Message-ID: <490B112D.8010403@gmx.at>

Fixed as

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

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

martin


      parent reply	other threads:[~2008-10-31 14:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <490B112D.8010403@gmx.at>
2008-10-30 11:39 ` bug#1276: 23.0.60; select_window_norecord chokes on dead window martin rudalics
2008-10-30 18:41   ` Stefan Monnier
2008-10-31 14:15   ` Emacs bug Tracking System [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=handler.1276.D1276.12254621417207.ackdone@emacsbugs.donarmstrong.com \
    --to=don@donarmstrong.com \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.