From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Trouble with capture template and prompt Date: Wed, 14 Sep 2016 09:48:11 -0400 Message-ID: <87eg4m1tk4.fsf@gmail.com> 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]:52793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkAYO-0008Jz-NX for emacs-orgmode@gnu.org; Wed, 14 Sep 2016 09:48:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkAYJ-00080f-J6 for emacs-orgmode@gnu.org; Wed, 14 Sep 2016 09:48:43 -0400 Received: from [195.159.176.226] (port=45406 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkAYJ-0007y7-C4 for emacs-orgmode@gnu.org; Wed, 14 Sep 2016 09:48:39 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bkAY2-0004MU-OG for emacs-orgmode@gnu.org; Wed, 14 Sep 2016 15:48:22 +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: > Adam, > > I sort of had already narrowed it down but am unsure of how to debug > further. > > Removing %^{Todo} from the template and everything works. > > Of course the thing that doesn't work is that org no longer prompts me > for the title of the task to create which makes me sad :). > > Any suggestions on how to dig into this further? > > Here is the output when debug-on-error is set to t: > > Debugger entered--Lisp error: (error "Capture abort: (error Key sequence C-c ! starts with non-prefix key C-c)") > signal(error ("Capture abort: (error Key sequence C-c ! starts with non-prefix key C-c)")) > error("Capture abort: %s" (error "Key sequence C-c ! starts with non-prefix key C-c")) > org-capture(nil) > #(org-capture nil) > apply(# org-capture nil) > ad-Advice-funcall-interactively(# org-capture nil) > apply(ad-Advice-funcall-interactively # (org-capture nil)) > funcall-interactively(org-capture nil) > #(org-capture nil nil) > ad-Advice-call-interactively(# org-capture nil nil) > apply(ad-Advice-call-interactively # (org-capture nil nil)) > call-interactively(org-capture nil nil) > command-execute(org-capture) > See if you can get a backtrace with uncompiled code: it is much more informative. See (info "(org) Feedback") in particular the section "How to create a useful backtrace". > I have some other bits of org config in my main config file but not sure > that they would cause breakage like this. > > 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. > > Could try ripping out almost all of the org config and see if that > helps. > > I could also try an earlier version of emacspeak in case the error is > being caused by the advice in some strange way. > -- Nick