emacs-devel
[Top][All Lists]
Advanced

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

Re: About column numbers


From: Stefan Monnier
Subject: Re: About column numbers
Date: Thu, 31 Mar 2016 17:39:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>> (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.


        Stefan




reply via email to

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