From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Alberto_Sim=C3=B5es?= Newsgroups: gmane.emacs.help Subject: Starting daemon in windowed mode? Date: Sat, 26 Sep 2015 11:20:57 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1443262875 462 80.91.229.3 (26 Sep 2015 10:21:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Sep 2015 10:21:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 26 12:21:09 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZfmbN-0000Ab-FW for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Sep 2015 12:21:09 +0200 Original-Received: from localhost ([::1]:53129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfmbN-0003WU-0m for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Sep 2015 06:21:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfmbC-0003WJ-P0 for help-gnu-emacs@gnu.org; Sat, 26 Sep 2015 06:20:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZfmbB-0000xO-WB for help-gnu-emacs@gnu.org; Sat, 26 Sep 2015 06:20:58 -0400 Original-Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:35408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfmbB-0000vm-Qj for help-gnu-emacs@gnu.org; Sat, 26 Sep 2015 06:20:57 -0400 Original-Received: by wicge5 with SMTP id ge5so49186053wic.0 for ; Sat, 26 Sep 2015 03:20:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pYdxpXij1ie8qH3MDsRnMJYx/FoeXMt4RzPJu0Ccaug=; b=qe6W4Kpr7BShO3nd8o67BDAOSIhcymPFTTx02PW/pGf1tTOlzvMmBKXCR0Ntwttsza XK/+ULKjXTZPagBZfRognSduA+JiN3d2K5lX1MKiR0isZXkEk+MEAPQDG353oLSvMFvd cGHRKWGCqWl1WvP0INe8a3BILxxr7OzQ6MO+FDRCijHniZPeURFiiBwSBzICusK8g2iR C6lirq7eOYfZD0oobi0QCf4B0LCfLMr7/XbQnp9fLCu4GcHslP7vCsgWIzNVL5zxGFb3 9dugmUQvOMkGT2py37isscW2uIGBxJ9kO35Ohkk8zLJb2m3FY6LIvQ0/FkEskMxf2eFx qL4g== X-Received: by 10.194.185.236 with SMTP id ff12mr10434645wjc.49.1443262857161; Sat, 26 Sep 2015 03:20:57 -0700 (PDT) Original-Received: by 10.194.78.47 with HTTP; Sat, 26 Sep 2015 03:20:57 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::230 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107367 Archived-At: Hello, I found out I can start the emacs daemon with --daemon from the command line. But then, when I ask emacsclient to open, it open in text mode. I was trying to make it opening in windows mode (MacOSX). There is a --display option in emacs, but I am not sure it is considered by the --daemon flag, as ./Emacs --daemon --display $DISPLAY results in the same behavior. I can use emacsclient -c to open new frame (and it works). But it I use it again, a new frame will open. Probably my solution will pass by a Perl script that look the output of 'ps' and checks if -c is needed or not. But before going for a hack, I would like to ask if there is some option I am missing. Thanks Alberto PS: and once again, sorry for my last question where things were not working because I had a strange emacs() function in my bash_profile (can't recall when in my life I did it!) --=20 Alberto Sim=C3=B5es