From: Philipp Stephani <p.stephani2@gmail.com>
To: Barry Margolin <barmar@alum.mit.edu>, help-gnu-emacs@gnu.org
Subject: Re: Mac: Don't quit Emacs when window is closed
Date: Mon, 18 Jan 2016 18:03:39 +0000 [thread overview]
Message-ID: <CAArVCkRdoVWQ3SXfbBDrkwRv4vg81Z1twmpPH6uAtWN97+W4bw@mail.gmail.com> (raw)
In-Reply-To: <barmar-BCC777.12051318012016@88-209-239-213.giganet.hu>
Barry Margolin <barmar@alum.mit.edu> schrieb am Mo., 18. Jan. 2016 um
18:10 Uhr:
> In article <mailman.2484.1453090928.843.help-gnu-emacs@gnu.org>,
> Random832 <random832@fastmail.com> wrote:
>
> > Marcin Borkowski <mbork@mbork.pl> writes:
> > > Would this help a bit?
> > >
> > > (setq confirm-kill-emacs #'yes-or-no-p)
> >
> > The wider issue is that people expect to be able to close all windows
> > and keep an app open (the menu remains open).
>
> It's perfectly normal and expected for Mac applications, which is one of
> the reasons why the Mac menu bar is attached to the screen, not
> individual windows. Some single-window applications automatically quit
> when you close that window, but this would be unusual for multi-window
> applications.
>
>
Basically, Emacs should run the equivalent of (delete-frame nil :force)
when closing its window on OS X, not kill-emacs. When clicking the dock
icon without a frame present, a new one should be created with e.g.
make-frame.
next prev parent reply other threads:[~2016-01-18 18:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-17 20:07 Mac: Don't quit Emacs when window is closed Luis Gerhorst
2016-01-17 22:40 ` Marcin Borkowski
2016-01-18 4:21 ` Random832
2016-01-19 18:31 ` Luis Gerhorst
[not found] ` <mailman.2484.1453090928.843.help-gnu-emacs@gnu.org>
2016-01-18 17:05 ` Barry Margolin
2016-01-18 18:03 ` Philipp Stephani [this message]
2016-01-21 17:36 ` repeating a search a certain number of times Timur Aydin
2016-01-21 18:10 ` Drew Adams
2016-01-18 7:15 ` Mac: Don't quit Emacs when window is closed Nick Helm
2016-01-19 18:35 ` Luis Gerhorst
2016-01-19 21:46 ` Luis Gerhorst
2016-01-19 22:04 ` Nick Helm
2016-01-18 9:11 ` tomas
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAArVCkRdoVWQ3SXfbBDrkwRv4vg81Z1twmpPH6uAtWN97+W4bw@mail.gmail.com \
--to=p.stephani2@gmail.com \
--cc=barmar@alum.mit.edu \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.