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: Fri, 08 Dec 2006 22:50:24 -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 1165636247 14628 80.91.229.10 (9 Dec 2006 03:50:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Dec 2006 03:50:47 +0000 (UTC) Cc: herberteuler@hotmail.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 09 04:50:46 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 1GstEZ-0002ao-B5 for ged-emacs-devel@m.gmane.org; Sat, 09 Dec 2006 04:50:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GstEY-0006Wi-Un for ged-emacs-devel@m.gmane.org; Fri, 08 Dec 2006 22:50:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GstEO-0006W3-7s for emacs-devel@gnu.org; Fri, 08 Dec 2006 22:50:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GstEM-0006VH-Kj for emacs-devel@gnu.org; Fri, 08 Dec 2006 22:50:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GstEM-0006VE-Hc for emacs-devel@gnu.org; Fri, 08 Dec 2006 22:50:30 -0500 Original-Received: from [209.226.175.74] (helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GstEL-0003gA-JL; Fri, 08 Dec 2006 22:50:29 -0500 Original-Received: from pastel.home ([70.55.82.193]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20061209035027.CKEH24907.tomts20-srv.bellnexxia.net@pastel.home>; Fri, 8 Dec 2006 22:50:27 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id EDF72859F; Fri, 8 Dec 2006 22:50:24 -0500 (EST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Fri\, 08 Dec 2006 20\:25\:53 -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:63488 Archived-At: >> But longlines-mode uses an after-change-function to reformat inserted >> text, so that should take care of all possible situations. >> Yes, but would this change be active only in Longlines mode? > Well, that was one of the motivation for my suggestion: make sure that it > can be implemented all in longlines-mode without impacting anything else. > I'm talking about the proposal to change the subroutine fill-newline. > That is not in longlines.el, so unless we do something special to make > it work only when Longlines mode is enabled, it will apply all the > time. That's what I thought the idea was. Oh, sorry. I must admit that I didn't completely understand what was the proposal. It just reminded me of the fact that auto-fill-mode doesn't use fill-newline but that it would be good to make it use it. AFAIU the proposal was only to add a hook to fill-newline such that code like longlines-mode can tweak the behavior of filling functions rather than reimplement their own filling code. I probably misunderstood some part of it, tho. Stefan