help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what are some example case of files needing newline at end?


From: Andy Stewart
Subject: Re: what are some example case of files needing newline at end?
Date: Sat, 06 Dec 2008 17:49:29 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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/
>
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]