[Top][All Lists]

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

Re: How to automatically write *Messages" buffer to a file?

From: Eli Zaretskii
Subject: Re: How to automatically write *Messages" buffer to a file?
Date: Wed, 24 Nov 2004 17:52:34 +0200

> From: Pascal Bourguignon <address@hidden>
> Date: 24 Nov 2004 15:06:38 +0100
> Brad Collins <address@hidden> writes:
> > Is there is a simple way of getting Emacs to automatically append
> > messages in the message buffer to a file so messages work as a log file?
> > 
> > I've been looking around and it seems this should be dead easy but I
> > can't figure it out?
> The best I can figure is that the simple way to do it would be to
> modify the C source of emacs.  message is a buit-in function.

How about an after-change function that'd do this only for the
*Messages* buffer?

> I know of no way from emacs lisp to append a line to a file.

??? What's wrong with append-to-file?

reply via email to

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