GNU bug report logs - #49193
Document require-final-newline vs. readonly files

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 23 Jun 2021 17:49:01 UTC

Severity: wishlist

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

Bug is archived. No further changes may be made.

Full log


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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Document require-final-newline vs. readonly files
Date: Wed, 23 Jun 2021 23:14:56 +0800
(info "(emacs) Customize Save") says:
   If the value of the variable ‘require-final-newline’ is ‘t’, saving or
   writing a file silently puts a newline at the end if there isn’t already
   one there.  If the value is ‘visit’, Emacs adds a newline at the end of
   any file that doesn’t have one, just after it visits the file...

OK, but mention if this even affects readonly files / owned by other users
that we visit.




This bug report was last modified 4 years and 24 days ago.

Previous Next


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