From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero 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: Sun, 5 Feb 2012 16:48:31 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1328457028 28763 80.91.229.3 (5 Feb 2012 15:50:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Feb 2012 15:50:28 +0000 (UTC) Cc: 10729@debbugs.gnu.org To: Albert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 05 16:50: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 1Ru4ME-0005vb-Iq for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Feb 2012 16:50:26 +0100 Original-Received: from localhost ([::1]:44269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ru4ME-0005I4-5B for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Feb 2012 10:50:26 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ru4MA-0005Hm-MZ for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2012 10:50:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ru4M5-0003tu-Gf for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2012 10:50:22 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ru4M5-0003tq-F5 for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2012 10:50:17 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Ru4Mn-0006iG-RQ for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2012 10:51:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Feb 2012 15:51: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.132845700725740 (code B ref 10729); Sun, 05 Feb 2012 15:51:01 +0000 Original-Received: (at 10729) by debbugs.gnu.org; 5 Feb 2012 15:50:07 +0000 Original-Received: from localhost ([127.0.0.1]:55683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ru4Lt-0006h6-MC for submit@debbugs.gnu.org; Sun, 05 Feb 2012 10:50:06 -0500 Original-Received: from mail-pw0-f44.google.com ([209.85.160.44]:44833) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ru4Lp-0006gW-O2 for 10729@debbugs.gnu.org; Sun, 05 Feb 2012 10:50:03 -0500 Original-Received: by pbcwz7 with SMTP id wz7so1154813pbc.3 for <10729@debbugs.gnu.org>; Sun, 05 Feb 2012 07:49:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=GjlwtCdWpxA3qyEmRpwDLso1IOiy7/ElMXutSRJpZqg=; b=B/fjZnSO9QMsYe/pwipLfoczrsmGQoQ+5Q27KS2ZJqM0b02R6lMBK56EJdZh88LAiY aitN1eMRdFlKPKV8L4fwjRzeE6IeENWZhMFBPB3yYX3Jb+oVdUYhlvCqmG10hrcB6zcJ KOz+Db0WPzTZpYDmCU3VNk2/bT+Ej7J4ZR0uk= Original-Received: by 10.68.199.38 with SMTP id jh6mr38555625pbc.77.1328456951169; Sun, 05 Feb 2012 07:49:11 -0800 (PST) Original-Received: by 10.143.37.9 with HTTP; Sun, 5 Feb 2012 07:48:31 -0800 (PST) In-Reply-To: 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:56516 Archived-At: On Sun, Feb 5, 2012 at 00:41, Albert wrote: > My shortcut in SendTo using emacsclientw -n -c no longer works in > emacs 24.0.93 (it did work in 24.0.92) What does it mean that it did work in .92? It always started a new frame? > This is a simpler reproducible example: > > 1. command window started from emacs/bin > 2. start runemacs -Q > 3. M-x server-start > 4. start emacsclientw -n -c test.txt > =3D=3D> (small existing file) this works as expected (a new frame with te= st.txt) > 5. repeat 4.: does not work: the second frame now displays an extra insta= nce > =C2=A0 of *scratch* > 6. repeat 4.: does work: a new frame with test.txt > 7. repeat 4.: does not work: the last frame now shows *scratch* (and > all other frames also) > 8. ... this repeats itself; I tried until I had 4 frames showing > *scratch* and then the next repeat gives a new frame with test.txt > again. OK, I can reproduce it. And it does not depend on emacsclientw.exe, it also fails with emacsclient.exe. > Doing this in 24.0.92: no new frame is created, even after repeating > there is only one frame, but always with test.txt in it Yes. There was a change in .93 to fix a problem with -n, and also make -c -and -t always start a new frame on Windows. It's more consistent, and allows the users to run emacsclientw?.exe with -c or -t and not have to worry whether the Emacs server was started as a GUI or console application. > (This is strange: in the scenario with my shortcut I always get a new > frame with 24.0.92) If you're seeing different behavior between running emacsclientw.exe from a console and running it as a shortcut, please file another bug with a step-by-step recipe, so I can reproduce it and test it. > I hope this is a useful example. Yes, thanks. I'll try to fix it ASAP. =C2=A0 =C2=A0 Juanma