[ESS] adding setnu to ess/emacs

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


Works like magic!

thanks!
On Tue, 18 Apr 2006, Stephen Eglen wrote:

>
> > 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)
>
> have you tried:
>  (add-hook 'ess-mode-hook 'turn-on-setnu-mode)
>
> Best wishes, Stephen
>
>




More information about the ESS-help mailing list