From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Scratch buffer annoyance Date: Wed, 18 Jul 2007 23:28:31 +0200 Message-ID: <85abttxuyo.fsf@lola.goethe.zz> References: <877ipev1iv.fsf@stupidchicken.com> <87lkdhqp94.fsf@red-bean.com> <20070716203244.85A0A30116@Psilocybe.Update.UU.SE> <8ACF1129-2D04-4157-83F8-0F0F8928A5D2@gmail.com> <86myxvrpc6.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184794132 22798 80.91.229.12 (18 Jul 2007 21:28:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Jul 2007 21:28:52 +0000 (UTC) Cc: kfogel@red-bean.com, david.reitter@gmail.com, ams@gnu.org, sdl.web@gmail.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 18 23:28:49 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 1IBH4i-00053n-N4 for ged-emacs-devel@m.gmane.org; Wed, 18 Jul 2007 23:28:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBH4i-0006zZ-5M for ged-emacs-devel@m.gmane.org; Wed, 18 Jul 2007 17:28:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IBH4e-0006x2-3l for emacs-devel@gnu.org; Wed, 18 Jul 2007 17:28:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IBH4d-0006wa-OF for emacs-devel@gnu.org; Wed, 18 Jul 2007 17:28:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBH4d-0006wS-Ak for emacs-devel@gnu.org; Wed, 18 Jul 2007 17:28:43 -0400 Original-Received: from mail-in-02.arcor-online.net ([151.189.21.42]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IBH4X-0005Md-2M; Wed, 18 Jul 2007 17:28:37 -0400 Original-Received: from mail-in-13-z2.arcor-online.net (mail-in-13-z2.arcor-online.net [151.189.8.30]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id 75FE21A7644; Wed, 18 Jul 2007 23:28:33 +0200 (CEST) Original-Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) by mail-in-13-z2.arcor-online.net (Postfix) with ESMTP id 66B621B8E05; Wed, 18 Jul 2007 23:28:33 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-086-214.pools.arcor-ip.net [84.61.86.214]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id 28F1F1E70C1; Wed, 18 Jul 2007 23:28:33 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 980871C3ACCF; Wed, 18 Jul 2007 23:28:31 +0200 (CEST) In-Reply-To: (Richard Stallman's message of "Wed\, 18 Jul 2007 16\:53\:13 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Virus-Scanned: ClamAV version 0.91.1, clamav-milter version 0.91.1 on mail-in-02.arcor-online.net X-Virus-Status: Clean X-detected-kernel: Linux 2.4-2.6 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:75100 Archived-At: Richard Stallman writes: > > - 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 > > That it doesn't work when one has more than one Emacs active at one > time. It is not like we have not been through that already. > > It is easy to solve that by making the file name depend on the pid > and host name. Which will make those buffers survive into the next session just how? > The code for reloading previous scratch buffers files will need to > take a certain amount of care to DTRT when there is more than one. > Including perhaps sometimes asking the user questions -- but we want > to try to avoid that if we can. I think this is a mess asking for trouble. We are trying to patch around a problem that comes from some default usage pattern for single-mode single-session applications. Emacs with its multiple major modes and kitchen-sink usefulness is just not suited to this paradigm. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum