From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: thierry.volpiatto@gmail.com Newsgroups: gmane.emacs.help Subject: Re: Daemon and client: Only open new frame if there isn't one already? Date: Fri, 13 Mar 2009 23:11:15 +0100 Message-ID: <87k56tvzss.fsf@tux.homenetwork> References: <2bdf908c0903121552i28e1da76t8f47975f2ff820ab@mail.gmail.com> <90717509-0527-434D-94F0-5BA9B979FB8F@Web.DE> <2bdf908c0903121644u7e8c01a2nb96d0200c83d2319@mail.gmail.com> <2bdf908c0903130408t23772cfex48b4d1abf2afccb9@mail.gmail.com> <60D55027-1709-437B-A5A1-B24AE9EDB629@Web.DE> <2bdf908c0903130734u17db1aa6oc298dc0b7796cd15@mail.gmail.com> <400378B5-3F25-465B-BE4D-EE1F299FCB85@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1236982753 29192 80.91.229.12 (13 Mar 2009 22:19:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Mar 2009 22:19:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 13 23:20:29 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 1LiFjn-0000me-9J for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Mar 2009 23:20:19 +0100 Original-Received: from localhost ([127.0.0.1]:39063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiFiR-00032Y-9v for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Mar 2009 18:18:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiFi4-0002zP-5B for help-gnu-emacs@gnu.org; Fri, 13 Mar 2009 18:18:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiFhy-0002sQ-F6 for help-gnu-emacs@gnu.org; Fri, 13 Mar 2009 18:18:30 -0400 Original-Received: from [199.232.76.173] (port=47084 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiFhy-0002sK-2b for help-gnu-emacs@gnu.org; Fri, 13 Mar 2009 18:18:26 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:52220 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LiFhx-00066z-Ax for help-gnu-emacs@gnu.org; Fri, 13 Mar 2009 18:18:25 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LiFhq-0001Yn-LM for help-gnu-emacs@gnu.org; Fri, 13 Mar 2009 22:18:18 +0000 Original-Received: from 212.77.197-77.rev.gaoland.net ([77.197.77.212]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Mar 2009 22:18:18 +0000 Original-Received: from thierry.volpiatto by 212.77.197-77.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Mar 2009 22:18:18 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 39 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 212.77.197-77.rev.gaoland.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUHAwNfJRBVTESlTym0 RB/OwKFivhZqAAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABeElE QVQ4y3VTW47CMAyMwwUyTfYfUvG/wfC/ET4B0t7/KmsHurRgXFVVPRm/xglhsRj2+npW98G3+Amp tS5BXxl3SqzcXGRuEyf7n5lPA9jXetNPRhE7EJkzfz8YWnIgBSwW95TK4H79/t4GINKNADWj4PgA DiJX/ZxFDzDXeb4oYMw7kNUvyMzcaj3ioICG4hCKEShkPpwQ49Q05nnkGAQLDFDdExjm0qpowBYA Wi61bDlFU1GW0WbY2dSJYX5ZD2S0AiZL+rPyE19TpMzP2IvNWly+NkuWNgD4pO2oL73IQXoSyVX2 NHna7tgadWRXoCdvf2guqEcvGHqZwE520iRD0/QCYiiTE+U21w1Qxvg6iSp9fbIiDCnSAelDkCVF Vn+HekqXzRybwJ40xF4DMRG6SWGK9G1lYzHSxLYEm05GWbpJCB6A9tb9A3BGn2XdwJbS/WuInj74 4QNF8sVFdP3vl+5tgYp4Ev7fyrfFMkXgElDgV4uV/w8TWEeLCIGJ/AAAACV0RVh0Y3JlYXRlLWRh dGUAMjAwOC0wNS0zMVQyMDoxNDoyMiswMDowMAS7YjIAAAARdEVYdGpwZWc6Y29sb3JzcGFjZQAy LHVVnwAAACB0RVh0anBlZzpzYW1wbGluZy1mYWN0b3IAMngyLDF4MSwxeDFJ+qa0AAAAJXRFWHRt b2RpZnktZGF0ZQAyMDA3LTEwLTI4VDE2OjA4OjQ4KzAwOjAw44nspgAAAABJRU5ErkJggg== User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.91 (gnu/linux) Cancel-Lock: sha1:ug413kLrXxxeZdoCLF4fkRJD6u8= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:62890 Archived-At: Hi Peter, Peter Dyballa writes: > Am 13.03.2009 um 22:20 schrieb Johan Bockgård: > >> Hugo Heden writes: >> >> >>> The first time I invoke emacsclient it opens in a terminal, not in a >>> window-manager-managed GUI-frame. I have to manually create a >>> GUI-frame using --create-frame. >> >> That seems to be the intended behavior >> >> "If the Emacs process has no existing frame--which can happen if >> it >> was started as a daemon--then Emacs opens a frame on the terminal >> in which you called `emacsclient', as though you had used the >> -t' >> option." >> >> (info "(emacs) Invoking emacsclient") > > > This is not really clever: after I successfully compiled GNU Emacs > from CVS I launch it for testing from the elder Emacs' *shell* buffer > – this has to fail then! I think it's because emacs --daemon should fail if a second emacs-server process is found. So if you launch the first emacs with emacs -Q (without server-start) and then from it, emacsclient -c -a "", it should start a second emacs process (emacs --daemon) with an emacsclient linked to it. (not tested) -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France