From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: PJ Weisberg Newsgroups: gmane.emacs.help Subject: Re: Emacs: Problems of the Scratch Buffer Date: Tue, 24 Apr 2012 11:40:42 -0700 Message-ID: References: <1bqkr.13803$mL3.9455@newsfe23.iad> <5Yxkr.15011$bU5.6213@newsfe04.iad> <99231f42-9486-427e-a340-7591223e6c08@u4g2000pbu.googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04428dca8eef4304be71177e X-Trace: dough.gmane.org 1335292862 28952 80.91.229.3 (24 Apr 2012 18:41:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2012 18:41:02 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Dan Espen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 24 20:41:00 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SMkfV-00067x-MU for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Apr 2012 20:40:53 +0200 Original-Received: from localhost ([::1]:55875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMkfU-0000Lm-TA for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Apr 2012 14:40:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMkfP-0000LV-Fb for help-gnu-emacs@gnu.org; Tue, 24 Apr 2012 14:40:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMkfN-0001RG-MK for help-gnu-emacs@gnu.org; Tue, 24 Apr 2012 14:40:47 -0400 Original-Received: from mail-wi0-f171.google.com ([209.85.212.171]:38969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMkfN-0001PY-9x for help-gnu-emacs@gnu.org; Tue, 24 Apr 2012 14:40:45 -0400 Original-Received: by wibhj13 with SMTP id hj13so3258596wib.12 for ; Tue, 24 Apr 2012 11:40:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=iaE0runrdO1raehNKP/yn30jrf9H2J1Sq6tf+Z5CvMs=; b=zWtidicRCld2GreUSEZYH3pMcBD2bDizyQHcNRGHZPUSmbCLauvn7T0ZFnn5gbFA+4 KCFxBRsvyiykeQukTuIuXReHCQxT/qflwUUNKfpW2GKXOPmtOEFsQB+T89gcWR8HQmQR 2odBY9os5oEl0zN0AnWTpuGSeElEZJLq+XieGmTXBAU6pUonuYSFA6ZkKVJKAt5+AlJL l8cE4eOeAdUiFGY530QZpbppF0oduIGKdJiaBdslJ49jvftWmwyx13Ud8cMP/Q4lWWVq v1m9vnky8rflHak5aUVgVJmGlI109/BWjdo8aWmtHea+ja0INLNbDyfjg/ja43a06dZa +Eiw== Original-Received: by 10.180.104.230 with SMTP id gh6mr33573622wib.22.1335292842667; Tue, 24 Apr 2012 11:40:42 -0700 (PDT) Original-Received: by 10.223.116.200 with HTTP; Tue, 24 Apr 2012 11:40:42 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.171 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84615 Archived-At: --f46d04428dca8eef4304be71177e Content-Type: text/plain; charset=ISO-8859-1 On Tuesday, April 24, 2012, Dan Espen wrote: > Isn't the "modern" way to do this is start with a buffer in fundamental > mode named "untitled-n" and if anything is typed in the buffer, save it > as "untitled-n"? So a typical user would have a home directory > filled with "untitled-n" files? Actually, the "modern" way is to prompt for a filename when the user tries to save the untitled buffer. FWIW, I have a launcher script for emacs that I wrote for myself, and one of the things it does is insert the file argument "new-file-$RANDOM.txt" if there is none. -- -PJ Gehm's Corollary to Clark's Law: Any technology distinguishable from magic is insufficiently advanced. --f46d04428dca8eef4304be71177e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tuesday, April 24, 2012, Dan Espen <despen@verizon.net> wrote:
> Isn't the "modern&q= uot; way to do this is start with a buffer in fundamental
> mode name= d "untitled-n" and if anything is typed in the buffer, save it > as "untitled-n"? =A0So a typical user would have a home dire= ctory
> filled with "untitled-n" files?

Actually, th= e "modern" way is to prompt for a filename when the user tries to= save the untitled buffer.

FWIW, I have a launcher script for emacs that I wrote for myself, and o= ne of the things it does is insert the file argument "new-file-$RANDOM= .txt" if there is none.

--
-PJ

Gehm's Corollary = to Clark's Law: Any technology distinguishable from
magic is insufficiently advanced.
--f46d04428dca8eef4304be71177e--