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: Patch: Syntax and Hard Newlines Date: Sat, 02 Dec 2006 12:56:29 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1165082425 24281 80.91.229.2 (2 Dec 2006 18:00:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 2 Dec 2006 18:00:25 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 02 19:00:23 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GqZ9r-0001eI-Ma for ged-emacs-devel@m.gmane.org; Sat, 02 Dec 2006 19:00:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GqZ9r-0000Eu-C0 for ged-emacs-devel@m.gmane.org; Sat, 02 Dec 2006 13:00:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GqZ6F-0004SK-7W for emacs-devel@gnu.org; Sat, 02 Dec 2006 12:56:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GqZ6E-0004Re-Gp for emacs-devel@gnu.org; Sat, 02 Dec 2006 12:56:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GqZ6E-0004RU-4G for emacs-devel@gnu.org; Sat, 02 Dec 2006 12:56:30 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GqZ6E-0004s8-1d for emacs-devel@gnu.org; Sat, 02 Dec 2006 12:56:30 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.52) id 1GqZ6D-0000dI-30; Sat, 02 Dec 2006 12:56:29 -0500 Original-To: "Herbert Euler" In-reply-to: (herberteuler@hotmail.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 Xref: news.gmane.org gmane.emacs.devel:63231 Archived-At: If all filling functions insert soft newlines with `fill-newline', changing this function will be Ok. And if making this change is Ok, how about adding a customizable variable to control whether putting the `syntax-table' property? This would require as little functions to be changed as possible. In general, soft newlines can be inserted by the user too, for instance by yanking. So I think the approach of putting special properties on soft newlines cannot be a general solution. Currently it is hard newlines that are special. If we need to use other text properties to distinguish different kinds of newlines, putting them on hard newlines follows the existing design better. If hard newlines should have one property, and soft newlines should have a different property, then ordinary newlines with no property (which is what you will get by yanking text that doesn't distinguish) will have neither property. In effect, they will be a third kind of newline.