From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thorsten Bonow Newsgroups: gmane.emacs.help Subject: gnu/emacs client --create-frame somehow? Date: 27 Nov 2003 17:28:59 +0100 Organization: Aachen University of Technology (RWTH) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87u14pdbck.fsf@herrrossi.mmweg.rwth-aachen.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069950754 2472 80.91.224.253 (27 Nov 2003 16:32:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Nov 2003 16:32:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 27 17:32:31 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 1APP4B-0008KO-00 for ; Thu, 27 Nov 2003 17:32:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1APQ13-0002rW-6m for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Nov 2003 12:33:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news.rwth-aachen.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: s3m022.dialup.rwth-aachen.de Original-X-Trace: nets3.rz.RWTH-Aachen.DE 1069950537 10123 137.226.7.22 (27 Nov 2003 16:28:57 GMT) Original-X-Complaints-To: abuse@rwth-aachen.de Original-NNTP-Posting-Date: 27 Nov 2003 16:28:57 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:118716 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:14658 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14658 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