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

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

bug#36573: 26.1; bufferpos-to-filepos assumes coding-system-eol-type giv


From: Lars Ingebrigtsen
Subject: bug#36573: 26.1; bufferpos-to-filepos assumes coding-system-eol-type gives integer
Date: Thu, 12 Aug 2021 14:54:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> I think, since these cases are very rare, it should be okay to assume
> the -unix EOL type when this happens, and document that if this is the
> case, the result could be an approximation even if the exact result
> was requested.

It is a rare odd corner case, but I think erroring out is a better
solution here than having to document this.  :-)  `exact' meaning
"exact" is easier conceptually.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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