emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: autoloads not working correctly for org-table.el?
Date: Fri, 27 Feb 2015 18:12:24 +0800	[thread overview]
Message-ID: <87mw3z4q9j.fsf@ericabrahamsen.net> (raw)

Hi,

I've got this in my message-mode-hook:

'turn-on-orgstruct++

It does just what I want, except the variable orgtbl-line-start-regexp
isn't loaded, which wrecks auto-fill. Line 22894 of org.el has this:

(defvar orgtbl-line-start-regexp) ; From org-table.el

But that doesn't actually *load* the value of that variable, so using
orgstruct++ mode gives me a bunch of these:

Symbol's value as variable is void: orgtbl-line-start-regexp

every time point gets past fill column, and the filling thing kicks in.

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'...

Eric

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

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27 10:12 Eric Abrahamsen [this message]
2015-02-27 10:35 ` autoloads not working correctly for org-table.el? Nicolas Richard
2015-02-27 17:28   ` Nicolas Goaziou
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=87mw3z4q9j.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@gnu.org \
    /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).