From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Krug Subject: Re: Capture with org-directory not working? Date: Wed, 21 Sep 2016 09:05:09 +0200 Message-ID: <9E0BD070-F074-4524-8204-8CD840CDFE8C@gmail.com> References: <87vaxr51t3.fsf@gmail.com> <87zin2ty3f.fsf@alphapapa.net> <87vaxqts75.fsf@alphapapa.net> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_C8C55100-338C-4423-B7E9-47F607EE0F60"; protocol="application/pgp-signature"; micalg=pgp-sha256 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmbbo-000548-Cc for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 03:06:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmbbk-0002Au-3B for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 03:06:19 -0400 Received: from mail-wm0-f50.google.com ([74.125.82.50]:37585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmbbj-0002Aj-Sg for emacs-orgmode@gnu.org; Wed, 21 Sep 2016 03:06:16 -0400 Received: by mail-wm0-f50.google.com with SMTP id b130so74104553wmc.0 for ; Wed, 21 Sep 2016 00:06:15 -0700 (PDT) In-Reply-To: <87vaxqts75.fsf@alphapapa.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Adam Porter Cc: emacs-orgmode --Apple-Mail=_C8C55100-338C-4423-B7E9-47F607EE0F60 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 20 Sep 2016, at 19:08, Adam Porter wrote: >=20 > Rainer Krug writes: >=20 >> Could you please provide an example? It is not clear to me what you = mean - I prefer simpler! >=20 > Sure, here's an abbreviated example of custom-set-variables from my > init.el: >=20 > #+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 >=20 > %U %?" :clock-in t :clock-resume t))))) > #+END_SRC >=20 > 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. >=20 >=20 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: Rainerkrugsde PGP: 0x0F52F982 --Apple-Mail=_C8C55100-338C-4423-B7E9-47F607EE0F60 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJX4jEpAAoJENvXNx4PUvmCk0oH/A/OQr5y5ExEcwT6LUcNh2tu WgzcRNraJYrpCM/oc3aJat3smANcps2ms59NiQCRfqReMWnRapbLxQSeg5iI+xjw 83dqlB+kCi+YhouCGEPCPZCgs7ve9O6PNWU0BLBwG0BIXnT/mO2heAfrsclcLgml NidH5poEGkkOb826BfJnxG6ChS479+yjsp6nlP2XN82dG4ilVZ2/wfroTSyGjP59 KEasu9/6TrIUlNasfVWKK0ZXeOMhOmFLMM7ZMolZSX3CJveT+jnIUKpVr8xuqQHQ DNJDaFincFUzCLiTQBcxreowvJ7dK8pFwiQAM4KiHHoqukOtj6HSagcZpL7Zbr0= =ZovY -----END PGP SIGNATURE----- --Apple-Mail=_C8C55100-338C-4423-B7E9-47F607EE0F60--