all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 8857@debbugs.gnu.org
Subject: bug#8857: display-buffer attempt to pop-up frame in batch mode causes	"Unknown terminal type" error
Date: Tue, 14 Jun 2011 12:19:06 -0400	[thread overview]
Message-ID: <elr56wo079.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <4DF726E0.6020205@gmx.at> (martin rudalics's message of "Tue, 14 Jun 2011 11:16:16 +0200")

martin rudalics wrote:

>> 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.
>
> Can you tell me where and why `display-buffer' is called?

I don't know. From `find-file' I guess. I noticed because of this:

http://lists.gnu.org/archive/html/emacs-buildstatus/2011-06/msg00004.html

(which was due to custom-make-dependencies leaving files on the
command-line so they were processed as normal file arguments)

>> PS I forgot to say that I think display-buffer should not try to pop-up
>> frames (or do anything at all?) in batch-mode. Or if it must give an
>> error it should try to give a more helpful one than "Unknown terminal
>> type".
>
> In particular not with emacs -Q.  But I have no experience debugging
> emacs with the batch option.  So before delving into this maybe you
> could give me more information?

Maybe display-buffer should just be a no-op in batch-mode, since it's
impossible (?) to display anything then (except via the echo area).

(defun display-buffer () ""
 (unless noninteractive
   ...))






  reply	other threads:[~2011-06-14 16:19 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-13 22:21 bug#8857: display-buffer attempt to pop-up frame in batch mode causes "Unknown terminal type" error Glenn Morris
2011-06-13 22:23 ` Glenn Morris
2011-06-14  9:16   ` martin rudalics
2011-06-14 16:19     ` Glenn Morris [this message]
2011-06-14 17:14       ` martin rudalics
2011-06-14 17:20         ` Glenn Morris
2011-06-14 17:56           ` martin rudalics
2011-06-14 18:25             ` Glenn Morris
2011-06-14 19:09               ` martin rudalics
2011-06-15  7:29                 ` Glenn Morris
2011-06-15  8:01                   ` martin rudalics
2011-06-15 16:17                     ` Glenn Morris
2011-06-15 17:01                     ` David Engster
2011-06-15 17:45                       ` martin rudalics
2011-06-15 18:09                         ` Glenn Morris
2011-06-15 18:13                           ` David Engster
2011-06-15 19:16                             ` Glenn Morris
2011-06-15 18:30                         ` David Engster
2011-06-15 19:32                           ` martin rudalics
2011-06-15 19:42                             ` David Engster
2011-06-16  9:23                       ` martin rudalics
2011-06-16 10:04                         ` David Engster
2011-06-16 13:01                           ` martin rudalics
2011-06-16 13:57                             ` David Engster
2011-06-16 15:08                               ` martin rudalics
2011-06-17  6:49                                 ` David Engster
2011-06-16 14:17                             ` Stefan Monnier
2011-06-15 14:36                   ` Stefan Monnier
2011-06-15 19:40                     ` Glenn Morris
2011-06-15 21:02                       ` Stefan Monnier
2011-06-15 22:13                         ` Glenn Morris

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=elr56wo079.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=8857@debbugs.gnu.org \
    --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.