From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Re: autoloads not working correctly for org-table.el? Date: Tue, 10 Mar 2015 12:02:26 +0100 Message-ID: <87bnk12jzx.fsf@nicolasgoaziou.fr> References: <87mw3z4q9j.fsf@ericabrahamsen.net> <877fv33ame.fsf@yahoo.fr> <87ioens1px.fsf@nicolasgoaziou.fr> <87vbihglgs.fsf@ericabrahamsen.net> <87mw3slrav.fsf@delle7240.chemeng.ucl.ac.uk> <87h9u0fcop.fsf@ericabrahamsen.net> <87vbi9mwcv.fsf_-_@ericabrahamsen.net> <87a8zlmtxe.fsf@ericabrahamsen.net> <87k2yp2raq.fsf@nicolasgoaziou.fr> <8761a9jl0c.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVHuZ-0006zU-Jm for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 07:01:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVHuU-0003WQ-SK for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 07:01:19 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:51342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVHuU-0003UW-NQ for emacs-orgmode@gnu.org; Tue, 10 Mar 2015 07:01:14 -0400 In-Reply-To: <8761a9jl0c.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 10 Mar 2015 16:48:35 +0800") 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: Eric Abrahamsen Cc: emacs-orgmode@gnu.org Eric Abrahamsen writes: > If we really want to get all the message-specific stuff refactored into > orgstruct++ mode, I guess we could (in the `orgstruct++-mode' function) > bind `normal-auto-fill-function' and `adaptive-fill-function' to new > functions, which first check for message-mode specific stuff (and any > other modes that need to be handled),then delegate to > `org-auto-fill-function' and `org-adaptive-fill-function'. Indeed. There's also `org-fill-paragraph' to purge from Message mode stuff. Ultimately, Orgstruct minor mode could be moved into its own library, e.g., "org-struct.el". > Actually, all `org-auto-fill-function' does is conditionally call > `org-adaptive-fill-function', so maybe we could just have one new > function, `orgstruct++-auto-fill-function', that does everything. Probably, yes. > How does that sound? It sounds good. Regards,