emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-capture questions: not auto-loaded? no tag-alignment?
@ 2010-09-28 11:44 Markus Ecce
  2010-09-28 12:28 ` Sébastien Vauban
  2010-09-28 15:51 ` Carsten Dominik
  0 siblings, 2 replies; 3+ messages in thread
From: Markus Ecce @ 2010-09-28 11:44 UTC (permalink / raw)
  To: emacs-orgmode

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.

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?

Otherwise I'm very happy with org-capture -- thanks for all this!

BTW I'm using Emacs 23.2.1 on Linux with org-mode from git.

Greetings,
Markus

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

* Re: org-capture questions: not auto-loaded? no tag-alignment?
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Sébastien Vauban @ 2010-09-28 12:28 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Markus,

Markus Ecce wrote:
> 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.
>
> 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).

And putting =(require 'org-capture)= instead?


> 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?

I don't have that problem, while I do use that feature. Tags are one space
away from headline when editing the note, but become aligned as soon as I
press =C-c C-c=.


> Otherwise I'm very happy with org-capture -- thanks for all this!
>
> BTW I'm using Emacs 23.2.1 on Linux with org-mode from git.

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: org-capture questions: not auto-loaded? no tag-alignment?
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Carsten Dominik @ 2010-09-28 15:51 UTC (permalink / raw)
  To: Markus Ecce; +Cc: emacs-orgmode


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

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

end of thread, other threads:[~2010-09-28 16:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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