From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: Emacs server without emacsserver. Date: 16 Oct 2002 17:50:50 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200209172010.g8HKAG312061@rum.cs.yale.edu> Reply-To: sds@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035023916 18977 80.91.224.249 (19 Oct 2002 10:38:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 19 Oct 2002 10:38:36 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 182r06-0004vo-00 for ; Sat, 19 Oct 2002 12:38:34 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 182rsx-0001Ca-00 for ; Sat, 19 Oct 2002 13:35:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 182qwz-0000JM-00; Sat, 19 Oct 2002 06:35:21 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 182qvt-0008L4-00 for emacs-devel@gnu.org; Sat, 19 Oct 2002 06:34:13 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 182qt4-0007fG-00 for emacs-devel@gnu.org; Sat, 19 Oct 2002 06:31:21 -0400 Original-Received: from out015pub.verizon.net ([206.46.170.90] helo=out015.verizon.net) by monty-python.gnu.org with esmtp (Exim 4.10) id 182qng-000694-00 for emacs-devel@gnu.org; Sat, 19 Oct 2002 06:25:45 -0400 Original-Received: from loiso.podval.org ([151.203.41.208]) by pop015.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021016215032.SAA28019.pop015.verizon.net@loiso.podval.org>; Wed, 16 Oct 2002 16:50:32 -0500 Original-Received: from loiso.podval.org (loiso [127.0.0.1]) by loiso.podval.org (8.12.5/8.12.5) with ESMTP id g9GLoppT006307; Wed, 16 Oct 2002 17:50:51 -0400 Original-Received: (from sds@localhost) by loiso.podval.org (8.12.5/8.12.5/Submit) id g9GLooRb006303; Wed, 16 Oct 2002 17:50:50 -0400 X-Authentication-Warning: loiso.podval.org: sds set sender to sds@gnu.org using -f Original-To: "Stefan Monnier" X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Copies-To: never In-Reply-To: <200209172010.g8HKAG312061@rum.cs.yale.edu> Original-Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-Authentication-Info: Submitted using SMTP AUTH PLAIN at pop015.verizon.net from [151.203.41.208] at Wed, 16 Oct 2002 16:50:32 -0500 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8583 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8583 > * In message <200209172010.g8HKAG312061@rum.cs.yale.edu> > * On the subject of "Emacs server without emacsserver." > * Sent on Tue, 17 Sep 2002 16:10:15 -0400 > * Honorable "Stefan Monnier" writes: > > If someone wants to play with it, here is a first cut at it. nice. I have a question about `server-switch-buffer'. most of it (after ";; OK, we know next-buffer is live, let's display and select it.") is just `pop-to-buffer' modified to support `server-window' and avoid at all costs creating a new frame (I am being sloppy here, I know). I liked the gnuserv default behavior - creating a new frame (and deleting it on `server-edit'). Maybe server.el could be modified so that `server-window' can be: - a symbol 'new-frame (or whatever) which would mean that server-switch-buffer always create a dedicated frame and `server-done' will remove it - a symbol 'default (or nil) to mean that emacs server should be no different from the rest of Emacs, i.e., `server-switch-buffer' just calls `pop-to-buffer' and `server-edit' calls `quit-window'. This way the variables `pop-up-frames' and `pop-up-windows' will be automatically respected by emacs server (actually, personally, I would rather prefer that this be made the default behavior, moreover, this should make `server-window' unnecessary). thanks. -- Sam Steingold (http://www.podval.org/~sds) running RedHat7.3 GNU/Linux UNIX is as friendly to you as you are to it. Windows is hostile no matter what.