help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make emacs switch to front unsaved buffer when quit


From: Xah Lee
Subject: Re: make emacs switch to front unsaved buffer when quit
Date: Wed, 4 Apr 2012 18:08:43 -0700 (PDT)
User-agent: G2/1.0

On Apr 4, 5:50 pm, Juanma Barranquero <lek...@gmail.com> wrote:
> On Wed, Apr 4, 2012 at 17:35, Xah Lee <xah...@gmail.com> wrote:
> > when quitting emacs “save-buffers-kill-terminal” 【Ctrl+x Ctrl+c】,
> > emacs will ask to save unsaved buffer, but doesn't switch it to front
> > to let you see.
>
> 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'.
>
>     Juanma

i tried Ctrl+r but that doesn't work. But what i actually wanted is
for emacs to switch the buffer in question automatically.

am surprised this wasn't default, till someone asked me, and i
realized being annoyed by it too.

 Xah


reply via email to

[Prev in Thread] Current Thread [Next in Thread]