From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Scratch buffer annoyance Date: Thu, 05 Jul 2007 20:06:32 -0400 Message-ID: <877ipev1iv.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1183680536 8765 80.91.229.12 (6 Jul 2007 00:08:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Jul 2007 00:08:56 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 06 02:08:55 2007 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I6bNW-0000xm-5S for ged-emacs-devel@m.gmane.org; Fri, 06 Jul 2007 02:08:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6bNV-0004OR-JJ for ged-emacs-devel@m.gmane.org; Thu, 05 Jul 2007 20:08:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I6bNO-0004Lg-QH for emacs-devel@gnu.org; Thu, 05 Jul 2007 20:08:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I6bNN-0004Jm-6d for emacs-devel@gnu.org; Thu, 05 Jul 2007 20:08:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6bNN-0004JK-05 for emacs-devel@gnu.org; Thu, 05 Jul 2007 20:08:45 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I6bNM-0003V2-II for emacs-devel@gnu.org; Thu, 05 Jul 2007 20:08:44 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id EC6364E299; Thu, 5 Jul 2007 20:06:32 -0400 (EDT) X-detected-kernel: Linux 2.6 (newer, 1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74368 Archived-At: This recent change leads to annoying behavior: 2007-07-02 Richard Stallman * startup.el (command-line): Set buffer-offer-save in *scratch* and enable auto-save in it. After this was checked in, I noticed Emacs kept asking me if I wanted to save the *scratch* buffer upon each exit. That was annoying, but tolerable, so I just answered "no". A while later, I happened to do an `ls' in my home directory, and found it cluttered with 10-20 auto-save files: #*scratch*#10823QZW# #*scratch*#220140RY# #*scratch*#72802aU# ... At the very least, we should (i) offer an option to adopt the Emacs 22 behavior for the *scratch* buffer, i.e. with buffer-offer-save and auto-save disabled, and (ii) delete the auto-save file if the user answers "no" when asked if *scratch* should be saved.