unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <vincent@vinc17.net>
To: 8127@debbugs.gnu.org
Subject: bug#8127: When starting Cocoa Emacs, two frames are opened under some conditions
Date: Sat, 26 Feb 2011 23:32:11 +0100	[thread overview]
Message-ID: <20110226223211.GM811@prunille.vinc17.org> (raw)

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/foo
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 --version
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).

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)





             reply	other threads:[~2011-02-26 22:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-26 22:32 Vincent Lefevre [this message]
2011-02-26 22:45 ` bug#8127: When starting Cocoa Emacs, two frames are opened under some conditions Glenn Morris
2011-02-26 23:26   ` Vincent Lefevre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110226223211.GM811@prunille.vinc17.org \
    --to=vincent@vinc17.net \
    --cc=8127@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).