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

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

Re: View log files with emacs


From: Alex Kost
Subject: Re: View log files with emacs
Date: Tue, 24 Feb 2015 15:14:24 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Steinar Bang (2015-02-24 00:53 +0300) wrote:

> I got it from MELPA and put
>  (require 'syslog-mode)
> in the .emacs file.
>
> But it doesn't open the log files in /var/log automatically, they still
> open as Fundamental, and I have to 'M-x syslog-mode RET' to get the mode
> running. 
>
> The value of the syslog-log-file-directory variable is the default
> "/var/log".  There doesn't seem to be any settings beyond that...?

John Mastro answered this question (you need to adjust your
`auto-mode-alist').  I just wanted to tell that there is no need to add
(require 'syslog-mode) to your .emacs.  Syslog-mode will be
automatically loaded.

-- 
Alex



reply via email to

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