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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#49193: closed (Document require-final-newline vs. readonly files)
Date: Thu, 24 Jun 2021 05:56:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 24 Jun 2021 08:55:39 +0300
with message-id <83lf6zu7qc.fsf <at> gnu.org>
and subject line Re: bug#49193: Document require-final-newline vs. readonly files
has caused the debbugs.gnu.org bug report #49193,
regarding Document require-final-newline vs. readonly files
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
49193: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49193
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 49193-done <at> debbugs.gnu.org
Subject: Re: bug#49193: Document require-final-newline vs. readonly files
Date: Thu, 24 Jun 2021 08:55:39 +0300
> From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
> Cc: 49193 <at> debbugs.gnu.org
> Date: Thu, 24 Jun 2021 03:22:22 +0800
> 
> EZ> There's nothing to mention, because this feature doesn't change how
> EZ> saving to an unwritable file behaves in Emacs.  The feature works on
> EZ> the buffer text, not on the buffer's file.
> 
> Ah, that clears things up.
> So please mention that.

I don't see a reason to mention that feature A doesn't change how
feature B works, for every combination of A and B.

So I'm closing this bug report.


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.