GNU bug report logs - #7497
problem about auto adding newline at the end of file

Previous Next

Package: emacs;

Reported by: 李银璠 <linfeixb27 <at> gmail.com>

Date: Sat, 27 Nov 2010 10:50:03 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: 李银璠 <linfeixb27 <at> gmail.com>
To: 7497 <at> debbugs.gnu.org
Subject: bug#7497: problem about auto adding newline at the end of file
Date: Sat, 27 Nov 2010 18:53:17 +0800
[Message part 1 (text/plain, inline)]
My emacs does not behave as stated in the documentation,
http://www.gnu.org/software/emacs/manual/html_node/emacs/Customize-Save.html#Customize-Save
.

In the documentation, it is said that, if require-final-newline is set to
nil, no changes would be adapted to my files, leaving them not ended with
newline (0x0d0a).
My emacs, on the other hand, always adds newline at the end of file,
automatically, even when I add (setq-default require-final-newline nil); or
(setq require-final-newline nil);to .emacs. (I tried them both)

I don't know if it is a bug, or it is caused by my wrong operation. I'm
using Ubuntu 10.10, emacs 23.1.1
[Message part 2 (text/html, inline)]

This bug report was last modified 14 years and 233 days ago.

Previous Next


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