From: Hugo Heden <hugoheden@gmail.com>
To: Peter Dyballa <Peter_Dyballa@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Daemon and client: Only open new frame if there isn't one already?
Date: Fri, 13 Mar 2009 15:34:29 +0100 [thread overview]
Message-ID: <2bdf908c0903130734u17db1aa6oc298dc0b7796cd15@mail.gmail.com> (raw)
In-Reply-To: <60D55027-1709-437B-A5A1-B24AE9EDB629@Web.DE>
On Fri, Mar 13, 2009 at 12:39 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Just use 'emacsclient.emacs-snapshot <whatsoever>.' If this does not behave
> as you wish, then you've found a potential bug. Before you submit a report,
> check the place where you launched the daemon for messages. Check also
> whether the daemon has DISPLAY set in its process environment. *I* have some
> problems:
>
Thanks all, I apologize for having been dense. I thought the whole
time that the behaviour I was seeing was to be expected. 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. Subsequent invocations of the client
does not need --create-frame however.
The daemon does not emit any error messages, and there seems to be no
problem with my DISPLAY settings. Removing my clunky ~/.emacs does
not help. Invoking the emacs daemon with -Q and/or -D does not help
either. Will investigate a bit more (not sure how though) and possibly
file a bug report.
Thanks again all!
Best regards
Hugo Heden
--
$ emacs-snapshot --version
GNU Emacs 23.0.90.1
$ echo $DISPLAY
:0.0
# adding -Q and/or -D does not help either..:
$ emacs-snapshot --daemon
("emacs-snapshot")
Loading 00debian-vars...
Loading 00debian-vars...done
Loading /etc/emacs/site-start.d/50cmake.el (source)...
Loading /etc/emacs/site-start.d/50cmake.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Skipping dictionaries-common setup for emacs-snapshot
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50psvn.el (source)...
Loading /etc/emacs/site-start.d/50psvn.el (source)...done
Loading /etc/emacs-snapshot/site-start.d/60nxml-mode.el (source)...
Loading /usr/share/emacs-snapshot/site-lisp/nxml-mode/rng-auto.el (source)...
Loading /usr/share/emacs-snapshot/site-lisp/nxml-mode/rng-auto.el
(source)...done
Loading /etc/emacs-snapshot/site-start.d/60nxml-mode.el (source)...done
Starting Emacs daemon.
# Always opens up in the terminal, never a GUI-frame:
$ emacsclient.emacs-snapshot test.txt
next prev parent reply other threads:[~2009-03-13 14:34 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 [this message]
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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2bdf908c0903130734u17db1aa6oc298dc0b7796cd15@mail.gmail.com \
--to=hugoheden@gmail.com \
--cc=Peter_Dyballa@web.de \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).