GNU bug report logs - #32940
26.1.50; nneething fails with CRLF-encoded files

Previous Next

Package: emacs;

Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>

Date: Fri, 5 Oct 2018 00:21:01 UTC

Severity: normal

Found in version 26.1.50

Done: Katsumi Yamaoka <yamaoka <at> jpl.org>

Bug is archived. No further changes may be made.

Full log


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

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: control <at> debbugs.gnu.org
Cc: Kazuhiro NISHIYAMA <zn <at> mbf.nifty.com>,
 TSUCHIYA Masatoshi <tsuchiya <at> namazu.org>
Subject: bug#32940: 26.1.50; nneething fails with CRLF-encoded files
Date: Fri, 05 Oct 2018 09:26:30 +0900
[Message part 1 (text/plain, inline)]
close 32940
quit
[Message part 2 (message/rfc822, inline)]
From: yamaoka <at> jpl.org (Katsumi Yamaoka)
To: emacs-diffs <at> gnu.org
Subject: emacs-26 79bda3b: Make nneething allow CRLF-encoded
 files (bug#32940)
Date: Thu,  4 Oct 2018 20:22:46 -0400 (EDT)
branch: emacs-26
commit 79bda3bc4731c7ac67b499a154c636d8eeb2edee
Author: Katsumi Yamaoka <yamaoka <at> jpl.org>
Commit: Katsumi Yamaoka <yamaoka <at> jpl.org>

    Make nneething allow CRLF-encoded files (bug#32940)

    * lisp/gnus/nneething.el (nneething-request-article):
    Bind coding system to raw-text instead of binary when reading a file,
    that may be CRLF-encoded (bug#32940).
---
 lisp/gnus/nneething.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/gnus/nneething.el b/lisp/gnus/nneething.el
index 9b6a92f..886cbf8 100644
--- a/lisp/gnus/nneething.el
+++ b/lisp/gnus/nneething.el
@@ -123,7 +123,7 @@ included.")
 	 (file-exists-p file)		; The file exists.
 	 (not (file-directory-p file))	; It's not a dir.
 	 (save-excursion
-	   (let ((nnmail-file-coding-system 'binary))
+	   (let ((nnmail-file-coding-system 'raw-text))
 	     (nnmail-find-file file))	; Insert the file in the nntp buf.
 	   (unless (nnheader-article-p)	; Either it's a real article...
 	     (let ((type


This bug report was last modified 6 years and 226 days ago.

Previous Next


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