all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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

  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

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