From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: emacs server and new frames Date: Mon, 05 Jun 2006 12:42:39 -0400 Message-ID: <87zmgr5zb4.fsf@stupidchicken.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1149525842 25860 80.91.229.2 (5 Jun 2006 16:44:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Jun 2006 16:44:02 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 05 18:44:00 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FnIBF-0006cA-8q for ged-emacs-devel@m.gmane.org; Mon, 05 Jun 2006 18:43:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FnIBE-0000tL-PP for ged-emacs-devel@m.gmane.org; Mon, 05 Jun 2006 12:43:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FnIAE-0000O3-Id for emacs-devel@gnu.org; Mon, 05 Jun 2006 12:42:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FnIAD-0000NZ-SH for emacs-devel@gnu.org; Mon, 05 Jun 2006 12:42:49 -0400 Original-Received: from [18.72.1.2] (helo=south-station-annex.mit.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FnIHP-0004F1-46 for emacs-devel@gnu.org; Mon, 05 Jun 2006 12:50:15 -0400 Original-Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id k55GgmKD001007 for ; Mon, 5 Jun 2006 12:42:48 -0400 (EDT) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by grand-central-station.mit.edu (8.13.6/8.9.2) with ESMTP id k55GglMn021613 for ; Mon, 5 Jun 2006 12:42:47 -0400 (EDT) Original-Received: from cyd (SYDNEYPACIFIC-THREE-THIRTY.MIT.EDU [18.95.6.75]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id k55GgdnF010426 for ; Mon, 5 Jun 2006 12:42:40 -0400 (EDT) Original-Received: from cyd by cyd with local (Exim 3.36 #1 (Debian)) id 1FnIA3-0001ji-00 for ; Mon, 05 Jun 2006 12:42:39 -0400 Original-To: emacs-devel@gnu.org In-Reply-To: (Sam Steingold's message of "Mon, 05 Jun 2006 11:04:06 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: -1.215 X-Scanned-By: MIMEDefang 2.42 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55715 Archived-At: Sam Steingold writes: > I want buffers created by the emacs server to show up in their own > frames, so I do > > (add-hook 'server-switch-hook 'new-frame) > (custom-set-variables '(server-window 'pop-to-buffer)) > > the result is that the server buffer is shown both in a new frame and a > new window in an existing frame. > neither *Help*, nor *info*, nor the source are helpful... I do (add-hook 'server-visit-hook '(lambda () (setq server-window (new-frame))))