From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Roland Roberts Newsgroups: gmane.emacs.help Subject: Re: making emacsclient create/destroy a frame Date: 14 Oct 2003 16:02:02 -0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066162753 7078 80.91.224.253 (14 Oct 2003 20:19:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2003 20:19:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 14 22:19:12 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9VdP-0005U2-00 for ; Tue, 14 Oct 2003 22:19:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A9VaA-00031Q-Ti for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Oct 2003 16:15:50 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!small1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 14 Oct 2003 14:52:20 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 35 Original-NNTP-Posting-Host: 66.93.85.213 Original-X-Trace: sv3-K4nxACxzBvnJZYG36v4VkN5zeN6od3K3Skuk075HQtTetmduzFiSl6D/VsSa2bnoOqs0+fQ9Qj9Yxm2!jN3JuwdUj3fNrrsAFgeU+s4ZeT2VGbpT2NChh+edRoMHGxkXljqtgCV7oB5Ln8avGpSN0b6dZgPI!pOq7ZtiHcygsnEi3 Original-X-Complaints-To: abuse@speakeasy.net X-DMCA-Complaints-To: abuse@speakeasy.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:117254 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13183 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13183 -----BEGIN PGP SIGNED MESSAGE----- Thanks to all who replied; the following combination does the trick: (defun rbr:server-visit-hook () (setq server-window (make-frame))) (defun rbr:server-done-hook () (cond ((and (boundp 'server-window) (framep server-window)) (delete-frame server-window) (setq server-window nil)))) (setq server-done-hook 'rbr:server-done-hook) (setq server-visit-hook 'rbr:server-visit-hook) roland - -- PGP Key ID: 66 BC 3B CD Roland B. Roberts, PhD RL Enterprises roland@rlenter.com 6818 Madeline Court roland@astrofoto.org Brooklyn, NY 11220 -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: noconv Comment: Processed by Mailcrypt 3.5.4, an Emacs/PGP interface iQCVAwUBP4xWOuoW38lmvDvNAQFynQP+PVav/cHHeoXXY5Hcf4DpzhQG7RPMw+ii 0rjG2d3PihoXPxClmmZpkyRr75ePGUMfCSPssecnup/J8dDeSgqwbMzRZbjGHiAU IoY96Qs3fiAFtsJw3RmN4HxHzpo20MEFLAFc4a1h4g4X71hUlUgWoY/KLP/6FL9/ D9NkE8AVT84= =RXtc -----END PGP SIGNATURE-----