emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Org mode installation problems
Date: Wed, 07 Jan 2015 12:55:19 -0500	[thread overview]
Message-ID: <87oaqaa320.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: loom.20150107T175103-579@post.gmane.org

Felix Fernandes <felixfcaf@gmail.com> 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 <RET> 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

  reply	other threads:[~2015-01-07 17:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-06 19:21 Org mode installation problems Felix Fernandes
2015-01-06 23:44 ` Felix Fernandes
2015-01-07  2:23   ` Nick Dokos
2015-01-07  5:27     ` Felix Fernandes
2015-01-07 12:52       ` Nick Dokos
2015-01-07 16:43         ` Felix Fernandes
2015-01-07 16:54           ` Felix Fernandes
2015-01-07 17:55             ` Nick Dokos [this message]
2015-01-07 18:11               ` Felix Fernandes
2015-01-08 19:18                 ` Felix Fernandes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oaqaa320.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).