From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-capture questions: not auto-loaded? no tag-alignment? Date: Tue, 28 Sep 2010 17:51:11 +0200 Message-ID: <59881261-5454-41DF-A381-FC0D70605294@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=40989 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0dQQ-0005Zs-Rp for emacs-orgmode@gnu.org; Tue, 28 Sep 2010 12:53:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0dQP-0006KC-Jp for emacs-orgmode@gnu.org; Tue, 28 Sep 2010 12:53:06 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:62854) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0dQP-0006Jv-Dz for emacs-orgmode@gnu.org; Tue, 28 Sep 2010 12:53:05 -0400 Received: by ewy19 with SMTP id 19so450291ewy.0 for ; Tue, 28 Sep 2010 09:53:04 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Markus Ecce Cc: emacs-orgmode@gnu.org 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