opensubscriber
   Find in this group all groups
 
Unknown more information…

h : help-gnu-emacs@gnu.org 25 April 2012 • 2:40AM -0400

Re: Emacs: Problems of the Scratch Buffer
by PJ Weisberg

REPLY TO AUTHOR
 
REPLY TO GROUP




On Tuesday, April 24, 2012, Dan Espen <despen@veri...> 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.

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.