From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Scratch buffer annoyance Date: Tue, 17 Jul 2007 21:59:38 +0200 Message-ID: <871wf6pzrp.fsf@baldur.tsdh.de> References: <877ipev1iv.fsf@stupidchicken.com> <87lkdhqp94.fsf@red-bean.com> <20070716203244.85A0A30116@Psilocybe.Update.UU.SE> <8ACF1129-2D04-4157-83F8-0F0F8928A5D2@gmail.com> <20070717184254.37CE2300A2@Psilocybe.Update.UU.SE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184702418 25147 80.91.229.12 (17 Jul 2007 20:00:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Jul 2007 20:00:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 17 22:00:14 2007 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 1IAtDP-0008QY-Ox for ged-emacs-devel@m.gmane.org; Tue, 17 Jul 2007 22:00:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAtDP-0008Ei-Qs for ged-emacs-devel@m.gmane.org; Tue, 17 Jul 2007 16:00:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IAtDL-0008EE-24 for emacs-devel@gnu.org; Tue, 17 Jul 2007 16:00:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IAtDG-0008Dm-Iw for emacs-devel@gnu.org; Tue, 17 Jul 2007 16:00:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAtDG-0008Dj-DH for emacs-devel@gnu.org; Tue, 17 Jul 2007 16:00:02 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IAtDF-0006Cy-EF for emacs-devel@gnu.org; Tue, 17 Jul 2007 16:00:01 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IAtD5-0002Et-UM for emacs-devel@gnu.org; Tue, 17 Jul 2007 21:59:51 +0200 Original-Received: from dslb-084-063-059-145.pools.arcor-ip.net ([84.63.59.145]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Jul 2007 21:59:51 +0200 Original-Received: from tassilo by dslb-084-063-059-145.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Jul 2007 21:59:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 51 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dslb-084-063-059-145.pools.arcor-ip.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUSEQ9eW1Dkxz/6+fjQ w52JeEi7Imd/AAAACXBIWXMAAAsSAAALEgHS3X78AAAATnRFWHRSYXcgcHJvZmlsZSB0eXBlIGV4 aWYACmV4aWYKICAgICAgMjAKNDU3ODY5NjYwMDAwNGQ0ZDAwMmEwMDAwMDAwODAwMDAwMDAwMDAw MAqJuBZbAAAACXZwQWcAAAAwAAAAMADO7oxXAAABk0lEQVQ4y32TS3KDMAxAxQB7uyEHiGvvoSh7 sMSeJnD/q9Q/DBmYamNZz/oioM8ySkn7DbL2bHiUV+CODTflGXTSC5xBWwRAJzBAkPIEhLMWANUZ 3ETRt1CcAbcVdhdgmMZq5CsPsS6iufJ4EY7rFVg0WwNwblA5+Q/QCbADtLeewUxKcT/n1g8x0UVp c5Lt7Op4ANw+wfwOB+YxJoA5wlZXMnSwT788gmEbhUtSHMFWPuEnwK0WD6IOKUDISIckkFYk+KWl qHYgUvGIOKYkEeQJEQ5H0EETrERIbWoxgTLmQCLvsQNRhpqQELvmF3Kop17Ce+yJf6WsM7D8CMNF 7pcZoN5C4cLWlUXsiHY5bAKsmXn2c2BCPYkGI0BtHTGFrxX5RUz8jkBZ1tqKt8vOrC1bNgk4M6v5 5jyYvzQrtjqCICN7+8hWaaXNAahvwn66R92QA88ENCPPCSze4ycBI6WQdVBXOoYy/ndeN3tocH35 68MDH8os26zQGHd/+XcYE+xbMpk1LuC0mo9NdANOX10n5Q8J6syYNMm6EgAAABp6VFh0anBlZzpj b2xvcnNwYWNlAAB42jMCAAAzADOJOCM1AAAAJnpUWHRqcGVnOnNhbXBsaW5nLWZhY3RvcgAAeNoz qjDSMawwBGEAEYMC6T2XL08AAAAASUVORK5CYII= User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:DDGTIUTls5zMGLT8o6zh74sLbUI= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:75016 Archived-At: "Alfred M. Szmidt" writes: Hi Alfred, > What's wrong with > > - automatically saving *scratch* in a place other than ~/ (where it > is out of the way) via auto-save and before exiting Emacs, > without any user interaction > > As other have pointed out, this won't work when you have multiple > emacses running. There are other modes facing the same problem. For example `desktop-save-mode' uses a lock file and asks the user what to do. And when multy-tty gets merged there are no good reasons to start multiple emacsen anyway. > - automatically restoring *scratch* from that file upon startup > (i.e. making it persistent) > > This defeats the whole concept of *scratch* IMHO. I don't think so. If you scratch up some notes on a paper they will still be there when you return to the office. (Well, maybe that depends on the charwomen.) And the effort to delete the contents of a buffer is not really a matter. > - not offering to save it anywhere else (even though users may to C-x > C-w and save it, thereby converting it to a normal, non-persistent > buffer, and creating an empty *scratch* buffer automatically). > > This would preserve the equivalence to a real-life scratch paper > that one keeps on one's desk, which will not magically disappear > overnight, but which may be filed somewhere else when needed. > > It would be unobtrusive and solve the original problem. > > I disagree, and strongly. It defeats the whole concept of a scratch > buffer. Well, I would like that new behavior. So users could use *scratch* to quickly write down some todos that need to be done the next day. Bye, Tassilo -- Chuck Norris can skeletize a cow in two minutes.