unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Eddie Hillenbrand <eh88@nau.edu>
Cc: emacs-devel@gnu.org
Subject: Re: emacsclient: create a new frame if one doesn't exist
Date: Mon, 19 Mar 2012 15:57:12 -0400	[thread overview]
Message-ID: <jwv3994gyhj.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <79D43497-BB6A-4DE8-989F-C0FB32D68437@nau.edu> (Eddie Hillenbrand's message of "Mon, 19 Mar 2012 11:34:37 -0700")

>> I think I'd prefer a solution that doesn't require adding options to
>> emacsclient (i.e. where the choice is expressed via a customization in
>> .emacs).
> I thought about taking that route, but at the command line the user may want
> to create a frame if one doesn't exist or the user may want to
> create a frame regardless of other frames. I'm not sure how to provide both
> without adding an option to emacsclient.

Assuming you manage to get the "reuse frame when possible" to be the
default behavior, than -c will still let the user choose to force
creation of a new frame.

BTW, have you tried

   emacsclient --display "$DISPLAY" <file>


-- Stefan



  reply	other threads:[~2012-03-19 19:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16 17:47 emacsclient: create a new frame if one doesn't exist Eddie Hillenbrand
2012-03-16 17:52 ` Juanma Barranquero
2012-03-16 18:39   ` Eddie Hillenbrand
2012-03-16 20:09     ` Eddie Hillenbrand
2012-03-16 20:31       ` Juanma Barranquero
2012-03-17 22:36 ` Stefan Monnier
2012-03-19 18:34   ` Eddie Hillenbrand
2012-03-19 19:57     ` Stefan Monnier [this message]
2012-03-19 23:13       ` Eddie Hillenbrand

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=jwv3994gyhj.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eh88@nau.edu \
    --cc=emacs-devel@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 public inbox

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

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).