GNU bug report logs - #8857
display-buffer attempt to pop-up frame in batch mode causes "Unknown terminal type" error

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Mon, 13 Jun 2011 22:22:01 UTC

Severity: normal

Done: David Engster <deng <at> randomsample.de>

Bug is archived. No further changes may be made.

Full log


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

From: David Engster <deng <at> randomsample.de>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Glenn Morris <rgm <at> gnu.org>, 8857 <at> debbugs.gnu.org
Subject: Re: bug#8857: display-buffer attempt to pop-up frame in batch mode
	causes	"Unknown terminal type" error
Date: Wed, 15 Jun 2011 20:30:46 +0200
martin rudalics writes:
>> Is this supposed to also fix the problem for batch mode? Because I still
>> see this error with revno. 104589:
>
> It was supposed to fix that, yes.
>
>>  --> emacs --batch foo bar baz
>> Unknown terminal type
>
> Can you check whether `display-buffer' tries to pop up a new buffer?  I
> don't have the slightest experience running Emacs in batch mode.

I don't know if this is what you're looking for, but when I run this:

--> emacs --batch -Q --eval "(debug-on-entry 'display-buffer-pop-up-window)" foo bar baz

I get this:

Debugger entered--entering a function:
  display-buffer-pop-up-window(#<buffer bar> ((largest) (lru)) ((pop-up-frame) (reuse-window other other visible) (reuse-window nil same visible) (pop-up-window (largest) (lru)) (reuse-window other other nil) (reuse-window-even-sizes . t) (reuse-window nil same visible) (pop-up-window (largest) (lru)) (pop-up-frame) (pop-up-frame-alist (height . 24) (width . 80) (unsplittable . t)) (reuse-window nil other visible) (reuse-window-even-sizes . t)))
* display-buffer(#<buffer bar> other-window nil)
  pop-to-buffer(#<buffer bar> other-window nil)
  switch-to-buffer-other-window(#<buffer bar>)
  find-file-other-window("/home/void/bar")
  command-line-1(("--eval" "(debug-on-entry 'display-buffer-pop-up-window)" "foo" "bar" "baz"))
  command-line()
  normal-top-level()

Cheers,
David




This bug report was last modified 14 years and 48 days ago.

Previous Next


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