From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: require-hard-newlines to use newline Date: Mon, 07 Mar 2005 00:02:34 -0500 Message-ID: References: <1605.220.255.169.59.1110075529.squirrel@www.stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1110171599 27888 80.91.229.2 (7 Mar 2005 04:59:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2005 04:59:59 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 07 05:59:59 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8AL5-0004Ax-QZ for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2005 05:59:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8Aen-0000at-Ax for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2005 00:19:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D8AdZ-0008Fs-Mj for emacs-devel@gnu.org; Mon, 07 Mar 2005 00:18:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D8AdR-0008Az-1Z for emacs-devel@gnu.org; Mon, 07 Mar 2005 00:18:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8AdQ-0008A3-IO for emacs-devel@gnu.org; Mon, 07 Mar 2005 00:18:28 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D8AO2-0005qU-Gu for emacs-devel@gnu.org; Mon, 07 Mar 2005 00:02:34 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1D8AO2-00081u-44; Mon, 07 Mar 2005 00:02:34 -0500 Original-To: "Chong Yidong" In-reply-to: <1605.220.255.169.59.1110075529.squirrel@www.stupidchicken.com> (cyd@stupidchicken.com) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34269 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34269 Because, everywhere else in the buffer, the newline at the end of a paragraph is hard. That doesn't seem like a convincing reason. Now suppose the user goes to another buffer to do his editing, and comes back to this buffer a long time later. He does not remember the exact sequence of edits he performed on that buffer -- in particular, whether he typed RET or not. From moving point around, he observes that the buffer contains "some text" followed by a final newline. If he did not finish the paragraph, he will probably assume the newline is soft. If he did finish the paragraph, he will probably assume the newline is hard. Either way, he might be wrong. So I think that use-hard-newlines should inhibit the effect of require-final-newline. It is the only way to get reliable results.