From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: Trouble with capture template and prompt Date: Thu, 15 Sep 2016 11:57:40 -0500 Message-ID: <87sht1drsr.fsf@alphapapa.net> References: <87lgywwvvc.fsf@alphapapa.net> <878tuv84uu.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkZzF-0007tU-Px for emacs-orgmode@gnu.org; Thu, 15 Sep 2016 12:58:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkZzA-0006Gh-RV for emacs-orgmode@gnu.org; Thu, 15 Sep 2016 12:58:08 -0400 Received: from [195.159.176.226] (port=46491 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkZzA-0006DN-Kt for emacs-orgmode@gnu.org; Thu, 15 Sep 2016 12:58:04 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bkZyz-0003mW-RH for emacs-orgmode@gnu.org; Thu, 15 Sep 2016 18:57:53 +0200 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: emacs-orgmode@gnu.org Bart Bunting writes: Hi Bart, > I sort of had already narrowed it down but am unsure of how to debug > further. > > Removing %^{Todo} from the template and everything works. Just a shot in the dark, which shouldn't make any difference, but try this template, which works for me: #+BEGIN_SRC elisp ("t" "Task" entry (file "") "* TODO %^{Description} %^G %U %?" :clock-in t :clock-resume t) #+END_SRC You might also try replacing %^{Todo} with %^{Description}, just for fun. > Any suggestions on how to dig into this further? That backtrace doesn't seem helpful to me either. Maybe Nick's advice will help here. :) > I have some other bits of org config in my main config file but not sure > that they would cause breakage like this. Hard to say without testing. If nothing else works, try using the bug-hunter package from MELPA to bisect your config, keeping the template unchanged (i.e. you could eval the template manually when testing). If there is something in your config causing it, this should narrow it down for you. > The other thing is that I use emacspeak which is probably the advice > calls shown in the debug above. Hard for me to test without it though > as then I can't use emacs. That definitely makes it much more challenging. I'm sorry I can't be much help here, as I know nothing about emacspeak. > I could also try an earlier version of emacspeak in case the error is > being caused by the advice in some strange way. If it's not too time-consuming, that'd be a good idea too. Also, sorry if you already mentioned this, but you might try using a newer version of Org if possible.