GNU bug report logs - #72879
30.0.90; string-lines hardcoded eol

Previous Next

Package: emacs;

Reported by: Christopher Howard <christopher <at> librehacker.com>

Date: Thu, 29 Aug 2024 18:04:01 UTC

Severity: normal

Found in version 30.0.90

Done: Christopher Howard <christopher <at> librehacker.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 72879 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Christopher Howard <christopher <at> librehacker.com>
Cc: 72879 <at> debbugs.gnu.org
Subject: Re: bug#72879: 30.0.90; string-lines hardcoded eol
Date: Thu, 29 Aug 2024 22:31:58 +0300
> From: Christopher Howard <christopher <at> librehacker.com>
> Date: Thu, 29 Aug 2024 10:02:36 -0800
> 
> Hi, Eli pointed out to me string-lines as a useful function for my project. I noticed that the function is hardcoded to assume "\n" as eol. My project involves "\r\n" data so "\r" ends up being included in the string. Perhaps nothing should be changed in the function at this point, but a note in the docstring might be appropriate.

Well, "newline" is the name of the \n character, so I think the doc
string is okay.




This bug report was last modified 202 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.