[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Auto-saved files unexpectedly deleted
From: |
Michael Heerdegen |
Subject: |
Re: Auto-saved files unexpectedly deleted |
Date: |
Thu, 15 May 2014 11:55:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) |
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.