Introducing smblog-mode for emacs

Aurélien Aptel aaptel at suse.com
Tue Mar 8 13:44:45 UTC 2016


Hi,

I wrote a samba log viewer for Emacs. It is hosted on github:

  https://github.com/aaptel/smblog-mode

# smblog-mode

Emacs major mode for samba log files.

## Features

- hilighting of log messages
- easy navigation (`n` and `p`)
- filter by log level (`+` and `-`), files&functions (`f`)
- go to the source file (`RET` on any part of the log message)

## Installation

- place smblog.el somewhere in your `load-path`
- add `(require 'smblog)` in your init file
- add `(setq smblog-src-dir "/absolute/path/to/your/samba")`
  to use the go-to-source feature
- it should trigger on standard samba log file names,
  otherwise use `M-x smblog-mode-from-file-buffer` while visiting a log
  file


Enjoy!

-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG
Nürnberg)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160308/35e52c1f/attachment.sig>


More information about the samba-technical mailing list