unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Auto-Logging Buffer
Date: Sat, 12 Aug 2006 10:53:59 +0200	[thread overview]
Message-ID: <F4D5B588-EBD4-428A-80CD-B02278AEB334@Web.DE> (raw)
In-Reply-To: <1155345577.504009.34430@74g2000cwt.googlegroups.com>


Am 12.08.2006 um 03:19 schrieb cyber0ne:

> Using GNU Emacs 21.3.2
>
> This is probably a simple question, but is there an easy way to  
> have my
> emacs buffer auto-log to a file?  I'm using emacs as a moo/mud client
> in a screen session, and I'd like to keep a running log.  I know  
> how to
> save the file manually, but i don't always have that option if, for
> whatever reason, the machine running the screen session reboots (power
> failure, etc.).

Save that buffer at once to a file (maybe with a hook  
automatically?). And maybe set different value for auto-save-timeout.

When GNU Emacs then has to abort you'll have the log file and a  
possibly newer copy named à la #log file#. And the version from  
before log file was saved: log file~.

--
Greetings

   Pete

Claiming that the Macintosh is inferior to Windows because most  
people use Windows, is like saying that all other restaurants serve  
food that is inferior to McDonald's.

  reply	other threads:[~2006-08-12  8:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-12  1:19 Auto-Logging Buffer cyber0ne
2006-08-12  8:53 ` Peter Dyballa [this message]
     [not found] ` <mailman.5108.1155372847.9609.help-gnu-emacs@gnu.org>
2006-08-12 13:53   ` cyber0ne

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=F4D5B588-EBD4-428A-80CD-B02278AEB334@Web.DE \
    --to=peter_dyballa@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).