emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* autoloads not working correctly for org-table.el?
@ 2015-02-27 10:12 Eric Abrahamsen
  2015-02-27 10:35 ` Nicolas Richard
  0 siblings, 1 reply; 13+ messages in thread
From: Eric Abrahamsen @ 2015-02-27 10:12 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-03-22 13:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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