From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: gnu/emacs client --create-frame somehow?
Date: Thu, 27 Nov 2003 22:23:43 GMT [thread overview]
Message-ID: <jwvad6hbgmf.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca> (raw)
In-Reply-To: 87u14pdbck.fsf@herrrossi.mmweg.rwth-aachen.de
> I would like to use gnuclient or the new emacsclient out of CVS so that the
> decision if a new frame is created is up to me when calling the client
> command.
> I know about "gnuserv-frame" to decide about frame creation with gnuclient
> or adding a hook which calls "make-frame" to "server-visit-hook" for
> emacsclient, but than the behavior is fixed for all calls to the client.
(setq server-window 'pop-to-buffer)
> What I'm looking for is some way of simulating a --create-frame option and
> then calling
> emacsclient/gnuclient --create-frame FILE
Since server.el and emacsclient.c do not offer any way to add new
options like --create-frame, your best bet is probably something like
emacsclient --eval '(find-file-other-frame "FILE")'
But maybe you have a point that it should be possible to add new
options, kind of like what is done with `command-switch-alist'.
Stefan
next prev parent reply other threads:[~2003-11-27 22:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-27 16:28 gnu/emacs client --create-frame somehow? Thorsten Bonow
2003-11-27 22:23 ` Stefan Monnier [this message]
2003-11-28 0:47 ` Ian Zimmerman
2003-11-28 9:01 ` Thorsten Bonow
2003-12-01 11:03 ` Thorsten Bonow
2003-12-01 19:39 ` Stefan Monnier
2003-12-02 22:10 ` Thorsten Bonow
2003-12-02 23:44 ` Stefan Monnier
2003-12-03 12:02 ` Thorsten Bonow
2003-12-03 16:10 ` Stefan Monnier
2003-12-01 20:19 ` Kevin Rodgers
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=jwvad6hbgmf.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca \
--to=monnier@iro.umontreal.ca \
/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).