emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-compat needed for org-gnus?
@ 2014-02-10 15:01 Tim Landscheidt
  2014-02-10 16:36 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Landscheidt @ 2014-02-10 15:01 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I recently made the jump to install my first ELPA package
because capture wasn't available in Emacs 24.3.1's org-mode,
and installed org 20140130.

Today I tried working with links to Gnus and they failed
("No match - create this as a new heading?").  So I looked
around and tried M-x load-library org-gnus RET which failed
with "byte-code: Symbol's function definition is void:
org-defvaralias".

Further grepping led to loading org-compat, then org-gnus,
and it worked.

So I'm wondering if the missing "(require 'org-compat)" in
org-gnus is just an oversight, or if I'm doing something
wrong?

Tim

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

* Re: org-compat needed for org-gnus?
  2014-02-10 15:01 org-compat needed for org-gnus? Tim Landscheidt
@ 2014-02-10 16:36 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2014-02-10 16:36 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

first of all, please report your Org version with

  M-x org-version RET

When installing from ELPA, you need to do it from a fresh Emacs
session, where Org has not been loaded yet.

Then, in your emacs.el, you need to call `package-initialize'
before any Org function is called:

(require 'package)
(setq package-archives
      '(("org" . "http://orgmode.org/elpa/")))
(package-initialize)
(require 'org)

Let us know how it goes,

-- 
 Bastien

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

end of thread, other threads:[~2014-02-10 16:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-10 15:01 org-compat needed for org-gnus? Tim Landscheidt
2014-02-10 16:36 ` Bastien

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