help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display line number on each buffer line


From: Jean Louis
Subject: Re: Display line number on each buffer line
Date: Fri, 3 Dec 2021 23:53:12 +0300
User-agent: Mutt/2.0.7+183 (3d24855) (2021-05-28)

* fatiparty--- via Users list for the GNU Emacs text editor 
<help-gnu-emacs@gnu.org> [2021-12-02 12:04]:
> Dec 2, 2021, 08:31 by larsi@gnus.org:
> 
> > fatiparty--- via Users list for the GNU Emacs text editor
> > <help-gnu-emacs@gnu.org> writes:
> >
> >> Is there a way to display the line number on each buffer line?
> >>
> >
> > `M-x display-line-numbers-mode'
> >
> That's what I was looking for.  Is there a technique for changing
> the foreground colour of the line number as well?

M-x linum-mode 

works well too

-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]