From: "Drew Adams" <drew.adams@oracle.com>
To: "'Juanma Barranquero'" <lekktu@gmail.com>,
"'Xah Lee'" <xahlee@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: make emacs switch to front unsaved buffer when quit
Date: Wed, 4 Apr 2012 18:27:59 -0700 [thread overview]
Message-ID: <2525CF68339246799F231612DAA2FFD5@us.oracle.com> (raw)
In-Reply-To: <CAAeL0SQkmMybFoLKepkfiqg8dX5GOYgJPKrEKv3MTL7LWCeaGw@mail.gmail.com>
> That runs save-buffers-kill-emacs, which runs save-some-buffers, whose
> docstring says:
>
> You can answer `y' to save, `n' not to save, `C-r' to look at the
> buffer in question with `view-buffer' before deciding or `d' to
> view the differences using `diff-buffer-with-file'.
`C-x C-c' runs `save-buffers-kill-terminal', by default. And that calls
`save-buffers-kill-emacs', which runs `save-some-buffers'. It's not so obvious
which function to check for more info.
Fortunately, the prompt lists the keys you can use. Unfortunately, it does not
point out that `C-h' will give you more help, telling you what each key does.
Also unfortunately, the doc of `save-some-buffers' (both doc string and Elisp
manual) does not say anything about hitting `C-h' and some of the the other keys
you can use.
I just filed bug #11181 for this.
next prev parent reply other threads:[~2012-04-05 1:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-04 15:35 make emacs switch to front unsaved buffer when quit Xah Lee
2012-04-05 0:50 ` Juanma Barranquero
2012-04-05 1:27 ` Drew Adams [this message]
[not found] ` <mailman.541.1333587088.20052.help-gnu-emacs@gnu.org>
2012-04-05 1:08 ` Xah Lee
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=2525CF68339246799F231612DAA2FFD5@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=lekktu@gmail.com \
--cc=xahlee@gmail.com \
/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.