From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: problem with org-capture Date: Thu, 03 Dec 2015 23:38:18 +0100 Message-ID: <877fkvrwdh.fsf@nicolasgoaziou.fr> References: <87d1uq7f6e.fsf@ucl.ac.uk> <87r3j5kdvu.fsf@nicolasgoaziou.fr> <87zixtniiy.fsf@pinto.chemeng.ucl.ac.uk> <87fuzktugf.fsf@nicolasgoaziou.fr> <87io4fv5a2.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4cUJ-0008Ba-LO for emacs-orgmode@gnu.org; Thu, 03 Dec 2015 17:36:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4cUG-0006is-Gb for emacs-orgmode@gnu.org; Thu, 03 Dec 2015 17:36:31 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:58984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4cUG-0006io-Ag for emacs-orgmode@gnu.org; Thu, 03 Dec 2015 17:36:28 -0500 In-Reply-To: (Mike McLean's message of "Thu, 3 Dec 2015 16:11:34 -0500") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Mike McLean Cc: emacs-orgmode Hello, Mike McLean writes: > At the risk of piling on, I too am having problems with Org Capture > templates that haven't changed in a long time. The sample below used to > function like: > > 1. I would call it from org-capture, select the =E2=80=9Caf=E2=80=9D t= emplate > 2. I would get prompted for a date from file+datetree+prompt and I wou= ld > select the date > 3. I would get prompted for the week number from the > ~%^{prompt|%<%Y-W%V>}~ clause. This would default to the current week = in > ISO format (2015-W49). I would change it or not (usually not) > 4. The ISO week entered from that prompt would get substituted into the > AR_DATE property in multiple places. > > The two big differences with release_8.3.2-381-gb7ee96 are > > 1. The substitution for %Y and %V does not happen before the prompt in > step 3; I get a default value of [%<%Y-W%V>] > 2. Even if I manually type the ISO week string (2015-W09) it no longer > gets substituted into the AR_DATE properties via %\1 I pushed a commit which should fix these issues and the others mentioned in the thread. Thank you. Let me know if something is still wrong. Regards, --=20 Nicolas Goaziou