help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto-saved files unexpectedly deleted


From: dont . spam . earl
Subject: Re: Auto-saved files unexpectedly deleted
Date: Thu, 15 May 2014 10:40:57 -0700 (PDT)
User-agent: G2/1.0

On Thursday, May 15, 2014 2:55:21 AM UTC-7, Michael Heerdegen wrote:
> dont.spam.earl@gmail.com writes:
> 
> 
> 
> > Hi all,
> 
> >
> 
> > I'd like to save "transcripts" of my Shell and other comint sessions
> 
> > with all I/O, not just the command history. I've created a "comint
> 
> > transcript" major-mode by adapting auto-saving but I'm running into a
> 
> > problem.
> 
> 
> 
> I think it would be better not to hack into auto-save-mode.  Why don't
> 
> you just save the buffer contents to your own file, e.g. using
> 
> `write-region'?
> 
> 
> 
> Michael.


Yes, I'll admit that occurred to me ;) ...especially when I saw that it's part 
of files.el and not factored out.

I'm reluctant though because I want to do auto-saving of these buffers and I 
don't want to reimplement and maintain a lot of the auto-save functionality.

Earl


reply via email to

[Prev in Thread] Current Thread [Next in Thread]