[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs's popularity
From: |
Juanma Barranquero |
Subject: |
Re: Emacs's popularity |
Date: |
Tue, 16 Dec 2008 17:05:10 +0100 |
On Tue, Dec 16, 2008 at 16:09, Phil Carmody
<thefatphil_demunged@yahoo.co.uk> wrote:
> So I just created a new frame, and dragged it to my coding desktop,
> how do I find out how to identify that frame?
See the function `selected-frame'.
For example, you could create a new frame, and then, with the focus on
it, you can do
M-: (setq server-window (selected-frame)) <RET>
Of course, if you plan to do it automatically from your .emacs you
could use something like this (not tested):
(setq server-window (make-frame '((height . 40) (width . 80))))
> Maybe there's a function which will tell me how to identify the
> frame I'm in.
Yes.
> C-h a frame doesn't really list much that seems useful.
On the contrary, I'd say it lists a lot of useful things (too many, perhaps).
> And here's one extra thing that's a bit puzzling - why is it a
> server-*window*?
Why not? The name comes from the original (but still valid) use of the variable.
> What good would it have done if I had succeded in setting the
> server-window to one of the two original windows? Wouldn't a
> server-frame be far more useful?
Apparently, for you the answer is yes :-) Not for me, I dislike having
several frames.
> And this is why I run 2 emacses, one for news, and one for coding.
I think with a suitable setup of server.el you wouldn't really need
that, but if you like it more your can run two emacsen, each one of
them a server (with different names, for example "news" and "coding"),
and use
emacsclient --server=news file1
emacsclient --server=coding file2
Juanma
- Re: Emacs's popularity, (continued)
- Re: Emacs's popularity, Tim X, 2008/12/16
- Re: Emacs's popularity, Richard Riley, 2008/12/16
- Message not available
- Re: Emacs's popularity, Phil Carmody, 2008/12/16
- Re: Emacs's popularity, Juanma Barranquero, 2008/12/16
- Message not available
- Re: Emacs's popularity, Phil Carmody, 2008/12/16
- Re: Emacs's popularity, Juanma Barranquero, 2008/12/16
- Message not available
- Re: Emacs's popularity, Phil Carmody, 2008/12/16
- Re: Emacs's popularity, Juanma Barranquero, 2008/12/16
- Message not available
- Re: Emacs's popularity, Phil Carmody, 2008/12/16
- Re: Emacs's popularity,
Juanma Barranquero <=
- Re: Emacs's popularity, Paul R, 2008/12/16
- Re: Emacs's popularity, Richard Riley, 2008/12/16
- Re: Emacs's popularity, Andrea Vettorello, 2008/12/16
- Message not available
- Re: Emacs's popularity, Richard Riley, 2008/12/16
- Message not available
- Re: Emacs's popularity, Phil Carmody, 2008/12/16
- Re: Emacs's popularity, Andreas Politz, 2008/12/16
- Re: Emacs's popularity, Phil Carmody, 2008/12/16
- Re: Emacs's popularity, Tim X, 2008/12/17
- Re: Emacs's popularity, B Smith-Mannschott, 2008/12/17
- Re: Emacs's popularity, Óscar Fuentes, 2008/12/15