From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Phil Carmody" <thefatphil_demunged@yahoo.co.uk>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs's popularity
Date: Tue, 16 Dec 2008 17:05:10 +0100 [thread overview]
Message-ID: <f7ccd24b0812160805h7359e7fcv5c20f481a3686fac@mail.gmail.com> (raw)
In-Reply-To: <873ago2m2v.fsf@nonospaz.fatphil.org>
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
next prev parent reply other threads:[~2008-12-16 16:05 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-02 2:53 is there summary of template systems for emacs? Xah Lee
2008-12-02 4:28 ` Xah Lee
2008-12-03 0:34 ` Drew Adams
2008-12-07 19:14 ` Peter Milliken
[not found] ` <mailman.2168.1228677280.26697.help-gnu-emacs@gnu.org>
2008-12-14 21:37 ` Xah Lee
2008-12-15 18:24 ` Distributed Maintenance for Emacs (was: is there summary of template systems for emacs?) Leo
2008-12-15 18:45 ` Distributed Maintenance for Emacs Paul R
2008-12-15 18:48 ` is there summary of template systems for emacs? Peter Milliken
2008-12-15 20:21 ` Peter Milliken
[not found] ` <mailman.2806.1229365513.26697.help-gnu-emacs@gnu.org>
2008-12-15 19:31 ` Emacs's popularity (was: Distributed Maintenance for Emacs) Teemu Likonen
2008-12-15 20:42 ` Peter Milliken
2008-12-15 21:09 ` Jonathan Groll
2008-12-15 21:37 ` Emacs's popularity Teemu Likonen
2008-12-15 21:41 ` Lennart Borgman
[not found] ` <mailman.2823.1229377291.26697.help-gnu-emacs@gnu.org>
2008-12-15 22:28 ` Richard Riley
2008-12-15 22:59 ` Lennart Borgman
[not found] ` <mailman.2834.1229381955.26697.help-gnu-emacs@gnu.org>
2008-12-15 23:40 ` Richard Riley
2008-12-16 0:53 ` Lennart Borgman
[not found] ` <mailman.2836.1229388824.26697.help-gnu-emacs@gnu.org>
2008-12-16 1:01 ` Richard Riley
2008-12-16 8:37 ` Lennart Borgman
[not found] ` <mailman.2845.1229416641.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:41 ` Richard Riley
2008-12-16 2:37 ` Charles philip Chan
2008-12-16 10:09 ` Tim X
2008-12-16 11:20 ` Richard Riley
[not found] ` <mailman.2843.1229395204.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:17 ` Tim X
2008-12-16 11:34 ` Phil Carmody
2008-12-16 11:58 ` Juanma Barranquero
[not found] ` <mailman.2853.1229428708.26697.help-gnu-emacs@gnu.org>
2008-12-16 12:36 ` Phil Carmody
2008-12-16 12:52 ` Juanma Barranquero
[not found] ` <mailman.2855.1229431948.26697.help-gnu-emacs@gnu.org>
2008-12-16 13:03 ` Phil Carmody
2008-12-16 14:07 ` Juanma Barranquero
[not found] ` <mailman.2858.1229436444.26697.help-gnu-emacs@gnu.org>
2008-12-16 15:09 ` Phil Carmody
2008-12-16 15:50 ` Richard Riley
2008-12-16 17:43 ` Andrea Vettorello
2008-12-16 16:05 ` Juanma Barranquero [this message]
2008-12-16 16:21 ` Paul R
[not found] ` <mailman.2867.1229443519.26697.help-gnu-emacs@gnu.org>
2008-12-16 17:15 ` Richard Riley
2008-12-17 1:35 ` Phil Carmody
2008-12-16 16:56 ` Andreas Politz
2008-12-17 1:34 ` Phil Carmody
2008-12-17 7:43 ` Tim X
2008-12-17 14:17 ` B Smith-Mannschott
2008-12-15 23:55 ` Óscar Fuentes
[not found] ` <mailman.2835.1229385349.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:21 ` Tim X
2008-12-16 12:35 ` William Case
2008-12-15 22:03 ` Emacs's popularity (was: Distributed Maintenance for Emacs) Drew Adams
2008-12-15 22:07 ` Lennart Borgman
2008-12-15 22:19 ` Drew Adams
2008-12-15 22:22 ` Lennart Borgman
[not found] ` <mailman.2830.1229379766.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:33 ` Emacs's popularity Tim X
2008-12-16 13:18 ` Emacs's popularity (was: Distributed Maintenance for Emacs) Jonathan Groll
2008-12-16 17:46 ` Drew Adams
2008-12-19 2:10 ` Sean Sieger
2008-12-18 16:30 ` David L
2008-12-18 17:50 ` Drew Adams
2008-12-19 16:53 ` David L
2008-12-19 17:20 ` Drew Adams
2008-12-19 2:37 ` Sean Sieger
[not found] ` <mailman.2825.1229378627.26697.help-gnu-emacs@gnu.org>
2008-12-16 10:22 ` Tim X
2008-12-16 11:56 ` Richard Riley
2008-12-16 18:29 ` Drew Adams
2008-12-15 22:49 ` Emacs's popularity Teemu Likonen
2008-12-16 2:10 ` Giorgos Keramidas
2008-12-15 21:28 ` Distributed Maintenance for Emacs (was: is there summary of template systems for emacs?) Richard Riley
2008-12-15 19:46 ` is there summary of template systems for emacs? Drew Adams
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=f7ccd24b0812160805h7359e7fcv5c20f481a3686fac@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=thefatphil_demunged@yahoo.co.uk \
/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.