From: martin rudalics <rudalics@gmx.at>
To: David Engster <deng@randomsample.de>
Cc: 8857@debbugs.gnu.org
Subject: bug#8857: display-buffer attempt to pop-up frame in batch mode causes "Unknown terminal type" error
Date: Thu, 16 Jun 2011 17:08:21 +0200 [thread overview]
Message-ID: <4DFA1C65.2070306@gmx.at> (raw)
In-Reply-To: <m2y611angb.fsf@ibookg4-c2.pc.gwdg.de>
> calendar/diary-lib.el:
>
> (let* ((pop-up-frames (or pop-up-frames
> (window-dedicated-p (selected-window))))
>
> mail/rmail.el:
>
> (and pop-up-frames (one-window-p))
>
> progmodes/inf-lisp.el:
>
> (let ((pop-up-frames
> ;; Be willing to use another frame
> ;; that already has the window in it.
> (or pop-up-frames
> (get-buffer-window inferior-lisp-buffer t))))
>
> vc/pcvs-util.el:
>
> (let ((pop-up-windows (or pop-up-windows pop-up-frames))
>
> ... just to mention a few.
I replaced most of these in my window-pub branch which, however, doesn't
care about 'unset value yet. Obviously, all of these don't DTRT in
Emacs 23 when a user has set `pop-up-frames' to 'graphic-only and is on
a non-graphic system.
> OK, I think I understand the motivation behind 'unset now.
'unset was a quick fix to make old code work with the new
`display-buffer'. There might be some yet unknown quirks in it. Maybe
I even don't need it.
> However, this
> effectively means that there really is no default value for
> pop-up-frames,
... well it's 'unset ...
> and every application can decide how they will deal with
> that. The snippets above will see it as non-nil and will now create
> frames.
Yes. Just as they wrongly handled 'graphic-only in Emacs 23.
> Right, the current code doesn't care about 'graphic-only, but neither
> does the old code care about 'unset. This can be changed, of course... :-)
This must be changed, of course :-)
> I actually don't feel that strongly about it. It just found it
> confusing, but I think I understand it better now. I have set this
> option to nil anyway. :-)
Me too. That's why I'm not very familiar with the ensuing problems.
martin
next prev parent reply other threads:[~2011-06-16 15:08 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
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 [this message]
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=4DFA1C65.2070306@gmx.at \
--to=rudalics@gmx.at \
--cc=8857@debbugs.gnu.org \
--cc=deng@randomsample.de \
/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.