From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Org mode installation problems Date: Wed, 07 Jan 2015 12:55:19 -0500 Message-ID: <87oaqaa320.fsf@alphaville.usersys.redhat.com> References: <87a91vba7q.fsf@alphaville.usersys.redhat.com> <87y4pe3g7r.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8urM-0007Iw-2Y for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 12:57:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y8urH-00029P-1l for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 12:57:32 -0500 Received: from plane.gmane.org ([80.91.229.3]:51134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y8urG-00029F-Re for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 12:57:26 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y8upt-0004Zn-Ui for emacs-orgmode@gnu.org; Wed, 07 Jan 2015 18:56:02 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Jan 2015 18:56:01 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Jan 2015 18:56:01 +0100 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: emacs-orgmode@gnu.org Felix Fernandes writes: >> It does not bother me as much as the following keyboard macro >> >> (fset 'jk >> [?\M-x ?o ?r ?g ?- ?c ?a ?p ?t ?u ?r ?e return ?t return ?\C-e ? ?j ?k >> ?\C-c ?\C-c]) >> >> that should invoke the following template: >> (setq org-capture-templates '(("t" "Todo" entry (file "~/org/j.org")))) >> > > If it helps to debug, here is the backtrace from M-x jk as defined above: > Debugger entered--Lisp error: (error "Capture abort: (wrong-type-argument > stringp (file:~/org/todo.org::*Tasks Tasks))") > signal(error ("Capture abort: (wrong-type-argument stringp > (file:~/org/todo.org::*Tasks Tasks))")) > error("Capture abort: %s" (wrong-type-argument stringp > ("file:~/org/todo.org::*Tasks" "Tasks"))) > byte-code("\301\302!\203\302!\210\300\304" [error get-buffer "*Capture*" > kill-buffer "Capture abort: %s"] 3) > org-capture(nil) > call-interactively(org-capture record nil) > command-execute(org-capture record) > execute-extended-command(nil "org-capture") > call-interactively(execute-extended-command nil nil) > command-execute(jj record) > execute-extended-command(nil "jj") > call-interactively(execute-extended-command nil nil) That works for me. M-x jk produces ~/org/j.org: --8<---------------cut here---------------start------------->8--- * jk --8<---------------cut here---------------end--------------->8--- The backtrace is not very useful as is because of the byte code. You might try to reproduce with uncompiled code and see if it is any clearer. Nick