From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dkcombs@panix.com (David Combs) Newsgroups: gmane.emacs.help Subject: Re: confused about emacs 23 in daemon mode Date: Mon, 12 Oct 2009 02:34:45 +0000 (UTC) Organization: Public Access Networks Corp. Message-ID: References: <86510ad0-a7cf-45a7-893f-4188e066f397@y20g2000vbk.googlegroups.com> <871vmbh9hy.fsf@lion.rapttech.com.au> <4aac9a85$0$17751$ba4acef3@news.orange.fr> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1255315435 11548 80.91.229.12 (12 Oct 2009 02:43:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Oct 2009 02:43:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 12 04:43:46 2009 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 1MxAsy-0007pi-8H for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Oct 2009 04:43:44 +0200 Original-Received: from localhost ([127.0.0.1]:47420 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxAsu-0004lC-QN for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Oct 2009 22:43:40 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!panix!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 76 Original-NNTP-Posting-Host: panix2.panix.com Original-X-Trace: reader1.panix.com 1255314885 29424 166.84.1.2 (12 Oct 2009 02:34:45 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Mon, 12 Oct 2009 02:34:45 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Original-Xref: news.stanford.edu gnu.emacs.help:173772 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:68856 Archived-At: In article <4aac9a85$0$17751$ba4acef3@news.orange.fr>, Bruno Barbier wrote: >On 2009-09-13, Daniel Pittman wrote: >> Tim X writes: >>> Rodrigo Amestica writes: >>> >>>> it is so nice to have emacs starting so blazingly fast when using the >>>> daemon and emacsclient combination. However it seems that every other >>>> emacsclient I open is not an independent version of emacs and things get >>>> intermixed. I think that in emacs parlance the terminology is 'frame', all >>>> emacsclient instances are emacs frames. > >Thanks to emacsclient, you only have one emacs. The fact that you get >a new frame or not is just a configuration setting. > > (describe-variable 'server-window) > >I mean, the fact that things get intermixed is one goal of emacsclient >(the other one being fast start up). > >>>> The main problems I have noticed under these circumstances is that 'C- h-i' >>>> seems to be shared by all frames such that browsing in one frame will make >>>> the others to move away from their own current info page. > >Type M-n to open a new independent info buffer. >And most jumping commands have a 'C-u' that jump into a new buffer. > > (info "(info)Create Info buffer") > >>>> And the mayor >>>> show stopper is ECB. It seems that I cannot have 2 emacsclients running >>>> their own ECB session. > >I would use one emacs by ECB and an other one for planning, taking >notes, etc. You can then make emacsclient use the one you want or >setup only the third emacs as a server depending on your needs. > > From the emacs info manual: > > | If there is more than one Emacs server running, you can specify a > | server name with the `-s NAME' or `--socket-name=NAME' option to > | `emacsclient'. (This option is not supported on MS-Windows.) > > (info "(emacs)Invoking emacsclient") > > Using emacsclient is pretty new to me -- and you seem to be playing some nice tricks with it. Please, could you elaborate a bit (or better, much more) on: . the above that you wrote. . your varied uses (and those of others you've seen or heard of) of emacsclient (and other things like it). . You used the term "server". What with the original emacs-run throwing off emacs-clients that seem to be NOT independent from each other -- sharing buffers, etc. For vocabulary-creation, would that make it into some kind of subtype of "server"? (Obvious to all: am pretty ignorant about servers, clients, etc, which is why I'm probing, to learn more.) . Anything else you want to say. (With the idea that maybe RMS could munge it into extra doc for the manual or tutorial or something?) THANKS! David