[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "No newline at end of file" mssg w/ Emacs edited files?!?!?!? Somet
|
From: |
Frank Hagler |
|
Subject: |
Re: "No newline at end of file" mssg w/ Emacs edited files?!?!?!? Something to worry about?? |
|
Date: |
Tue, 11 Dec 2001 15:54:34 -0800 |
Chris,
Insert these into your existing .emacs file in your home directory (~),
or create a file in there called .emacs with the following lines in it:
;; don't let next-line add new lines at end of file
(setq next-line-add-newlines nil)
;; make edited files end with a carriage return
(setq require-final-newline t)
Chris Seberino wrote:
>
> When I edit files with Emacs I sometimes add and delete
> lines at the end of the file like everyone else....
>
> When I diff a file edited with Emacs with another I
> see messages that warn me that Emacs edited files
> don't have a "new line" character at the end.
> Emacs seems to do something different with the end
> of files as compared to vi editor.
>
> Sound familiar??? Is this something to be worried about??
>
> Chris
>
>
> =======================================================
> | Dr. Christian Seberino || (619) 553-7940 (office1) |
> | SPAWARSYSCEN 2733 || (619) 553-2564 (office2) |
> | 53560 HULL ST || (619) 553-6307 (fax) |
> | SAN DIEGO CA 92152-5001 || address@hidden |
> =======================================================
>
> _______________________________________________
> Help-gnu-emacs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
--
Frank Hagler
[work] address@hidden ---------- (805)893-8843
[home] address@hidden --- (805)884-9682