Re: [O] org-compat needed for org-gnus?

2014-02-10 Thread Bastien
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



[O] org-compat needed for org-gnus?

2014-02-10 Thread Tim Landscheidt
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