[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] autoloads not working correctly for org-table.el?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] autoloads not working correctly for org-table.el? |
Date: |
Fri, 27 Feb 2015 18:28:42 +0100 |
Hello,
Nicolas Richard <address@hidden> writes:
> Eric Abrahamsen <address@hidden> 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 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,
--
Nicolas Goaziou