From: Charles Jamieson <cjamieson@no.junk>
Subject: problem with require-final-newline
Date: Thu, 13 May 2004 17:43:48 GMT [thread overview]
Message-ID: <otOoc.1676$Dz.144176@attbi_s52> (raw)
I have the line
(setq-default require-final-newline t)
in my .emacs file. When I save a .txt file without a final newline, I
am asked whether to add a newline. When I enter C-h v
require-final-newline, I am informed this variable is set to query.
However, when I save a .cpp or.h file without a terminating new
line, the newline is silently added. In fact when I enter C-h v
require-final-newline, I am informed its value is set to t.
Why is this variable not being set consistently across file types?
-charles
next reply other threads:[~2004-05-13 17:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-13 17:43 Charles Jamieson [this message]
2004-05-13 23:07 ` problem with require-final-newline Kevin Rodgers
2004-05-14 7:20 ` Alan Mackenzie
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='otOoc.1676$Dz.144176@attbi_s52' \
--to=cjamieson@no.junk \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).