From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: Emacs's popularity Date: Tue, 16 Dec 2008 18:15:37 +0100 Organization: A noiseless patient Spider Message-ID: References: <2103fd36-c5cd-4e8d-a74f-34697a369934@a26g2000prf.googlegroups.com> <878wqg4alp.fsf@nonospaz.fatphil.org> <87r6482t6l.fsf@nonospaz.fatphil.org> <87ej082rxo.fsf@nonospaz.fatphil.org> <873ago2m2v.fsf@nonospaz.fatphil.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229449322 28580 80.91.229.12 (16 Dec 2008 17:42:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Dec 2008 17:42:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 16 18:43:07 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LCdwh-0002kZ-6I for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Dec 2008 18:42:59 +0100 Original-Received: from localhost ([127.0.0.1]:38140 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCdvV-0006b8-24 for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Dec 2008 12:41:45 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!news.motzarella.org!motzarella.org!usenet238.motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 77 Original-X-Trace: news.eternal-september.org U2FsdGVkX18zhid4ILjNEo1BpEc6hHtL7gBHh2CrvNTENr2T/2mbcGLXu17BpQrz/DguYDlo2oQZO9N6sIipdQoQSbpff1eeJB1+/QC8bQwsKEZLpGnnueNRuoaN1x1JrvSulxMDKXj06VOp/3/Q9g== Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Tue, 16 Dec 2008 17:17:29 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19tTAgWJv3xwLgIaz269tJNvAtbgL1tCyBmhDtfoMZ9ew== Cancel-Lock: sha1:WQ5P8YbHwx9mbMJJKZE9aNK/id4= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:165365 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60696 Archived-At: "Juanma Barranquero" writes: > On Tue, Dec 16, 2008 at 16:09, Phil Carmody > 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)) > > 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). One assumes he meant concerning the subject at hand :-; > >> 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. Because one considers connecting to servers and process instances, not "windows" which have a clear meaning. Or am I confused here? Actually scrub that. I know I am. > >> 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 Do you mean a new server.el? Or a setup of the existing one? > 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 my emacslient doesn't have this parameter. Could you explain in more details please? How to start the named servers using (server-start) and how to connect. > > Juanma > > -- important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday. ~Dennis Gabor, Innovations: Scientific, Technological and Social, 1970