{"action":"created","issue":{"url":"https://api.github.com/repos/emacs-helm/helm/issues/1294","labels_url":"https://api.github.com/repos/emacs-helm/helm/issues/1294/labels{/name}","comments_url":"https://api.github.com/repos/emacs-helm/helm/issues/1294/comments","events_url":"https://api.github.com/repos/emacs-helm/helm/issues/1294/events","html_url":"https://github.com/emacs-helm/helm/issues/1294","id":122126171,"number":1294,"title":"helm-get-org-candidates-in-file truncates headings at the wrong position","user":{"login":"tmalsburg","id":3817450,"avatar_url":"https://avatars.githubusercontent.com/u/3817450?v=3","gravatar_id":"","url":"https://api.github.com/users/tmalsburg","html_url":"https://github.com/tmalsburg","followers_url":"https://api.github.com/users/tmalsburg/followers","following_url":"https://api.github.com/users/tmalsburg/following{/other_user}","gists_url":"https://api.github.com/users/tmalsburg/gists{/gist_id}","starred_url":"https://api.github.com/users/tmalsburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmalsburg/subscriptions","organizations_url":"https://api.github.com/users/tmalsburg/orgs","repos_url":"https://api.github.com/users/tmalsburg/repos","events_url":"https://api.github.com/users/tmalsburg/events{/privacy}","received_events_url":"https://api.github.com/users/tmalsburg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-12-14T20:39:41Z","updated_at":"2015-12-18T17:33:10Z","closed_at":null,"body":"`window-width` is used to determine the point for truncation but the function doesn't use the window width of the helm-window but that of the window in which helm was called."},"comment":{"url":"https://api.github.com/repos/emacs-helm/helm/issues/comments/165848252","html_url":"https://github.com/emacs-helm/helm/issues/1294#issuecomment-165848252","issue_url":"https://api.github.com/repos/emacs-helm/helm/issues/1294","id":165848252,"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":"2015-12-18T17:33:09Z","updated_at":"2015-12-18T17:33:09Z","body":"\nJonathan Gregory <notifications@github.com> writes:\n\n> I was using it to search bibliographical notes. See: https://gist.github.com/jagrg/39d68432c783df50d199.\n\nWhy are you using:\n\n(cl-defun helm-bibtex-source-org-headings-for-files (filenames &optional\n                                                    (min-depth 2) (max-depth 2))\n\ninstead of simply passing 2 (min-depth) and 2 (max-depth) to\nhelm-org-get-candidates ?\n\nI can't try your code because I have no idea how to install helm-bibtex\nand its dependencies and no sample file, however the min-depth and\nmax-depth arguments (1 and 8 by default) are passing correctly here (I\ncould modify them without problems)\n\nAlso be sure to recompile correctly all your files.\n \n-- \nThierry\nhttps://emacs-helm.github.io/helm/\n"}}