From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Otto Maddox" Newsgroups: gmane.emacs.help Subject: Protecting buffers which aren't visiting files Date: Sun, 24 Oct 2010 13:01:47 +0100 Message-ID: <1287921707.15997.1401654367@webmail.messagingengine.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1288013652 6479 80.91.229.12 (25 Oct 2010 13:34:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2010 13:34:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 25 15:34:11 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PANBa-0001ly-AL for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Oct 2010 15:34:11 +0200 Original-Received: from localhost ([127.0.0.1]:37478 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PAN9X-00015h-05 for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Oct 2010 09:31:55 -0400 Original-Received: from [140.186.70.92] (port=44744 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P9zGo-0004hL-Ru for help-gnu-emacs@gnu.org; Sun, 24 Oct 2010 08:01:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P9zGn-0006zB-HW for help-gnu-emacs@gnu.org; Sun, 24 Oct 2010 08:01:50 -0400 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]:60829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P9zGn-0006z1-FB for help-gnu-emacs@gnu.org; Sun, 24 Oct 2010 08:01:49 -0400 Original-Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 558736FD for ; Sun, 24 Oct 2010 08:01:47 -0400 (EDT) Original-Received: from web2.messagingengine.com ([10.202.2.212]) by compute2.internal (MEProxy); Sun, 24 Oct 2010 08:01:47 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:from:to:mime-version:content-transfer-encoding:content-type:subject:date; s=smtpout; bh=SwFQ0C2h8oe/+skepIZIcyznegQ=; b=okjjqDYZniJ9qQIq2TUXSwZMxEPjfyPnyd2K8km+59MSvAgQZgx66DUYFjFRznG4rn0U1+V0MHFsCQ2Qk5psyYC3+dwakXh7LERnD3QYZnQnnUYs+xqIKYBSMjuzlKMflR1a6TU3N6vTsLuIxY7sIZFBsHNGzj8tVP51A9aFdSI= Original-Received: by web2.messagingengine.com (Postfix, from userid 99) id 3496AB0A775; Sun, 24 Oct 2010 08:01:47 -0400 (EDT) X-Sasl-Enc: UuTZ5WmtsGN7zOsr3PBEQm1LYAVsJD0RfXa4b3asqmVH 1287921707 X-Mailer: MessagingEngine.com Webmail Interface X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Mon, 25 Oct 2010 09:30:49 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:75218 Archived-At: I use a lot of scratch buffers (which don't visit files), and I've lost a lot of work due to accidentally quitting Emacs or killing those buffers, because Emacs doesn't ask for confirmation. Is there a way of configuring Emacs to treat buffers which don't visit files the same way as file-visiting buffers, for this situation? Thanks. -- http://www.fastmail.fm - Email service worth paying for. Try it for free