From unknown Fri Jun 20 20:03:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8127: When starting Cocoa Emacs, two frames are opened under some conditions Resent-From: Vincent Lefevre Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Feb 2011 22:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8127 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 8127@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.12987595642510 (code B ref -1); Sat, 26 Feb 2011 22:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Feb 2011 22:32:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtSgt-0000eR-ST for submit@debbugs.gnu.org; Sat, 26 Feb 2011 17:32:44 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtSgr-0000eG-6G for submit@debbugs.gnu.org; Sat, 26 Feb 2011 17:32:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtSgh-0000hZ-EE for submit@debbugs.gnu.org; Sat, 26 Feb 2011 17:32:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:48530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtSgh-0000hU-CG for submit@debbugs.gnu.org; Sat, 26 Feb 2011 17:32:31 -0500 Received: from [140.186.70.92] (port=49857 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtSgc-0002HV-Iz for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2011 17:32:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtSgV-0000fj-BG for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2011 17:32:26 -0500 Received: from vinc17.pck.nerim.net ([213.41.242.187]:58241 helo=prunille.vinc17.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtSgU-0000f3-UJ for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2011 17:32:19 -0500 Received: by prunille.vinc17.org (Postfix, from userid 501) id CF8295CFFA06; Sat, 26 Feb 2011 23:32:11 +0100 (CET) Date: Sat, 26 Feb 2011 23:32:11 +0100 From: Vincent Lefevre Message-ID: <20110226223211.GM811@prunille.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6165-vl-r38670 (2010-12-30) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -6.2 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Hi, Under some conditions, Emacs 23.2.1 opens two frames under Mac OS X. For instance, with prunille:~> /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs tmp/foo a first frame "foo" is opened, then a second one is automatically opened. The buffer name of this second frame is foo<2> and the title is "/Users/vinc17/tmp/tmp/foo". This occurs even without a .emacs file. Note also that the path /Users/vinc17/tmp/tmp/foo doesn't exist (the real path is /Users/vinc17/tmp/foo). Without a .emacs file, the *Messages* buffer just contains: For information about GNU Emacs and the GNU system, type C-h C-a. Use M-x make-directory RET RET to create the directory and its parents This problem doesn't occur with: prunille:~> /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs -q tmp/= foo prunille:~> /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs ~/tmp/f= oo prunille:~tmp> /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs foo prunille:~> open -a Emacs.app tmp/foo In particular, this is quite strange that the "-q" option makes a difference without a .emacs file. Version information: prunille:~> /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs --versi= on GNU Emacs 23.2.1 Copyright (C) 2010 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. It was built and installed via MacPorts (emacs-app port). --=20 Vincent Lef=E8vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Ar=E9naire project (LIP, ENS-Lyon) From unknown Fri Jun 20 20:03:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8127: When starting Cocoa Emacs, two frames are opened under some conditions Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Feb 2011 22:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8127 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: To: Vincent Lefevre Cc: 8127@debbugs.gnu.org Received: via spool by 8127-submit@debbugs.gnu.org id=B8127.12987603653776 (code B ref 8127); Sat, 26 Feb 2011 22:47:01 +0000 Received: (at 8127) by debbugs.gnu.org; 26 Feb 2011 22:46:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtStp-0000yr-5A for submit@debbugs.gnu.org; Sat, 26 Feb 2011 17:46:05 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtSto-0000y9-2O for 8127@debbugs.gnu.org; Sat, 26 Feb 2011 17:46:04 -0500 Received: from localhost ([127.0.0.1]:60687) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtSti-0002hS-K7; Sat, 26 Feb 2011 17:45:58 -0500 From: Glenn Morris References: <20110226223211.GM811@prunille.vinc17.org> X-Spook: CIA Rubin BLU-114/B rail gun security Yukon Arnett INSCOM X-Ran: MuM/4m2hE{EqU3j46n1h`J],Uo}q+0G/M@z#_NaAa1r5(qf-}qUVCT_;'#Ou['iV_b>L?e X-Hue: red X-Attribution: GM Date: Sat, 26 Feb 2011 17:45:57 -0500 In-Reply-To: <20110226223211.GM811@prunille.vinc17.org> (Vincent Lefevre's message of "Sat, 26 Feb 2011 23:32:11 +0100") Message-ID: <8mfwrafm8q.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Vincent Lefevre wrote: > Under some conditions, Emacs 23.2.1 opens two frames under Mac OS X. Perhaps a duplicate of http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7872 From unknown Fri Jun 20 20:03:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8127: When starting Cocoa Emacs, two frames are opened under some conditions Resent-From: Vincent Lefevre Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Feb 2011 23:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8127 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: To: Glenn Morris Cc: 8127@debbugs.gnu.org Received: via spool by 8127-submit@debbugs.gnu.org id=B8127.12987627778563 (code B ref 8127); Sat, 26 Feb 2011 23:27:02 +0000 Received: (at 8127) by debbugs.gnu.org; 26 Feb 2011 23:26:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtTWi-0002E4-Su for submit@debbugs.gnu.org; Sat, 26 Feb 2011 18:26:17 -0500 Received: from vinc17.pck.nerim.net ([213.41.242.187] helo=prunille.vinc17.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtTWe-0002Dp-Sp for 8127@debbugs.gnu.org; Sat, 26 Feb 2011 18:26:15 -0500 Received: by prunille.vinc17.org (Postfix, from userid 501) id EF9CE5D083BA; Sun, 27 Feb 2011 00:26:06 +0100 (CET) Date: Sun, 27 Feb 2011 00:26:06 +0100 From: Vincent Lefevre Message-ID: <20110226232606.GN811@prunille.vinc17.org> References: <20110226223211.GM811@prunille.vinc17.org> <8mfwrafm8q.fsf@fencepost.gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <8mfwrafm8q.fsf@fencepost.gnu.org> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6165-vl-r38670 (2010-12-30) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) On 2011-02-26 17:45:57 -0500, Glenn Morris wrote: > Vincent Lefevre wrote: >=20 > > Under some conditions, Emacs 23.2.1 opens two frames under Mac OS X. >=20 > Perhaps a duplicate of >=20 > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7872 Yes, the patch works for me. --=20 Vincent Lef=E8vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Ar=E9naire project (LIP, ENS-Lyon) From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 26 18:32:10 2011 Received: (at control) by debbugs.gnu.org; 26 Feb 2011 23:32:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtTcQ-0002ML-4x for submit@debbugs.gnu.org; Sat, 26 Feb 2011 18:32:10 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtTcO-0002MA-H8 for control@debbugs.gnu.org; Sat, 26 Feb 2011 18:32:09 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PtTcJ-0004n4-1D for control@debbugs.gnu.org; Sat, 26 Feb 2011 18:32:03 -0500 Date: Sat, 26 Feb 2011 18:32:03 -0500 Message-Id: Subject: control message for bug 8127 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) unarchive 6179 forcemerge 6179 8127