Subject: bug#49193: closed (Re: bug#49193: Document require-final-newline vs. readonly files)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 24 Jun 2021 05:56:02 +0000

Your bug report

#49193: Document require-final-newline vs. readonly files

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
49193: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49193
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#49193: Document require-final-newline vs. readonly files
From: Eli Zaretskii <[email-masked]>
To: 積丹尼 Dan Jacobson <[email-masked]>
Cc: [email-masked]
Date: Thu, 24 Jun 2021 08:55:39 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: 積丹尼 Dan Jacobson <[email-masked]>
> Cc: [email-masked]
> 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.

Subject: Document require-final-newline vs. readonly files
From: 積丹尼 Dan Jacobson <[email-masked]>
To: [email-masked]
Date: Wed, 23 Jun 2021 23:14:56 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

(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.