[ESS] adding setnu to ess/emacs

Manas Kaushik, M.D, M.Sc mkaushik at hsph.harvard.edu
Tue Apr 18 18:00:55 CEST 2006


Hi,

I am relatively new to emacs and wanted to add setnu.el (to display line 
numbers) while writing sas programs. I am wondering if ESS has a separate 
hook that would work as I try to get setnu to work on startup.

for text and emacs-lisp following hooks work:
(add-hook 'text-mode-hook 'turn-on-setnu-mode)
(add-hook 'emacs-lisp-mode-hook 'turn-on-setnu-mode)

thanks,
manas




More information about the ESS-help mailing list