emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Markus Ecce <ecce.berlin@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-capture questions: not auto-loaded? no tag-alignment?
Date: Tue, 28 Sep 2010 17:51:11 +0200	[thread overview]
Message-ID: <59881261-5454-41DF-A381-FC0D70605294@gmail.com> (raw)
In-Reply-To: <AANLkTimbjUQ4BEc5M0nxvcKVFp15o_HaM23hOA28mby+@mail.gmail.com>


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

      parent reply	other threads:[~2010-09-28 16:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-28 11:44 org-capture questions: not auto-loaded? no tag-alignment? Markus Ecce
2010-09-28 12:28 ` Sébastien Vauban
2010-09-28 15:51 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59881261-5454-41DF-A381-FC0D70605294@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=ecce.berlin@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).