Subject: Re: bug#16887: 24.3.50; Cannot resize window (from Org Export)

From: martin rudalics <[email-masked]>
Date: Sat, 01 Mar 2014 12:53:23 +0100

> With latest Emacs from trunk as of today, I cannot display the export
 > dispatch UI of Org.
 >
 > Here is a minimal recipe:
 >
 > emacs -Q
 > M-: (set-frame-font "Meslo LG M DZ 11") RET
 > C-x C-f ~/test.org RET
 > C-c C-e
 >
 > Of course, you need this the Meslo font installed.  But maybe the
 > problem happens for other fonts as well.
 >
 > I'm attaching a backtrace.
[...]
 > Debugger entered--Lisp error: (error "Cannot resize window #<window 8 on *Org Export Dispatcher*>")
 >   signal(error ("Cannot resize window #<window 8 on *Org Export Dispatcher*>"))
 >   error("Cannot resize window %s" #<window 8 on *Org Export Dispatcher*>)
 >   window-resize(#<window 8 on *Org Export Dispatcher*> 15 nil #<window 8 on *Org Export Dispatcher*> nil)
 >   window-resize-no-error(#<window 8 on *Org Export Dispatcher*> 15 nil #<window 8 on *Org Export Dispatcher*> nil)
 >   fit-window-to-buffer(nil nil nil)

I checked in a fix which might be related to this.  Please try again.

If it is not fixed please change the last three lines of `window-resize'
to

      (t
       (window--dump-frame window)
       (error "Cannot resize window %s" window)))))

and post here the contents of the buffer *window-frame-dump* which
should have been created by this.

Thanks, martin