emacs-devel
[Top][All Lists]
Advanced

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

Re: Native line numbers landed on master


From: Yuri D'Elia
Subject: Re: Native line numbers landed on master
Date: Fri, 04 Oct 2019 00:37:02 +0200
User-agent: mu4e 1.3.5; emacs 27.0.50

On Thu, Oct 03 2019, Juanma Barranquero wrote:
>> Just wanted to point out that Bug#27734 should probably be closed once
>> this is merged.
>
> Right. I'll note so in the commit message.
>
> Anything else lacking before committing?

I'll throw this in, since I've mentioned it.
Can we add a line number offset?

display-line-number-offset

As a signed integer which gets added the current number, defaulting to
0.

My workflow involving the offset is to ignore the offset introduced by
headers frequently present in data files. Very, very, very useful,
especially when combined with a simple advice to goto-line to make the
two consistent. The number you see is the data row you getâ„¢.

I can mention that such an offset would also obsolete the linun-relative
(and some other) extension which could be fully reimplemented using N/M
+ offset.



reply via email to

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