From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.help Subject: Re: make emacs switch to front unsaved buffer when quit Date: Thu, 5 Apr 2012 02:50:32 +0200 Message-ID: References: <9419453e-b6f8-4384-8a31-3b3391efa724@8g2000pbm.googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1333587646 30693 80.91.229.3 (5 Apr 2012 01:00:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 Apr 2012 01:00:46 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Xah Lee Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 05 03:00:46 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SFb44-0001JY-Sq for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Apr 2012 03:00:41 +0200 Original-Received: from localhost ([::1]:33844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFavC-0002YB-MU for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Apr 2012 20:51:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFav3-0002Ws-QY for help-gnu-emacs@gnu.org; Wed, 04 Apr 2012 20:51:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SFav1-0006N7-1K for help-gnu-emacs@gnu.org; Wed, 04 Apr 2012 20:51:20 -0400 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:46104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFav0-0006Mk-ON for help-gnu-emacs@gnu.org; Wed, 04 Apr 2012 20:51:18 -0400 Original-Received: by pbcup15 with SMTP id up15so912570pbc.0 for ; Wed, 04 Apr 2012 17:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=sWxzb/ggyzdbTT9gWXWvxmLwLSkoU+HLATKBnZ/MhIU=; b=NmjclcClZ0H9Vl4tpFj5QeD8c81YVVyAu81YBV6dpJPI0P2LkiQ8lNveKRSYQQ+R90 TuPnEzXvVjRLaXaUgHwmDKIxo4MPtUMUa7cfqWDidqUMm5qMQqK767iEq1p0h/dMGQBT bWdzvRQqiBXWxjYdDQDadgWyRRhkG3IgDMkh2pTHOH5jCQNoBd7it/iG6JSzmWLhtmK8 03xrKGy8HQYGrhmRk2C+ig8Dwq7aEXzQzGDhYxspGaOSmP54ynlwodtCOsHdbj8E/t1v 1Gp2R9uylrP4gkLlh+xzLMCX3blFK2tj7i7AEqXd+rulCuZ9HdFxMeHUsqw1+rB4FO+s p7qQ== Original-Received: by 10.68.229.73 with SMTP id so9mr72220pbc.163.1333587074080; Wed, 04 Apr 2012 17:51:14 -0700 (PDT) Original-Received: by 10.142.204.14 with HTTP; Wed, 4 Apr 2012 17:50:32 -0700 (PDT) In-Reply-To: <9419453e-b6f8-4384-8a31-3b3391efa724@8g2000pbm.googlegroups.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84329 Archived-At: On Wed, Apr 4, 2012 at 17:35, Xah Lee wrote: > when quitting emacs =E2=80=9Csave-buffers-kill-terminal=E2=80=9D =E3=80= =90Ctrl+x Ctrl+c=E3=80=91, > 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'. =C2=A0 =C2=A0 Juanma