emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Cc: Eric Abrahamsen <eric@ericabrahamsen.net>, emacs-orgmode@gnu.org
Subject: Re: autoloads not working correctly for org-table.el?
Date: Fri, 27 Feb 2015 18:28:42 +0100	[thread overview]
Message-ID: <87ioens1px.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <877fv33ame.fsf@yahoo.fr> (Nicolas Richard's message of "Fri, 27 Feb 2015 11:35:37 +0100")

Hello,

Nicolas Richard <theonewiththeevillook@yahoo.fr> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> 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

  reply	other threads:[~2015-02-27 17:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27 10:12 autoloads not working correctly for org-table.el? Eric Abrahamsen
2015-02-27 10:35 ` Nicolas Richard
2015-02-27 17:28   ` Nicolas Goaziou [this message]
2015-02-28  0:39     ` Eric Abrahamsen
2015-03-04  9:28     ` Eric Abrahamsen
2015-03-04 15:23       ` Eric S Fraga
2015-03-05  1:36         ` Eric Abrahamsen
2015-03-10  2:15           ` [PATCH] " Eric Abrahamsen
2015-03-10  3:07             ` Eric Abrahamsen
2015-03-10  8:24               ` Nicolas Goaziou
2015-03-10  8:48                 ` Eric Abrahamsen
2015-03-10 11:02                   ` Nicolas Goaziou
2015-03-22 13:52                     ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ioens1px.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    --cc=theonewiththeevillook@yahoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).