From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adam Doppelt Newsgroups: gmane.emacs.devel Subject: the amazing (and amazingly old) filladapt mode Date: Tue, 2 Oct 2012 12:23:33 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1349205833 5790 80.91.229.3 (2 Oct 2012 19:23:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Oct 2012 19:23:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 02 21:23: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 1TJ84F-0006fQ-R9 for ged-emacs-devel@m.gmane.org; Tue, 02 Oct 2012 21:23:43 +0200 Original-Received: from localhost ([::1]:35808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ84A-0000nj-8c for ged-emacs-devel@m.gmane.org; Tue, 02 Oct 2012 15:23:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ848-0000mn-7w for emacs-devel@gnu.org; Tue, 02 Oct 2012 15:23:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJ847-0002fF-1Y for emacs-devel@gnu.org; Tue, 02 Oct 2012 15:23:36 -0400 Original-Received: from mail-oa0-f41.google.com ([209.85.219.41]:55948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJ846-0002f8-Sq for emacs-devel@gnu.org; Tue, 02 Oct 2012 15:23:34 -0400 Original-Received: by oagk14 with SMTP id k14so7558830oag.0 for ; Tue, 02 Oct 2012 12:23:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=OywU2k98m/NnYx6+Uys8pCiuvy7rxzj7KMh0t3Zot+g=; b=iny1+fZ5/fxdMLc6DJFkZ6wwMQnul9jgD9NMqh4cEAQJKfKibG//qQzYsaDkeJ82Lh ADrdWHX1hUGTARb06dV7ciaG4sL3PX45c2i759RTriTHt4dcxXAwEnsd1Xih6M/Q5Osb qLJafjYPdxvGhHH+PBycCQ9b4p/8FakLFk5UvL14kN3j4g1VE6qT0yoILhI91A6JFO2J Y+pMex4MtApLMijr94gv6qNGJ7R6EZ/GkiQ5FP/y+b43qpM1XabquoFBgEMCVmXxCGai qK+nAr2FZ70G6RloMvjFwdHs3dOP0MBZdhnt60w7g3HHH5olkG/kkGrTN6IqbEDLMECT bYqA== Original-Received: by 10.60.24.69 with SMTP id s5mr15345603oef.45.1349205813762; Tue, 02 Oct 2012 12:23:33 -0700 (PDT) Original-Received: by 10.76.24.197 with HTTP; Tue, 2 Oct 2012 12:23:33 -0700 (PDT) X-Gm-Message-State: ALoCoQkzNvgnV4uiLze3YeZVzG2luTzOqPGGdq0NTUlxVTCZF8hWnZcu2pveuvHuS36crb5wyVKj X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.219.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:153956 Archived-At: 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. 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