From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nix Newsgroups: gmane.emacs.devel Subject: Re: the amazing (and amazingly old) filladapt mode Date: Thu, 04 Oct 2012 15:28:17 +0100 Message-ID: <87626q1fcu.fsf@spindle.srvr.nix> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349401917 24836 80.91.229.3 (5 Oct 2012 01:51:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2012 01:51:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Adam Doppelt Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 05 03:51:58 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TJx4Y-0006Y7-DR for ged-emacs-devel@m.gmane.org; Fri, 05 Oct 2012 03:51:26 +0200 Original-Received: from localhost ([::1]:43657 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJmRW-00014i-IF for ged-emacs-devel@m.gmane.org; Thu, 04 Oct 2012 10:30:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJmQU-0000l3-Ho for emacs-devel@gnu.org; Thu, 04 Oct 2012 10:30:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJmPU-0006tF-9d for emacs-devel@gnu.org; Thu, 04 Oct 2012 10:29:22 -0400 Original-Received: from icebox.esperi.org.uk ([81.187.191.129]:52305 helo=mail.esperi.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJmPT-0006sU-Vp for emacs-devel@gnu.org; Thu, 04 Oct 2012 10:28:20 -0400 Original-Received: from spindle.srvr.nix (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.5/8.14.5) with ESMTP id q94ESHk6014750; Thu, 4 Oct 2012 15:28:17 +0100 Emacs: it's not slow --- it's stately. In-Reply-To: (Adam Doppelt's message of "Tue, 2 Oct 2012 12:23:33 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-DCC-URT-Metrics: spindle 1060; Body=2 Fuz1=2 Fuz2=2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 81.187.191.129 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154045 Archived-At: On 2 Oct 2012, Adam Doppelt uttered the following: > Does anyone else use filladapt mode for filling paragraphs? This thing > is great. It modifies fill-paragraph to handle a wide variety of line > prefixes. I can confirm that it is excellent. > I'm wondering if some kind soul would like to modernize it and add it > to elpa, or possibly bring the equivalent functionality to > adaptive-fill-mode. Unfortunately my elisp skills are quite weak, > otherwise I'd attempt it myself. I think a lot of people would > appreciate the effort. What a coincidence. Doing just that is already at the top of my todo list: I might get to it this weekend, since I have another emacs-obsessed friend coming round and we need something to hack on. :) It might be rather... interesting to make it advise functions rather than overriding them -- its definitions of things like fill-region are quite divergent from the core's, and take over the core's entire job. But certainly filladapt's versions should be upgraded so that it can do everything the core's versions have learned to do in the years since the millennium (e.g. multiple forms of justification rather than just one). That, at least, shouldn't be too hard. -- NULL && (void)