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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: David Engster <deng <at> randomsample.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#8857: closed (display-buffer attempt to pop-up frame in batch
 mode causes "Unknown terminal type" error)
Date: Fri, 17 Jun 2011 06:50:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 17 Jun 2011 08:49:36 +0200
with message-id <m2wrgl2br3.fsf <at> ibookg4-c2.pc.gwdg.de>
and subject line Re: bug#8857: display-buffer attempt to pop-up frame in batch mode causes	"Unknown terminal type" error
has caused the GNU bug report #8857,
regarding display-buffer attempt to pop-up frame in batch mode causes "Unknown terminal type" error
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
8857: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8857
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: display-buffer attempt to pop-up frame in batch mode causes "Unknown
	terminal type" error
Date: Mon, 13 Jun 2011 18:21:30 -0400
Package: emacs

With the current trunk:

./src/emacs -Q -batch README INSTALL Makefile
Loading vc-bzr...
Unknown terminal type

(exits with status /= 0)

OK, this is not a very sensible example, but it illustrates the point.
It's caused by display-buffer trying to pop-up a frame in batch-mode and
is very recent.

Emacs 23 does not have this problem by default, but the following shows
the same issue:

emacs-23.3 -Q -batch --eval '(setq pop-up-frames t)' README INSTALL Makefile


[Message part 3 (message/rfc822, inline)]
From: David Engster <deng <at> randomsample.de>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 8857-done <at> debbugs.gnu.org
Subject: Re: bug#8857: display-buffer attempt to pop-up frame in batch mode
	causes	"Unknown terminal type" error
Date: Fri, 17 Jun 2011 08:49:36 +0200
martin rudalics writes:
>> However, this
>> effectively means that there really is no default value for
>> pop-up-frames,
>
> ... well it's 'unset ...

Yes. But I think you understand my problem: 'unset doesn't say whether
you should pop up a new frame by default or not. It's pretty much what
Drew says in #8865, and I tend to agree with him on this issue. I think
this special handling of 'unset is cumbersome, and it should simply be a
boolean variable with a default of nil or t.

Anyway, I don't want to bother you with two threads on the same issue,
and the original problem has been solved, so I'm closing this bug and
will maybe follow-up on #8865, but I think pretty much everything has
been said regarding this issue.

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