unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* what are some example case of files needing newline at end?
@ 2008-12-06  7:17 Xah Lee
  2008-12-06  9:49 ` Andy Stewart
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Xah Lee @ 2008-12-06  7:17 UTC (permalink / raw)
  To: help-gnu-emacs

what are some examples of files that requires a newline by itself at
the end?

Detail:

recently i'm coding elisp to process a input file line by line. Each
line is expected to have text.
I ran into error at the last line because the file has a empty line,
and i noticed that it is automatically added, due to mode-require-
final-newline being true.

So, i'm wondering, what kinda files actually require newline at the
end? and if it is still so today?

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-06 18:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-06  7:17 what are some example case of files needing newline at end? Xah Lee
2008-12-06  9:49 ` Andy Stewart
2008-12-06  9:55 ` Jean-Marc Bourguet
2008-12-06 18:39 ` Chris F.A. Johnson

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