From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.devel Subject: Re: the amazing (and amazingly old) filladapt mode Date: Wed, 03 Oct 2012 11:56:48 +0530 Message-ID: <87ehlgoytz.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349245558 9679 80.91.229.3 (3 Oct 2012 06:25:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Oct 2012 06:25:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Adam Doppelt Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 03 08:26:03 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 1TJIOq-0002i3-Dy for ged-emacs-devel@m.gmane.org; Wed, 03 Oct 2012 08:25:40 +0200 Original-Received: from localhost ([::1]:50206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJIOk-0000D8-Iy for ged-emacs-devel@m.gmane.org; Wed, 03 Oct 2012 02:25:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJIOh-0000D2-H4 for emacs-devel@gnu.org; Wed, 03 Oct 2012 02:25:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJIOf-0002m3-CP for emacs-devel@gnu.org; Wed, 03 Oct 2012 02:25:31 -0400 Original-Received: from mail-pa0-f41.google.com ([209.85.220.41]:64935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJIOf-0002ku-5q for emacs-devel@gnu.org; Wed, 03 Oct 2012 02:25:29 -0400 Original-Received: by padfa10 with SMTP id fa10so6479524pad.0 for ; Tue, 02 Oct 2012 23:25:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=CJHoBz8+8NyVgOCBchLsvtLxolq7pM79UdUxdFnDTtE=; b=E+JDb5m03w8Cx2CZ/I9RXJRnkKTXafzLuHxqbDl79oj4NObAplPXdhOhmD8iUUxZCw OvjbOg0pnfznQOIS0I8Ttdla2WKf4jb3GTEwVNXB0fll4a8Wttr1fgfYqMofaGHCJYXN lxGeus37BDNmcnTdmlJEd/Dq+BhtQqIn2vT8qAtjn4fNdSR+mucbP6fEJP13rmj7hT26 NHzAEk8zNR6KBHfrwi+9Ywhc2/8v2f5rDq3+QEilZFUZs61XQYR7q3eWP5TuBgTeJyxv di48qBzrL8pw1xTgBq2UIN8HO4EDBQZhqCRdtKPOkqPlt4c62oBrxqOcWSx/yi/B5Iid k5gg== Original-Received: by 10.66.79.195 with SMTP id l3mr2728283pax.33.1349245527928; Tue, 02 Oct 2012 23:25:27 -0700 (PDT) Original-Received: from debian-6.05 ([115.241.85.33]) by mx.google.com with ESMTPS id w4sm1959199paz.38.2012.10.02.23.25.24 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Oct 2012 23:25:26 -0700 (PDT) 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-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.220.41 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:153985 Archived-At: Adam Doppelt writes: > 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. See examples below. It's hosted by the author here: > > http://www.wonderworks.com/download/filladapt.el > > filladapt hasn't been updated since 1998 but miraculously continues to > work, albeit with a few warts. I also get the sense that it's not a > very good citizen since it overwrites some core functions rather than > advising them. Possibly [OT] Try Orgmode. It has sensible filling and export to ascii. It is an active project and you can always raise a FR against Orgmode if filling in Org files is found wanting in some areas. FYI, recent Orgmode manuals even go to the extent of saying that use of filladapt.el is discouraged. So, in effect, it will be win-win for both you and the Orgmode project. It is better to NOT whack a senile horse when you can buy yourself an young one. > 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. > > Examples from filladapt.el: > > 1. xxxxx > xxxxx > > 2.1.3 xxxxx xx x xx x > xxx > > a. xxxxxx xx > xxx xxx > > 1) xxxx x xx x xx or (1) xx xx x x xx xx > xx xx xxxx xxx xx x x xx x > > a) xxxx x xx x xx or (a) xx xx x x xx xx > xx xx xxxx xxx xx x x xx x > > 2a. xx x xxx x x xxx > xxx xx x xx x > > 1a) xxxx x xx x xx or (1a) xx xx x x xx xx > xx xx xxxx xxx xx x x xx x > > - xx xxx xxxx or * xx xx x xxx xxx > xxx xx xx x xxx x xx x x x > > o xx xxx xxxx xx x xx xxx x xxx xx x xxx > xxx xx xx > > Thanks, > > Adam > > --