Re: Emacs Lisp Q: Switch Emacs Frame Between Current/Original FVWM Desktop?
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
Re: Emacs Lisp Q: Switch Emacs Frame Between Current/Original FVWM Desktop?         


Author: Stefan Monnier
Date: Jul 20, 2007 21:29

> 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. Try it with
"emacs -Q" first.
> I think this is a bug, isn't it?

I think so, yes.
> Should I write a bug report with `report-emacs-bug'?

Yes, starting from "emacs -Q" with as recent an Emacs as you can.

Stefan
3 Comments
Re: Emacs Lisp Q: Switch Emacs Frame Between Current/Original FVWM Desktop?         


Date: Jul 21, 2007 00:55

Stefan Monnier writes:
>> 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?
Show full article (1.48Kb)
no comments
Re: Emacs Lisp Q: Switch Emacs Frame Between Current/Original FVWM Desktop?         


Author: Stefan Monnier
Date: Jul 21, 2007 20:33

>>> 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:
Show full article (0.77Kb)
no comments
Re: Emacs Lisp Q: Switch Emacs Frame Between Current/Original FVWM Desktop?         


Date: Jul 22, 2007 05:29

Stefan Monnier writes:

Hi Stefan,
>> 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 ))

Yes, that works. Thanks a lot.

Bye,
Tassilo
--
People sometimes ask me if it is a sin in the Church of Emacs to use
vi. Using a free version of vi is not a sin; it is a penance. So happy
hacking. (Richard M. Stallman)
no comments

RELATED THREADS
SubjectArticles qty Group
Re: .emacs in the Windows version of Emacsgnu.emacs.help ·