From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Auto-Logging Buffer Date: Sat, 12 Aug 2006 10:53:59 +0200 Message-ID: References: <1155345577.504009.34430@74g2000cwt.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1155372869 1709 80.91.229.2 (12 Aug 2006 08:54:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2006 08:54:29 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 12 10:54:27 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBpG9-0004ZS-OW for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Aug 2006 10:54:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBpG9-000781-9A for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Aug 2006 04:54:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GBpFt-00073U-3U for help-gnu-emacs@gnu.org; Sat, 12 Aug 2006 04:54:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GBpFr-00070C-Hj for help-gnu-emacs@gnu.org; Sat, 12 Aug 2006 04:54:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBpFr-0006zq-9o for help-gnu-emacs@gnu.org; Sat, 12 Aug 2006 04:54:03 -0400 Original-Received: from [217.72.192.221] (helo=fmmailgate01.web.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GBpLB-0005x8-8S for help-gnu-emacs@gnu.org; Sat, 12 Aug 2006 04:59:33 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate01.web.de (Postfix) with ESMTP id 6D4CC106837F; Sat, 12 Aug 2006 10:54:02 +0200 (CEST) Original-Received: from [84.245.185.53] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.107 #114) id 1GBpFq-0001mc-00; Sat, 12 Aug 2006 10:54:02 +0200 In-Reply-To: <1155345577.504009.34430@74g2000cwt.googlegroups.com> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: "cyber0ne" X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36624 Archived-At: 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 =20 > 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 =20 > 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 =20 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 =20 possibly newer copy named =E0 la #log file#. And the version from =20 before log file was saved: log file~. -- Greetings Pete Claiming that the Macintosh is inferior to Windows because most =20 people use Windows, is like saying that all other restaurants serve =20 food that is inferior to McDonald's.