From: Eli Zaretskii <eliz@gnu.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 49193@debbugs.gnu.org, jidanni@jidanni.org
Subject: bug#49193: Document require-final-newline vs. readonly files
Date: Fri, 25 Jun 2021 09:07:31 +0300 [thread overview]
Message-ID: <83lf6yscik.fsf@gnu.org> (raw)
In-Reply-To: <871r8q29wd.fsf@web.de> (message from Michael Heerdegen on Fri, 25 Jun 2021 00:08:34 +0200)
> From: Michael Heerdegen <michael_heerdegen@web.de>
> Cc: eliz@gnu.org, jidanni@jidanni.org
> Date: Fri, 25 Jun 2021 00:08:34 +0200
>
> | 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...
>
> But that's not true, is it? The file is not touched. Is the newline
> still added to the file's buffer? Or not even that (because the buffer
> is read-only)?
>
> Would
>
> | [...] Emacs adds a newline at the end of any file's buffer that
> | doesn’t have one, just after it visits the file...
>
> be clearer?
Depends on the beholder, I guess. Many newbies don't understand the
fine difference, and have trouble with the idea that Emacs doesn't
generally manipulate files for editing.
next prev parent reply other threads:[~2021-06-25 6:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-23 15:14 bug#49193: Document require-final-newline vs. readonly files 積丹尼 Dan Jacobson
2021-06-23 18:06 ` Eli Zaretskii
2021-06-23 19:22 ` 積丹尼 Dan Jacobson
2021-06-24 5:55 ` Eli Zaretskii
2021-06-24 22:08 ` Michael Heerdegen
2021-06-25 6:07 ` Eli Zaretskii [this message]
2021-06-26 17:18 ` 積丹尼 Dan Jacobson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83lf6yscik.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=49193@debbugs.gnu.org \
--cc=jidanni@jidanni.org \
--cc=michael_heerdegen@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.