From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#10729: 24.0.93; On MS-Windows: emacsclientw.exe -n -c does create a new frame, but does not always display the requested file or the requested directory (24.0.92 does) Date: Mon, 06 Feb 2012 18:57:05 +0100 Message-ID: <4F301471.9000402@gmx.at> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1328551109 22803 80.91.229.3 (6 Feb 2012 17:58:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2012 17:58:29 +0000 (UTC) Cc: Albert , 10729@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 06 18:58:27 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RuSpZ-0005LR-Cc for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2012 18:58:21 +0100 Original-Received: from localhost ([::1]:33174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuSpZ-0000uR-0O for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2012 12:58:21 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuSpT-0000qr-GG for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 12:58:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuSpP-0002Ae-8W for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 12:58:15 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuSpO-0002AZ-Pi for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 12:58:11 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RuSqD-00047d-Kk for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2012 12:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Feb 2012 17:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10729 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10729-submit@debbugs.gnu.org id=B10729.132855108815757 (code B ref 10729); Mon, 06 Feb 2012 17:59:01 +0000 Original-Received: (at 10729) by debbugs.gnu.org; 6 Feb 2012 17:58:08 +0000 Original-Received: from localhost ([127.0.0.1]:57470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RuSpL-000466-NW for submit@debbugs.gnu.org; Mon, 06 Feb 2012 12:58:07 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:41316) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1RuSpJ-00045c-9W for 10729@debbugs.gnu.org; Mon, 06 Feb 2012 12:58:06 -0500 Original-Received: (qmail invoked by alias); 06 Feb 2012 17:57:07 -0000 Original-Received: from 62-47-36-152.adsl.highway.telekom.at (EHLO [62.47.36.152]) [62.47.36.152] by mail.gmx.net (mp041) with SMTP; 06 Feb 2012 18:57:07 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18un1YaLhEub0xDLTqYZNGTrOBe84ea1MJRiq154h 2HtT5hIo0M/ck9 In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56579 Archived-At: > When you request a new frame with -c or -t, you're passing > instructions to server.el about how to display the buffer. But > server.el also obeys the setting of server-window. If you look at > server-switch-buffer, you'll see that, when the buffer is already > shown in a window, and server-window is nil, it simply does > > (select-window win) ; win is the window displaying test.txt > (set-buffer next-buffer) ; next-buffer is the one containing test.txt > > so no new frame is created. Just to make sure: Is the `set-buffer' needed because win's buffer might not be current? > That's not a bug. For some reason I still > have to investigate, the buffer shown in win is then replaced by > *scratch* (this is puzzling). When is it replaced? After exiting `server-switch-buffer'? martin