From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: The emacsclient socket vs. etc/emacs.bash Date: Fri, 15 Dec 2006 16:38:52 +0100 Message-ID: References: <4582BE32.1000401@student.lu.se> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1166197180 21204 80.91.229.10 (15 Dec 2006 15:39:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2006 15:39:40 +0000 (UTC) Cc: Juanma Barranquero , romain@orebokech.com, rms@gnu.org, Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 15 16:39:38 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GvF9l-0003F9-RJ for ged-emacs-devel@m.gmane.org; Fri, 15 Dec 2006 16:39:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvF9l-0003w1-Am for ged-emacs-devel@m.gmane.org; Fri, 15 Dec 2006 10:39:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GvF9V-0003s0-3K for emacs-devel@gnu.org; Fri, 15 Dec 2006 10:39:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GvF9T-0003qh-G4 for emacs-devel@gnu.org; Fri, 15 Dec 2006 10:39:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GvF9T-0003qc-4O for emacs-devel@gnu.org; Fri, 15 Dec 2006 10:39:11 -0500 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GvF9R-0001pW-2W; Fri, 15 Dec 2006 10:39:09 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepc.post.tele.dk (Postfix) with SMTP id EB7C48A0018; Fri, 15 Dec 2006 16:38:57 +0100 (CET) Original-To: Lennart Borgman In-Reply-To: <4582BE32.1000401@student.lu.se> (Lennart Borgman's message of "Fri\, 15 Dec 2006 16\:24\:34 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63775 Archived-At: Lennart Borgman writes: > Maybe you misunderstood what I said? If emacsclient starts emacs the > way I have proposed then there is no need for the startup files for > emacs (.emacs etc) to start emacs server. That is taken care of by > emacsclient. > > If you in such a setup want to start a second emacs then you can just > start emacs the way you do it today. There will be no trouble with > emacs server then since the emacs you start this way simply does not > care about emacs server. > > Or, did I misunderstood you? I think we mis-communicate... You talk about emacsclient _starting emacs_ and instructing that emacs to start the server, so emacsclient can talk to that emacs. I understand how that works nicely with e.g. Windows' Explorer and file associations, and how subsequent calls to emacsclient will talk to the emacs started by the first emacsclient. But in my case, I _always_ have emacs running (not started by emacsclient), so I want emacsclient to talk to that emacs -- how do you do that without starting the server (e.g. in .emacs) before running emacsclient? -- Kim F. Storm http://www.cua.dk