{"action":"created","issue":{"url":"https://api.github.com/repos/emacs-helm/helm/issues/1494","repository_url":"https://api.github.com/repos/emacs-helm/helm","labels_url":"https://api.github.com/repos/emacs-helm/helm/issues/1494/labels{/name}","comments_url":"https://api.github.com/repos/emacs-helm/helm/issues/1494/comments","events_url":"https://api.github.com/repos/emacs-helm/helm/issues/1494/events","html_url":"https://github.com/emacs-helm/helm/issues/1494","id":153441789,"number":1494,"title":"Error with PROMPT in org-capture-templates","user":{"login":"nyraghu","id":11349287,"avatar_url":"https://avatars.githubusercontent.com/u/11349287?v=3","gravatar_id":"","url":"https://api.github.com/users/nyraghu","html_url":"https://github.com/nyraghu","followers_url":"https://api.github.com/users/nyraghu/followers","following_url":"https://api.github.com/users/nyraghu/following{/other_user}","gists_url":"https://api.github.com/users/nyraghu/gists{/gist_id}","starred_url":"https://api.github.com/users/nyraghu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyraghu/subscriptions","organizations_url":"https://api.github.com/users/nyraghu/orgs","repos_url":"https://api.github.com/users/nyraghu/repos","events_url":"https://api.github.com/users/nyraghu/events{/privacy}","received_events_url":"https://api.github.com/users/nyraghu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-06T12:35:41Z","updated_at":"2016-05-07T05:05:53Z","closed_at":null,"body":"My org-capture-templates value is\r\n\r\n````\r\n((\"n\" \"General notes\" entry (file+headline \"~/org/notes.org\" \"Notes\") \"* %^{DESCRIPTION}\\n%a%?\\nAdded: %U\" :prepend t :empty-lines 1)\r\n (\"t\" \"Task diary\" entry (file+headline \"~/org/todo.org\" \"Tasks\") \"* TODO %^{DESCRIPTION}\\n%a%?\\nAdded: %U\" :prepend t :empty-lines 1))\r\n````\r\n\r\nWith this when I do M-x org-capture, I get the \"Select a capture template\" buffer, but when I select 'n', I get the error\r\n\r\n````\r\norg-capture: Capture abort: (error In ‘org-capture History’ source: ‘#[0 \\304\\302\\300\\305\\303$\\211\\205)�\\306\\307\\310\\301\\203$�\\301\\307\\230\\204$�\\311\\305\\301\\306\\301\u0006\b\"B\"\\202%�\u0003\\312\\313#\"\\207 [nil  org-capture-template-prompt-history::DESCRIPTION nil helm-comp-read-get-candidates nil delete  helm-fast-remove-dups delq :test equal] 10]’ \r\n (void-function org-capture-template-prompt-history::DESCRIPTION))\r\n````\r\nIf I remove the %^{DESCRIPTION} from the templates, org-capture works fine.  Of course, if I disable helm from doing org-capture, with\r\n\r\n````\r\n(setcdr (assoc 'org-capture helm-completing-read-handlers-alist) nil)\r\n````\r\nthen also org-capture works as expected."},"comment":{"url":"https://api.github.com/repos/emacs-helm/helm/issues/comments/217608147","html_url":"https://github.com/emacs-helm/helm/issues/1494#issuecomment-217608147","issue_url":"https://api.github.com/repos/emacs-helm/helm/issues/1494","id":217608147,"user":{"login":"thierryvolpiatto","id":1533939,"avatar_url":"https://avatars.githubusercontent.com/u/1533939?v=3","gravatar_id":"","url":"https://api.github.com/users/thierryvolpiatto","html_url":"https://github.com/thierryvolpiatto","followers_url":"https://api.github.com/users/thierryvolpiatto/followers","following_url":"https://api.github.com/users/thierryvolpiatto/following{/other_user}","gists_url":"https://api.github.com/users/thierryvolpiatto/gists{/gist_id}","starred_url":"https://api.github.com/users/thierryvolpiatto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thierryvolpiatto/subscriptions","organizations_url":"https://api.github.com/users/thierryvolpiatto/orgs","repos_url":"https://api.github.com/users/thierryvolpiatto/repos","events_url":"https://api.github.com/users/thierryvolpiatto/events{/privacy}","received_events_url":"https://api.github.com/users/thierryvolpiatto/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T05:05:53Z","updated_at":"2016-05-07T05:05:53Z","body":"\nN. Raghavendra <notifications@github.com> writes:\n\n>     load manually the helm-org.el file, then turn on debug-on-error and see if it have some helm errors (if helm is involved), if so send me the backtrace.\n>    \n> I don't know if helm is involved in producing the error, but the\n> backtrace does mention helm.\n\nhelm tried to prepare history, found the org history function, but this\none is void, IOW the org file is not loaded, so you need perhaps to\nrequire something in your org config.\n\n> In any case, attached is a text file containing the backtrace.\n\nWhen you send a backtrace ensure to load the .el file, here you sent the\nbacktrace with the .elc loaded, so the backtrace is full of bytecode.\n(That's my fault I told you to load the helm-org file, but it is the\nhelm-mode file you have to load).\n\nThanks.\n\n> —\n> You are receiving this because you commented.\n> Reply to this email directly or view it on GitHub*\n\n\n-- \nThierry\n"}}