all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs Lisp Q: Switch Emacs Frame Between Current/Original FVWM Desktop?
Date: Sat, 21 Jul 2007 23:33:30 -0400	[thread overview]
Message-ID: <jwv4pjxun8q.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: 87abtqnqch.fsf@baldur.tsdh.de

>>> If I eval
>> 
>>> (progn
>>> (setq pop-up-frames t)
>>> (display-buffer "*Group*"))
>> 
>>> The *Group* buffer will be displayed in a new window, but no new frame
>>> will be created.
>> 
>> That's not what I see with the trunk of Emacs-CVS startd with "emacs
>> -Q", so either it's been fixed, or it depends on some config of yours.

> The error is on my side. :-)

> I use my own `display-buffer-function' to have emacs split windows
> horizontally by default. And, of course, I forgot to handle the
> pop-up-frames case. Now I tried adding it, but I don't get it right. How
> do I create a new frame and display a given buffer in it?

You might try:

  (let ((display-buffer-function nil)
        (pop-up-frames t))
    (display-buffer <buffer>))


-- Stefan

  reply	other threads:[~2007-07-22  3:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-18 22:31 Emacs Lisp Q: Switch Emacs Frame Between Current/Original FVWM Desktop? Edward
2007-07-19  7:24 ` Andrea Vettorello
2007-07-19  7:45 ` Anselm Helbig
2007-07-19  8:41 ` Floyd L. Davidson
2007-07-19  9:02   ` Tassilo Horn
2007-07-19 18:17     ` Stefan Monnier
2007-07-19 19:01       ` Tassilo Horn
2007-07-19 20:45         ` Stefan Monnier
2007-07-20  8:07           ` Tassilo Horn
2007-07-21  4:29             ` Stefan Monnier
2007-07-21  7:55               ` Tassilo Horn
2007-07-22  3:33                 ` Stefan Monnier [this message]
2007-07-22 12:29                   ` Tassilo Horn
2007-07-19 17:07 ` Xiao-Yong Jin
2007-07-20  4:29 ` Tim X

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=jwv4pjxun8q.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /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.