emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Archiving?
@ 2016-02-09 12:30 Johann Spies
  2016-02-09 16:28 ` Archiving? Kyle Meyer
  0 siblings, 1 reply; 4+ messages in thread
From: Johann Spies @ 2016-02-09 12:30 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

I cannot get archiving to work as expected.


Example:

With the cursor on

* DONE Werk aan die normalisering van skrywers
  CLOSED: [2015-10-13 Di 07:50]
  :PROPERTIES:
  :ID:       d48a7607-0a66-42a6-8819-b98be5f612aa
  :END:

and

#+ARCHIVE: %s_done::
in the file

Then I did C-c $

As a result, a buffer "werkorg.org_done  contains:

#    -*- mode: org -*-


Archived entries from file /home/js/Dropbox/orgmode/werkorg.org


and

*Messages*

Copied: Subtree(s) with 232 characters
org-archive-subtree: Symbol's function definition is void: outline-show-all


And the original line in werkorg.org is unchanged and still present.

What am I doing wrong?

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

[-- Attachment #2: Type: text/html, Size: 1256 bytes --]

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

* Re: Archiving?
  2016-02-09 12:30 Archiving? Johann Spies
@ 2016-02-09 16:28 ` Kyle Meyer
  2016-02-11 13:01   ` Archiving? Johann Spies
  0 siblings, 1 reply; 4+ messages in thread
From: Kyle Meyer @ 2016-02-09 16:28 UTC (permalink / raw)
  To: Johann Spies; +Cc: emacs-orgmode

Johann Spies <johann.spies@gmail.com> writes:

[...]

> org-archive-subtree: Symbol's function definition is void: outline-show-all

In (what will be) Emacs 25.1, outline.el functions were moved under the
"outline-" prefix.  For older versions, org-compat.el defines an alias
with that prefix, so outline-show-all should not be undefined.

I'm guessing that you have an Emacs version < 25 and have a mixed
installation issue.  If you're installing from ELPA, please uninstall
and then, before the builtin version of Org is loaded, reinstall.

--
Kyle

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

* Re: Archiving?
  2016-02-09 16:28 ` Archiving? Kyle Meyer
@ 2016-02-11 13:01   ` Johann Spies
  2016-02-11 16:53     ` Archiving? Kyle Meyer
  0 siblings, 1 reply; 4+ messages in thread
From: Johann Spies @ 2016-02-11 13:01 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 748 bytes --]

On 9 February 2016 at 18:28, Kyle Meyer <kyle@kyleam.com> wrote:

>
>
>
> I'm guessing that you have an Emacs version < 25 and have a mixed
> installation issue.  If you're installing from ELPA, please uninstall
> and then, before the builtin version of Org is loaded, reinstall.
>

Thanks Kyle,

That was the correct guess.  After removing .emacs.d/elpa the archiving
worked.  I then reinstalled a few elpa/melpa packages  - most of them ox-*
in order to enable some spesific exports.

Now the archive is broken again.

What do you mean by "before the builtin version of Org is loaded"? Isn't it
loaded when I start emacs?

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

[-- Attachment #2: Type: text/html, Size: 1412 bytes --]

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

* Re: Archiving?
  2016-02-11 13:01   ` Archiving? Johann Spies
@ 2016-02-11 16:53     ` Kyle Meyer
  0 siblings, 0 replies; 4+ messages in thread
From: Kyle Meyer @ 2016-02-11 16:53 UTC (permalink / raw)
  To: Johann Spies; +Cc: emacs-orgmode

Johann Spies <johann.spies@gmail.com> writes:

> That was the correct guess.  After removing .emacs.d/elpa the archiving
> worked.  I then reinstalled a few elpa/melpa packages  - most of them ox-*
> in order to enable some spesific exports.
>
> Now the archive is broken again.
>
> What do you mean by "before the builtin version of Org is loaded"? Isn't it
> loaded when I start emacs?

The Org that comes with your Emacs is probably version 8.2.10.  Unless
you do something [1] to load Org, it will not be loaded at startup:

    emacs -Q
    (featurep 'org) => nil

Again, I'm just guessing here, but it sounds like you're not installing
Org from ELPA, but then you're installing some ox packages from ELPA
that depend on a newer Org and will pull it in.  If the version of Org
that comes with Emacs is already loaded when that happens, you can run
into issues with a mixed installation.

    http://orgmode.org/worg/org-faq.html#mixed-install

[1] For example, call an autoloaded Org command, visit an Org file, or
    explicitly load Org in your configuration.

--
Kyle

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

end of thread, other threads:[~2016-02-11 16:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-09 12:30 Archiving? Johann Spies
2016-02-09 16:28 ` Archiving? Kyle Meyer
2016-02-11 13:01   ` Archiving? Johann Spies
2016-02-11 16:53     ` Archiving? Kyle Meyer

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