all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: 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 13:20:08 +0200	[thread overview]
Message-ID: <u7i2tsm8n.fsf@gnu.org> (raw)
In-Reply-To: <2bdf908c0903130408t23772cfex48b4d1abf2afccb9@mail.gmail.com>

> Date: Fri, 13 Mar 2009 12:08:26 +0100
> From: Hugo Heden <hugoheden@gmail.com>
> Cc: help-gnu-emacs@gnu.org
> 
>    if( there-is-a-frame-currently-open )
>      open-the-file-*without*-the-[--create-frame]-option
>    else
>      open-the-file-*with*-the-[--create-frame]-option
>   endif
> 
>  --that would achieve what I am looking for.
> 
> 
> 4) But that would be a little to much waste of brain power! My problem
> is that I do not want to have to remeber whether I already have a
> frame open or not. The if-statement above is just too much for me to
> bare. So I would want to write a little script that *autoamtiaclly*
> achieve the above logic..

Again, doesn't emacsclient behave _exactly_ like that by default?
That is, doesn't emacsclient create a frame if it does not exist, and
reuses it if it does exist?  If not, perhaps you should submit a bug
report.




  reply	other threads:[~2009-03-13 11:20 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 [this message]
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
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=u7i2tsm8n.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.