From unknown Tue Jun 17 20:21:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8127 <8127@debbugs.gnu.org> To: bug#8127 <8127@debbugs.gnu.org> Subject: Status: When starting Cocoa Emacs, two frames are opened under some conditions Reply-To: bug#8127 <8127@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:21:46 +0000 retitle 8127 When starting Cocoa Emacs, two frames are opened under some co= nditions reassign 8127 emacs,ns submitter 8127 Vincent Lefevre severity 8127 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 26 17:32:44 2011 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 To: bug-gnu-emacs@gnu.org Subject: When starting Cocoa Emacs, two frames are opened under some conditions 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-Debbugs-Envelope-To: submit 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 debbugs-submit-bounces@debbugs.gnu.org Sat Feb 26 17:46:05 2011 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 To: Vincent Lefevre Subject: Re: bug#8127: When starting Cocoa Emacs, two frames are opened under some conditions 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-Debbugs-No-Ack: yes 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-Debbugs-Envelope-To: 8127 Cc: 8127@debbugs.gnu.org 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 debbugs-submit-bounces@debbugs.gnu.org Sat Feb 26 18:26:17 2011 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 To: Glenn Morris Subject: Re: bug#8127: When starting Cocoa Emacs, two frames are opened under some conditions 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-Debbugs-Envelope-To: 8127 Cc: 8127@debbugs.gnu.org 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 From unknown Tue Jun 17 20:21:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 27 Mar 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator