From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.bugs Subject: bug#4386: 23.1; emacsclient -t FILE -vs- server-window Date: Thu, 10 Sep 2009 09:55:02 -0600 Message-ID: References: <4AA894F6.80807@gmx.at> Reply-To: Tom Tromey , 4386@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252599941 6703 80.91.229.12 (10 Sep 2009 16:25:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Sep 2009 16:25:41 +0000 (UTC) Cc: 4386@emacsbugs.donarmstrong.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 10 18:25:34 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MlmSi-0000xx-J9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Sep 2009 18:25:33 +0200 Original-Received: from localhost ([127.0.0.1]:44535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlmSi-0002F6-1W for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Sep 2009 12:25:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlmAu-0008QH-5T for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2009 12:07:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlmAp-0008LG-18 for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2009 12:07:07 -0400 Original-Received: from [199.232.76.173] (port=58489 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlmAo-0008Kw-Rm for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2009 12:07:02 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52275) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MlmAo-0006Rw-6z for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2009 12:07:02 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8AG6x20003679; Thu, 10 Sep 2009 09:06:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8AG557Z002699; Thu, 10 Sep 2009 09:05:05 -0700 Resent-Date: Thu, 10 Sep 2009 09:05:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Tom Tromey Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 10 Sep 2009 16:05:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4386 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4386-submit@emacsbugs.donarmstrong.com id=B4386.125259810832723 (code B ref 4386); Thu, 10 Sep 2009 16:05:04 +0000 Original-Received: (at 4386) by emacsbugs.donarmstrong.com; 10 Sep 2009 15:55:08 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8AFt67C032715 for <4386@emacsbugs.donarmstrong.com>; Thu, 10 Sep 2009 08:55:07 -0700 Original-Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8AFt6S0029928; Thu, 10 Sep 2009 11:55:06 -0400 Original-Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8AFt5rn002223; Thu, 10 Sep 2009 11:55:05 -0400 Original-Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n8AFt3iu017904; Thu, 10 Sep 2009 11:55:04 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id EEE63378182; Thu, 10 Sep 2009 09:55:02 -0600 (MDT) X-Attribution: Tom In-Reply-To: <4AA894F6.80807@gmx.at> (martin rudalics's message of "Thu, 10 Sep 2009 07:56:06 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 10 Sep 2009 12:07:07 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30930 Archived-At: >>>>> "martin" == martin rudalics writes: martin> The doc-string of `server-window' says martin> If it is a function, it should take one argument (a buffer) and martin> display and select it. Oops. I'm sorry I missed this. martin> (lambda (buffer) martin> (let ((window martin> (if window-system martin> saved-server-window martin> (frame-selected-window)))) martin> (set-window-buffer window buffer) martin> (select-window window))) martin> seems more appropriate here. Yeah, this worked. Thank you. Tom