From: Alex Kost <alezost@gmail.com>
To: Steinar Bang <sb@dod.no>
Cc: help-gnu-emacs@gnu.org
Subject: Re: View log files with emacs
Date: Tue, 24 Feb 2015 15:14:24 +0300 [thread overview]
Message-ID: <87bnkjh5gf.fsf@gmail.com> (raw)
In-Reply-To: <87a9049twi.fsf@dod.no> (Steinar Bang's message of "Mon, 23 Feb 2015 22:53:33 +0100")
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
next prev parent reply other threads:[~2015-02-24 12:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-17 15:37 View log files with emacs Eike
2015-02-17 15:43 ` Drew Adams
2015-02-17 18:58 ` Alex Kost
2015-02-17 20:04 ` Eike
2015-02-23 21:53 ` Steinar Bang
2015-02-23 22:17 ` John Mastro
2015-02-24 12:14 ` Alex Kost [this message]
2015-02-17 19:06 ` Filipp Gunbin
2015-02-17 20:13 ` Eike
2015-02-18 7:23 ` Tassilo Horn
2015-02-18 8:39 ` Eike
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bnkjh5gf.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=sb@dod.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).