From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Scratch buffer annoyance Date: Fri, 06 Jul 2007 00:12:49 -0400 Message-ID: References: <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 1183695178 6255 80.91.229.12 (6 Jul 2007 04:12:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Jul 2007 04:12:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 06 06:12:57 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 1I6fBf-00078X-Vp for ged-emacs-devel@m.gmane.org; Fri, 06 Jul 2007 06:12:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6fBf-0004cf-E6 for ged-emacs-devel@m.gmane.org; Fri, 06 Jul 2007 00:12:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I6fBb-0004Y3-LU for emacs-devel@gnu.org; Fri, 06 Jul 2007 00:12:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I6fBb-0004XH-3k for emacs-devel@gnu.org; Fri, 06 Jul 2007 00:12:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6fBb-0004X2-1M for emacs-devel@gnu.org; Fri, 06 Jul 2007 00:12:51 -0400 Original-Received: from tomts20.bellnexxia.net ([209.226.175.74] helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I6fBa-00029L-NR for emacs-devel@gnu.org; Fri, 06 Jul 2007 00:12:50 -0400 Original-Received: from ceviche.home ([74.12.208.200]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070706041249.WFWT1637.tomts20-srv.bellnexxia.net@ceviche.home> for ; Fri, 6 Jul 2007 00:12:49 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 4EDB4B4C3F; Fri, 6 Jul 2007 00:12:49 -0400 (EDT) In-Reply-To: <877ipev1iv.fsf@stupidchicken.com> (Chong Yidong's message of "Thu\, 05 Jul 2007 20\:06\:32 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Solaris 8 (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:74370 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. And also, it shouldn't be saved in the home directory but somewhere in the .emacs.d directory. Stefan