emacs-devel
[Top][All Lists]
Advanced

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

Re: Native display of line numbers, improved


From: Eli Zaretskii
Subject: Re: Native display of line numbers, improved
Date: Mon, 26 Jun 2017 17:58:30 +0300

> From: Alex <address@hidden>
> Cc: address@hidden
> Date: Sun, 25 Jun 2017 21:50:15 -0600
> 
> Err, sorry again. I meant to write "the number of digits needed to
> represent the last line in the buffer's line number".

Right.  That would be something like

  (truncate (1+ (log (max 1 (count-lines (point-min) (point-max))) 10)))




reply via email to

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