unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Auto-saved files unexpectedly deleted
Date: Thu, 15 May 2014 11:55:21 +0200	[thread overview]
Message-ID: <87ha4rmkmu.fsf@web.de> (raw)
In-Reply-To: e964a80c-89a7-495c-bfae-31753d07555f@googlegroups.com

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.




  reply	other threads:[~2014-05-15  9:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-15  5:29 Auto-saved files unexpectedly deleted dont.spam.earl
2014-05-15  9:55 ` Michael Heerdegen [this message]
     [not found] ` <mailman.1389.1400147758.1147.help-gnu-emacs@gnu.org>
2014-05-15 17:40   ` dont.spam.earl
2014-05-16  5:32     ` Kevin Rodgers
     [not found]     ` <mailman.1440.1400218387.1147.help-gnu-emacs@gnu.org>
2014-05-18 17:03       ` dont.spam.earl
2014-05-25 14:17         ` Jude DaShiell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ha4rmkmu.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).