unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8127: When starting Cocoa Emacs, two frames are opened under some conditions
@ 2011-02-26 22:32 Vincent Lefevre
  2011-02-26 22:45 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Vincent Lefevre @ 2011-02-26 22:32 UTC (permalink / raw)
  To: 8127

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)





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#8127: When starting Cocoa Emacs, two frames are opened under some conditions
  2011-02-26 22:32 bug#8127: When starting Cocoa Emacs, two frames are opened under some conditions Vincent Lefevre
@ 2011-02-26 22:45 ` Glenn Morris
  2011-02-26 23:26   ` Vincent Lefevre
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2011-02-26 22:45 UTC (permalink / raw)
  To: Vincent Lefevre; +Cc: 8127

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#8127: When starting Cocoa Emacs, two frames are opened under some conditions
  2011-02-26 22:45 ` Glenn Morris
@ 2011-02-26 23:26   ` Vincent Lefevre
  0 siblings, 0 replies; 3+ messages in thread
From: Vincent Lefevre @ 2011-02-26 23:26 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 8127

On 2011-02-26 17:45:57 -0500, Glenn Morris wrote:
> 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

Yes, the patch works for me.

-- 
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)





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-26 23:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-26 22:32 bug#8127: When starting Cocoa Emacs, two frames are opened under some conditions Vincent Lefevre
2011-02-26 22:45 ` Glenn Morris
2011-02-26 23:26   ` Vincent Lefevre

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).