help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs Lisp Q: Switch Emacs Frame Between Current/Original FVWM Deskt


From: Stefan Monnier
Subject: Re: Emacs Lisp Q: Switch Emacs Frame Between Current/Original FVWM Desktop?
Date: Thu, 19 Jul 2007 16:45:29 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>>> That's what gnuserv does, but emacsclient won't open a new frame.
>> 
>> By default it doesn't, indeed, but it can be asked to do it.

> How? Of course I could do

>     emacsclient -e '(make-frame)'

> but then I cannot give a file name, too.

Check out the various configuration variables.
C-h v server-*
IIRC you can do something like

   (setq server-window 'pop-to-buffer)

and if you use pop-up-frames, then it should just work.  If you don't use
pop-up-frames, then maybe

   (setq server-window
         (lambda (buf)
           (let ((pop-up-frames t))
             (pop-to-buffer buf))))


-- Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]