help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: package that writes *Messages* to a file


From: Kevin Rodgers
Subject: Re: package that writes *Messages* to a file
Date: Thu, 27 Oct 2005 10:16:31 -0600
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Harry Putnam wrote:
> Is there a package available that writes the *Messages* buffer to file
> as an emacs session progresses?

Why not just:

(with-current-buffer "*Messages*"
  (setq buffer-offer-save t))

so you are queried when you exit emacs whether to save the buffer or
not.  Or:

(with-current-buffer "*Messages*"
  (set-visited-file-name "~/emacs_messages"))

so the buffer is auto-saved during the session, and then you are queried
when you exit.

--
Kevin Rodgers





reply via email to

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