GNU bug report logs - #1450
w32_reset_fringes

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Fri, 28 Nov 2008 13:05:05 UTC

Severity: grave

Tags: patch

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 1450 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: 1450 <at> debbugs.gnu.org
Subject: Re: bug#1450: w32_reset_fringes
Date: Fri, 28 Nov 2008 14:22:45 +0100
The first report was too complicated.  It's sufficient to put the
following line into your .emacs

(setq default-frame-alist '((minibuffer)))

and kill the minibuffer window.  The bug seems due to Richard's change
from 2008-02-08 ...

***************
*** 1393,1404 ****
  	      && EQ (frame,
  		     WINDOW_FRAME (XWINDOW
  				   (FRAME_MINIBUF_WINDOW (XFRAME (this))))))
! 	    error ("Attempt to delete a surrogate minibuffer frame");
  	}
      }

!   /* Run `delete-frame-functions' unless frame is a tooltip.  */
!   if (!NILP (Vrun_hooks)
        && NILP (Fframe_parameter (frame, intern ("tooltip"))))
      {
        Lisp_Object args[2];
--- 1395,1415 ----
  	      && EQ (frame,
  		     WINDOW_FRAME (XWINDOW
  				   (FRAME_MINIBUF_WINDOW (XFRAME (this))))))
! 	    {
! 	      /* If we MUST delete this frame, delete the other first.  */
! 	      if (!NILP (force))
! 		Fdelete_frame (this, force);
! 	      else
! 		error ("Attempt to delete a surrogate minibuffer frame");
! 	    }
  	}
      }

... but maybe other changes are involved too.

martin




This bug report was last modified 16 years and 152 days ago.

Previous Next


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