From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.help Subject: Re: Emacs's popularity Date: Tue, 16 Dec 2008 17:05:10 +0100 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=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1229444007 8507 80.91.229.12 (16 Dec 2008 16:13:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Dec 2008 16:13:27 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Phil Carmody" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 16 17:14:30 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 1LCcYk-0006sZ-J1 for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Dec 2008 17:14:13 +0100 Original-Received: from localhost ([127.0.0.1]:46060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCcXY-0006uF-13 for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Dec 2008 11:12:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCcQ9-0003Ii-Mh for help-gnu-emacs@gnu.org; Tue, 16 Dec 2008 11:05:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCcQ7-0003H2-Hi for help-gnu-emacs@gnu.org; Tue, 16 Dec 2008 11:05:16 -0500 Original-Received: from [199.232.76.173] (port=53284 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCcQ6-0003GW-FZ for help-gnu-emacs@gnu.org; Tue, 16 Dec 2008 11:05:14 -0500 Original-Received: from yx-out-1718.google.com ([74.125.44.153]:5150) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LCcQ5-0001fw-JK for help-gnu-emacs@gnu.org; Tue, 16 Dec 2008 11:05:14 -0500 Original-Received: by yx-out-1718.google.com with SMTP id 34so1352968yxf.66 for ; Tue, 16 Dec 2008 08:05:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=X8+4zRLbd/gfSCD/zWFyn0Z29x2qbnzLQTg9uAWrrBM=; b=fHvS0njJSEnMUhK4xcs3WUbzwDfPF1ZG8fVvv1bmDPnT2j6ouK2jpGZqYtxyOHvd5c t3j9B2ETwht5VaS33UMf7zMZfCyTDsKPs/kyihaMsXSK6VfNiMeLJrXcCpYfT8wlrxWx vTD9pJPCkj9hHL1/B7MYqkyQXkhT+TrA4H6DM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=WUiLqTzKDeig7JA8VAuMQgao1oqGparE+IMSZXdxsfDziZLvfBBueiTRfWLdWo0JCW O0kh1Tv5EEIHWwmAyLCsP7vHbst7znOCT2bdFBH+Grnbi8J/7BHAVISALrgICqpjVqLK dSAXOjqthtqdLT6XiPDHiqbtRQX91s6LYHlQw= Original-Received: by 10.100.207.14 with SMTP id e14mr5615625ang.60.1229443510283; Tue, 16 Dec 2008 08:05:10 -0800 (PST) Original-Received: by 10.100.13.13 with HTTP; Tue, 16 Dec 2008 08:05:10 -0800 (PST) In-Reply-To: <873ago2m2v.fsf@nonospaz.fatphil.org> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:60692 Archived-At: 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). > 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