From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: gnu/emacs client --create-frame somehow? Date: Thu, 27 Nov 2003 22:23:43 GMT Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <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 1069972246 29645 80.91.224.253 (27 Nov 2003 22:30:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Nov 2003 22:30:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 27 23:30:42 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 1APUeo-00006D-00 for ; Thu, 27 Nov 2003 23:30:42 +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 1APVb9-0003e1-Sk for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Nov 2003 18:30:59 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!charlie.risq.qc.ca!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-NNTP-Posting-Host: 132.204.24.42 Original-X-Complaints-To: abuse@umontreal.ca Original-X-Trace: charlie.risq.qc.ca 1069971823 132.204.24.42 (Thu, 27 Nov 2003 17:23:43 EST) Original-NNTP-Posting-Date: Thu, 27 Nov 2003 17:23:43 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:118726 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:14668 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14668 > 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