unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* gnu/emacs client --create-frame somehow?
@ 2003-11-27 16:28 Thorsten Bonow
  2003-11-27 22:23 ` Stefan Monnier
  0 siblings, 1 reply; 11+ messages in thread
From: Thorsten Bonow @ 2003-11-27 16:28 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-12-03 16:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-27 16:28 gnu/emacs client --create-frame somehow? Thorsten Bonow
2003-11-27 22:23 ` 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

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