emacs-devel
[Top][All Lists]
Advanced

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

Re: require-hard-newlines to use newline


From: Chong Yidong
Subject: Re: require-hard-newlines to use newline
Date: Fri, 4 Mar 2005 21:03:04 -0500 (EST)
User-agent: SquirrelMail/1.4.4

> Anyway, if it is a fact that both of these newlines are normally
> hard, then it seems to me that there is no way of telling
> whether the user wants a hard newline or a soft one
> when require-final-newline adds a newline.
> A user might save the file with an unfinished paragraph,
> then go back to writing more of it.

I don't think there's a problem in this situation; he just has to make
sure that point is before the final (hard) newline before he continues
editing. Furthermore, there is no need to re-position point, because the
final newline is inserted inside a save-excursion, *after* point.





reply via email to

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