all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thorsten Bonow <thorsten.bonow@post.rwth-aachen.de>
Subject: gnu/emacs client --create-frame somehow?
Date: 27 Nov 2003 17:28:59 +0100	[thread overview]
Message-ID: <87u14pdbck.fsf@herrrossi.mmweg.rwth-aachen.de> (raw)


Hi,

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.

What I'm looking for is some way of simulating a --create-frame option and
then calling

        emacsclient/gnuclient --create-frame FILE

only if I want a new frame. I'm not up to fixing (gnu)server.el to implement
such an option, my first crude attempt was to write a wrapper script which
calls the client two times: First to set e.g. gnuserv-frame to the desired
value and then a second time to execute the actual command.

Thanks for any help ...

Toto

-- 
Contact information and PGP key at
http://www-users.rwth-aachen.de/thorsten.bonow

             reply	other threads:[~2003-11-27 16:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-27 16:28 Thorsten Bonow [this message]
2003-11-27 22:23 ` gnu/emacs client --create-frame somehow? Stefan Monnier
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=87u14pdbck.fsf@herrrossi.mmweg.rwth-aachen.de \
    --to=thorsten.bonow@post.rwth-aachen.de \
    /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.