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

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

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


From: Stefan Monnier
Subject: Re: How to automatically write *Messages" buffer to a file?
Date: Thu, 25 Nov 2004 20:20:54 GMT
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

>   (add-hook 'after-change-functions 'write-to-log)

Please pass set `local' argument.  It doesn't make a difference, but
it's cleaner.  Same thing for remove-hook.

>                    ;; this region doesn't seem to include the
>                    ;; final character, but I can't change the
>                    ;; way it is written or I get error.
>                    ;;
>                    ;; the obvious choice 
>                    ;;   beg end
>                    ;; doesn't work either.
>                    (- (point-max) 
>                       (- end beg))
>                    (point-max)
>                    "~/LOG" t 'quiet)))

Try M-x report-emacs-bug.


        Stefan


reply via email to

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