From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: require-hard-newlines to use newline Date: Mon, 7 Mar 2005 19:31:47 -0600 (CST) Message-ID: <200503080131.j281Vl128749@raven.dms.auburn.edu> References: <1605.220.255.169.59.1110075529.squirrel@www.stupidchicken.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1110245314 12418 80.91.229.2 (8 Mar 2005 01:28:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2005 01:28:34 +0000 (UTC) Cc: cyd@stupidchicken.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 08 02:34:15 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8TbW-0007Ca-Ox for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2005 02:33:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8Tpu-00016X-0Q for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2005 20:48:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D8Tp3-0000js-PT for emacs-devel@gnu.org; Mon, 07 Mar 2005 20:47:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D8Tow-0000g1-2h for emacs-devel@gnu.org; Mon, 07 Mar 2005 20:47:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8Tov-0000fq-T8 for emacs-devel@gnu.org; Mon, 07 Mar 2005 20:47:37 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D8TZe-0003Zp-PO; Mon, 07 Mar 2005 20:31:50 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j281Vn9N020728; Mon, 7 Mar 2005 19:31:50 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j281Vl128749; Mon, 7 Mar 2005 19:31:47 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Mon, 07 Mar 2005 00:02:34 -0500) 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:34299 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34299 Richard Stallman wrote: 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. The way I see it, if use-hard-newlines is enabled, the user finishes a paragraph by explicitly typing a newline. That newline _is_ hard. Newlines inserted by Emacs for filling or standard-following purposes are soft. So I think that use-hard-newlines should inhibit the effect of require-final-newline. It is the only way to get reliable results. There are two minor modes I know of that use hard newlines: Enriched mode and Longlines. I believe that the above solution would be OK for Enriched mode, at least as long as it only works with text/enriched. Unless I overlooked something, nothing in RFC1896 requires a final newline, hard or soft. I believe, however, that Longlines could conceivably be used for stuff whose standard requires a final newline. Sincerely, Luc.