emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org-capture questions: not auto-loaded? no tag-alignment?


From: Carsten Dominik
Subject: Re: [Orgmode] org-capture questions: not auto-loaded? no tag-alignment?
Date: Tue, 28 Sep 2010 17:51:11 +0200


On Sep 28, 2010, at 1:44 PM, Markus Ecce wrote:

Hi everybody,

I recently switched from org-remember to org-capture and noticed two
potential regressions, but maybe I'm missing something...

First, when I launch emacs (and don't load an .org file or enter
org-mode) I cannot use "org-capture". C-c c gives: "Symbol's function
definition is void: org-capture"). By contrast, "org-remember" does
work.

If org-remember is autoloaded, there can be two reasons for this.

1. You have already loaded org.el, which arranges for autoloading of this and other commands

2. Your Emacs contains also an older version of org, and therefore Emacs itself knows to autoload org-remember.

org-capture will be autoloaded once you have an Emacs that has
org-capture.el already included.
It will also be autoloaded after you have loaded org.el.

So I have to assume that you are trying to execute org-capture before visiting
any org-mode file, so that not even org.el has been loaded.

Well, this is *exactly* the situation where org-install is for. So just go ahead and require it, as indicated in the installation instructions. If you are downloading and
installing your own version of org, this is necessary.



Of course I can fix this by adding "(require 'org-install)" to my
.emacs -- but it would be nicer if worked without that (like
org-remember did).

Second, with org-remember, tags inserted with "%^g" in the template
were correctly aligned (respecting the setting of org-tags-column).
With org-capture, tags are just a space away from the headline text.
Is there a way to get the "old" behavior with org-capture as well?

With the most recent org version, I am unable to reproduce this behavior. Immediately after the template has been filled - and thus before pressing C-c C-c,
the tags are aligned.

- Carsten




reply via email to

[Prev in Thread] Current Thread [Next in Thread]