> > I could be nice that the linenumbers are visible
> each time I start emacs, is that possible?
> 
> Not with this mode because it has to be enabled in
> each buffer, when you need it. I suggest you bind it
to some key:
> 
> (global-set-key "\C-cl" 'setnu-mode)
> 

Or you can add to to a hook for whichever modes you
want it enabled, i.e. placing in your .emacs file 

(add-hook 'java-mode-hook
            '(lambda ()
               (setnu-mode t))

will turn on line numbers for any buffer that uses java-mode.

----
Ryan Bowman

That stupid bird stole my quarter.  I hate birds. - Eddie
----

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to