emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Capture with org-directory not working?


From: Rainer Krug
Subject: Re: [O] Capture with org-directory not working?
Date: Wed, 21 Sep 2016 09:05:09 +0200

> On 20 Sep 2016, at 19:08, Adam Porter <address@hidden> wrote:
> 
> Rainer Krug <address@hidden> writes:
> 
>> Could you please provide an example? It is not clear to me what you mean - I 
>> prefer simpler!
> 
> Sure, here's an abbreviated example of custom-set-variables from my
> init.el:
> 
> #+BEGIN_SRC elisp
>  (custom-set-variables
>   ;; custom-set-variables was added by Custom.
>   ;; If you edit it by hand, you could mess it up, so be careful.
>   ;; Your init file should contain only one such instance.
>   ;; If there is more than one, they won't work right.
>   '(org-capture-templates
>     (quote
>      (("a" "Appointment" entry
>        (file+datetree+prompt
>         (concat org-directory "/calendar.org")
>         "Calendar")
>        "* %^{Description} %T %^G
> 
>  %U %?" :clock-in t :clock-resume t)))))
> #+END_SRC
> 
> The downside is that, if you're editing them in your init file instead
> of through the customize interface, you have to eval the entire
> custom-set-variables to apply changes, which requires a few extra
> keystrokes.
> 
> 

Thanks - I see what you mean. But It seems to abusing the basic idea of 
custom-set-variables as this sounds as if it is used by the customise interface.

So it should be possible to set it using my initial approach?

Rainer


--
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

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