From: Andy Stewart <lazycat.manatee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: what are some example case of files needing newline at end?
Date: Sat, 06 Dec 2008 17:49:29 +0800 [thread overview]
Message-ID: <87iqpxab12.fsf@debian.domain> (raw)
In-Reply-To: cea64457-1500-4ff3-ad12-3a2794ced8c4@a26g2000prf.googlegroups.com
Hi Xah,
I think crontab file need newline at end of file.
If have not newline at end of crontab file.
crontab can't work.
-- Andy
Xah Lee <xahlee@gmail.com> writes:
> 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/
>
> ☄
next prev parent reply other threads:[~2008-12-06 9:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2008-12-06 9:55 ` Jean-Marc Bourguet
2008-12-06 18:39 ` Chris F.A. Johnson
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=87iqpxab12.fsf@debian.domain \
--to=lazycat.manatee@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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).