Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] [TotD] nagios-mode for [X]Emacs
- Date: Mon, 11 Apr 2011 13:18:31 +0200
- From: Josh Glover <jmglov@example.com>
- Subject: [tlug] [TotD] nagios-mode for [X]Emacs
>From my blog (http://jmglov.blogspot.com/2011/04/nagios-mode-for-emacs.html): Browse to http://michael.orlitzky.com/git/?p=nagios-mode.git;a=blob_plain;f=nagios-mode.el;hb=HEAD Save file to something like ~/.xemacs/user_lisp/nagios-mode.el If you haven't already included ~/.xemacs/user_lisp in your load path, do so now by adding the following to your ~/.xemacs/custom.el: (add-to-list 'load-path "$HOME/.xemacs/user_lisp/") Now, load nagios-mode.el by adding the following to your ~/.xemacs/custom.el: (autoload 'nagios-mode "$HOME/.xemacs/user_lisp/nagios-mode.el" "Major mode for editing Nagios config files" t) Finally, you'll want nagios-mode.el automatically enabled for Nagios config files, so add the following to your ~/.xemacs/custom.el: ; nagios-mode (add-to-list 'auto-mode-alist '("nagios-config/objects/.+\\.cfg$" . nagios-mode)) Cheers, Josh PS: OK Steve, let fly with snide remarks and suggestions for improving this workflow. ;)
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Need a Japanese keyboard
- Next by Date: [tlug] [announcement] nomikai April 22 (Friday)
- Previous by thread: Re: [tlug] Need a Japanese keyboard
- Next by thread: [tlug] [announcement] nomikai April 22 (Friday)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links