From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Patch: Syntax and Hard Newlines Date: Thu, 07 Dec 2006 13:46:57 -0500 Message-ID: References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165517248 3312 80.91.229.10 (7 Dec 2006 18:47:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Dec 2006 18:47:28 +0000 (UTC) Cc: Herbert Euler , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 07 19:47:25 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GsOHA-0008Fv-2p for ged-emacs-devel@m.gmane.org; Thu, 07 Dec 2006 19:47:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsOH9-0003K7-Q1 for ged-emacs-devel@m.gmane.org; Thu, 07 Dec 2006 13:47:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GsOGz-0003Jv-9w for emacs-devel@gnu.org; Thu, 07 Dec 2006 13:47:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GsOGu-0003JF-Im for emacs-devel@gnu.org; Thu, 07 Dec 2006 13:47:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GsOGu-0003JC-GW for emacs-devel@gnu.org; Thu, 07 Dec 2006 13:47:04 -0500 Original-Received: from [209.226.175.25] (helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GsOGp-0005PW-HC; Thu, 07 Dec 2006 13:46:59 -0500 Original-Received: from pastel.home ([74.13.164.204]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20061207184657.OGEI5067.tomts5-srv.bellnexxia.net@pastel.home>; Thu, 7 Dec 2006 13:46:57 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 6B2D97F91; Thu, 7 Dec 2006 13:46:57 -0500 (EST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sat\, 02 Dec 2006 12\:56\:29 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) 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:63424 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. But longlines-mode uses an after-change-function to reformat inserted text, so that should take care of all possible situations. Stefan