|
From: | Elias Mårtenson |
Subject: | Re: About column numbers |
Date: | Sun, 3 Apr 2016 00:29:10 +0800 |
>> (it would break some code, but most of it is already fundamentally
>> broken because it should use `point-min` rather than hardcoding 1, so
>> it's not *that* terrible).
> Amusingly, always using (point-min) also leads to interesting bugs.
Oh yes. Along with the "hard narrowing" discussion, it would be good to
have a way to get the "external point-min". Currently the only portable
way (short of hardcoding 1) is via (save-restriction (widen)
(point-min)) which is rather round-about and inefficient.
[Prev in Thread] | Current Thread | [Next in Thread] |