help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Daemon and client: Only open new frame if there isn't one already?


From: Hugo Heden
Subject: Re: Daemon and client: Only open new frame if there isn't one already?
Date: Sat, 14 Mar 2009 11:38:06 +0100

On Fri, Mar 13, 2009 at 10:20 PM, Johan Bockgård
<address@hidden> wrote:
> Hugo Heden <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]