From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: autoloads not working correctly for org-table.el? Date: Wed, 04 Mar 2015 17:28:51 +0800 Message-ID: <87vbihglgs.fsf@ericabrahamsen.net> References: <87mw3z4q9j.fsf@ericabrahamsen.net> <877fv33ame.fsf@yahoo.fr> <87ioens1px.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YT5c3-0005bV-Hv for emacs-orgmode@gnu.org; Wed, 04 Mar 2015 04:29:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YT5c0-0003TR-1d for emacs-orgmode@gnu.org; Wed, 04 Mar 2015 04:29:07 -0500 Received: from plane.gmane.org ([80.91.229.3]:44022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YT5bz-0003TG-Re for emacs-orgmode@gnu.org; Wed, 04 Mar 2015 04:29:03 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YT5bx-0000s1-Qf for emacs-orgmode@gnu.org; Wed, 04 Mar 2015 10:29:02 +0100 Received: from 123.122.35.212 ([123.122.35.212]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Mar 2015 10:29:01 +0100 Received: from eric by 123.122.35.212 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 Mar 2015 10:29:01 +0100 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: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > Nicolas Richard writes: > >> Eric Abrahamsen writes: >>> I don't actually know what the right thing to do is. Maybe just a >>> (require 'org-table) inside `orgstruct++-mode'? Autoload doesn't seem to >>> work for variables, nor is there a `declare-variable'... >> >> Either (require 'org-table) in org-adaptive-fill-function or applying >> the following patch should fix your problem. > > Thank you. However, I eventually applied a different patch. I'm still seeing an issue where, if I start right off typing a big paragraph of text at the top of the message (no salutation or anything), all the lines *after* the first line are indented by one tab. Subsequent paragraphs are unaffected. Sorry, I should be hunting down these bugs myself, but it's been an ugly couple of days writing work emails all day long, and with nearly every one I write I am reminded of the problem... >> I don't know what is the right thing either © e.g. I have no idea why >> this function has special-casing for 'message-mode (it should perhaps >> have special casing for when orgstruct++-mode is active, instead ?) > > Ideally, we should extract all orgstruct code from Org core > ("org-footnote.el" also contains code related to Message mode) and move > it to an "org-struct.el" or some such library. > > > Regards,