From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: More problems with orgstruct++-mode, message-mode and auto fill Date: Thu, 10 May 2012 11:26:11 +0200 Message-ID: <8762c4mlos.fsf@gnu.org> References: <87fwb91eju.fsf@norang.ca> <87fwb9i2so.fsf@googlemail.com> <87obpwlu1m.fsf@ucl.ac.uk> <87fwb8czl4.fsf@gnu.org> <80vck4o2y0.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSQbk-0003sf-5G for emacs-orgmode@gnu.org; Thu, 10 May 2012 06:28:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSQbi-0004ei-8e for emacs-orgmode@gnu.org; Thu, 10 May 2012 06:28:27 -0400 Received: from plane.gmane.org ([80.91.229.3]:54211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSQbi-0004eY-28 for emacs-orgmode@gnu.org; Thu, 10 May 2012 06:28:26 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SSQbf-0008MO-SZ for emacs-orgmode@gnu.org; Thu, 10 May 2012 12:28:23 +0200 In-Reply-To: <80vck4o2y0.fsf@somewhere.org> (Sebastien Vauban's message of "Thu, 10 May 2012 10:28:07 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Hi Sébastien, perhaps the problem with filladapt was specific to Thorsten's installation, it's hard to guess. IMHO the real question is: what do you need filladapt for? You wouldn't install a new software called Emacs-For-The-Real-Men just because it advertizes itself as "Make a better job than Emacs"... unless you can tell if this is true, and for what. But I don't have /a priori/ concerns with anyone using filladapt.el, and my advice was just to be taken as it is: a personal point of view. My concern is "Should Org work even if people are shooting themselves in the foot with libraries that are perhaps obsolete and that replace fundamental variables of Emacs"? The simple answer is: "Yes, if this is both reasonable and feasible." Regarding filladapt, if it really "does a better job" at filling, then it should be somehow merged into Emacs. For now, it replaces functions like `do-auto-fill' and Org cannot really be expected to understand such replacements done outside Emacs. > Notice that I had to add: > > #+begin_src emacs-lisp > ;; make `orgstruct-hijacker-command-22' rebind `M-q' to a message > ;; specific function to fill a paragraph > (setq fill-paragraph-function 'message-fill-paragraph) > #+end_src > a couple of weeks ago, because the filling did not behave anymore like it did. That's why it "works" now. You enable orgstruct++-mode but you don't use its `org-fill-paragraph' function, you use `message-fill-paragraph' instead. As for auto-filling, you don't use `auto-fill-function', but filladapt's internal ̀do-auto-fill' instead. So, unless you really know why you need/enjoy filladapt, I think it's not _that_ unreasonable not using it. 2 cents, -- Bastien