all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hugo Heden <hugoheden@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Daemon and client: Only open new frame if there isn't one  already?
Date: Sat, 14 Mar 2009 11:38:06 +0100	[thread overview]
Message-ID: <2bdf908c0903140338x7c1b5bdcw656f96137f1a5fec@mail.gmail.com> (raw)
In-Reply-To: <yoij3adhqfvh.fsf@remote2.student.chalmers.se>

On Fri, Mar 13, 2009 at 10:20 PM, Johan Bockgård
<bojohan+news@dd.chalmers.se> wrote:
> Hugo Heden <hugoheden@gmail.com> 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")
>

Thanks Johan, I won't have to file a bug report then. Unless there is
a huge consensus here that this behaviour should be changed?

I am not sure how to achieve what I want to do, but I think I can make
some clunky bash-script that does

  emacsclient.emacs-snapshot -e "(x-display-list)"

to see the whether or not there is a emacs GUI-frame on the current $DISPLAY.




  parent reply	other threads:[~2009-03-14 10:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12 22:52 Daemon and client: Only open new frame if there isn't one already? Hugo Heden
2009-03-12 23:10 ` Peter Dyballa
2009-03-12 23:44   ` Hugo Heden
2009-03-13  5:55     ` thierry.volpiatto
2009-03-13  9:35     ` Peter Dyballa
2009-03-13  9:35     ` Eli Zaretskii
2009-03-13 11:08       ` Hugo Heden
2009-03-13 11:20         ` Eli Zaretskii
2009-03-13 11:39         ` Peter Dyballa
2009-03-13 14:34           ` Hugo Heden
2009-03-13 21:20             ` Johan Bockgård
2009-03-13 21:26               ` Peter Dyballa
2009-03-13 22:11                 ` thierry.volpiatto
2009-03-13 22:35                   ` Peter Dyballa
2009-03-14 10:38               ` Hugo Heden [this message]
2009-03-14 11:08                 ` Peter Dyballa
2009-03-15 12:31               ` Hugo Heden
2009-03-21 16:52                 ` Hugo Heden

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2bdf908c0903140338x7c1b5bdcw656f96137f1a5fec@mail.gmail.com \
    --to=hugoheden@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.