{"action":"created","issue":{"url":"https://api.github.com/repos/hlissner/doom-emacs/issues/736","repository_url":"https://api.github.com/repos/hlissner/doom-emacs","labels_url":"https://api.github.com/repos/hlissner/doom-emacs/issues/736/labels{/name}","comments_url":"https://api.github.com/repos/hlissner/doom-emacs/issues/736/comments","events_url":"https://api.github.com/repos/hlissner/doom-emacs/issues/736/events","html_url":"https://github.com/hlissner/doom-emacs/issues/736","id":337312398,"node_id":"MDU6SXNzdWUzMzczMTIzOTg=","number":736,"title":"Problems with setting pyenv version automatically (develop branch)","user":{"login":"bsag","id":10916,"node_id":"MDQ6VXNlcjEwOTE2","avatar_url":"https://avatars3.githubusercontent.com/u/10916?v=4","gravatar_id":"","url":"https://api.github.com/users/bsag","html_url":"https://github.com/bsag","followers_url":"https://api.github.com/users/bsag/followers","following_url":"https://api.github.com/users/bsag/following{/other_user}","gists_url":"https://api.github.com/users/bsag/gists{/gist_id}","starred_url":"https://api.github.com/users/bsag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsag/subscriptions","organizations_url":"https://api.github.com/users/bsag/orgs","repos_url":"https://api.github.com/users/bsag/repos","events_url":"https://api.github.com/users/bsag/events{/privacy}","received_events_url":"https://api.github.com/users/bsag/received_events","type":"User","site_admin":false},"labels":[{"id":113470147,"node_id":"MDU6TGFiZWwxMTM0NzAxNDc=","url":"https://api.github.com/repos/hlissner/doom-emacs/labels/bug","name":"bug","color":"fc2929","default":true},{"id":707348531,"node_id":"MDU6TGFiZWw3MDczNDg1MzE=","url":"https://api.github.com/repos/hlissner/doom-emacs/labels/fixed%20in%20develop","name":"fixed in develop","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/hlissner/doom-emacs/milestones/3","html_url":"https://github.com/hlissner/doom-emacs/milestone/3","labels_url":"https://api.github.com/repos/hlissner/doom-emacs/milestones/3/labels","id":2820413,"node_id":"MDk6TWlsZXN0b25lMjgyMDQxMw==","number":3,"title":"2.1","description":"","creator":{"login":"hlissner","id":510883,"node_id":"MDQ6VXNlcjUxMDg4Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/510883?v=4","gravatar_id":"","url":"https://api.github.com/users/hlissner","html_url":"https://github.com/hlissner","followers_url":"https://api.github.com/users/hlissner/followers","following_url":"https://api.github.com/users/hlissner/following{/other_user}","gists_url":"https://api.github.com/users/hlissner/gists{/gist_id}","starred_url":"https://api.github.com/users/hlissner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlissner/subscriptions","organizations_url":"https://api.github.com/users/hlissner/orgs","repos_url":"https://api.github.com/users/hlissner/repos","events_url":"https://api.github.com/users/hlissner/events{/privacy}","received_events_url":"https://api.github.com/users/hlissner/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":140,"state":"open","created_at":"2017-10-06T16:46:37Z","updated_at":"2018-08-04T13:36:18Z","due_on":"2018-08-03T07:00:00Z","closed_at":null},"comments":13,"created_at":"2018-07-01T18:43:40Z","updated_at":"2018-08-04T13:43:17Z","closed_at":null,"author_association":"NONE","body":"First, I'm really enjoying Doom, so thanks for all your work on it!\r\n\r\n### Observed behavior\r\n\r\nWhen I load a project which has a particular python version set using a .python-version file in the project directory, that version of python is not loaded as expected. The modeline reports \"Python 2.7.14\" instead of \"Python 3.6.5\".\r\n\r\nIf I execute `:!pyenv version` within emacs, it reports:\r\n\r\n\"2.7.14 (set by PYENV_VERSION environment variable)\"\r\n\r\nThis suggests to me that it is somehow getting a `pyenv shell` version, but I haven't set one. Using this command in a terminal returns \"pyenv: no shell-specific version configured\". `echo $PYENV_VERSION` is blank.\r\n\r\n`pyenv version` in a terminal outside emacs reports (correctly) 3.6.5. In addition, I have the pyenv global set to 3.6.5, so this should be loaded unless I'm in a directory where I specify a different version.\r\n\r\n### Expected behavior\r\n\r\nThe modeline should report the correct pyenv version (either the version set in pyenv global, or a directory-specific version from a .python-version file.\r\n\r\n### Steps to reproduce\r\n\r\n1. Open a python file in Doom\r\n2. Modeline reports incorrect pyenv version\r\n3. M-x run-python results in an error as a consequence, because I don't have iPython installed for 2.7.14 python.\r\n\r\n### System information\r\n\r\n<details>\r\n<summary>Click to expand</summary>\r\n\r\n```\r\n- OS: darwin (x86_64-apple-darwin17.5.0)\r\n- Emacs: 26.1 (Jun 12, 2018)\r\n- Doom: 2.0.9 (develop 5e9f74c269706fd840e76523555ed648a12bdab1)\r\n- Graphic display: t (daemon: nil)\r\n- System features: JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS LCMS2\r\n- Details:\r\n  ```elisp\r\n  elc count: 0\r\n  uname -a:  Darwin serenity 17.6.0 Darwin Kernel Version 17.6.0: Tue May  8 15:22:16 PDT 2018; root:xnu-4570.61.1~1/RELEASE_X86_64 x86_64\r\n  modules:   (:feature (evil +everywhere) file-templates (lookup +devdocs +docsets) snippets spellcheck (syntax-checker +childframe) workspaces :completion (ivy +fuzzy +childframe) :ui doom-dashboard doom-modeline doom-quit evil-goggles hl-todo nav-flash neotree (popup +all +defaults) vc-gutter vi-tilde-fringe window-select :editor :emacs ediff electric eshell imenu term vc :tools ein macos magit :lang emacs-lisp latex markdown (org +attach +babel +capture +export +present +ipython) (python +conda) sh web :config)\r\n  packages:  n/a\r\n  exec-path: (/usr/local/bin/ /usr/bin/ /bin/ /usr/sbin/ /sbin/ /opt/X11/bin/ /Library/TeX/texbin/ /usr/local/Cellar/emacs-plus/26.1/libexec/emacs/26.1/x86_64-apple-darwin17.5.0/)\r\n  ```\r\n```\r\n</details>\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/hlissner/doom-emacs/issues/comments/410450417","html_url":"https://github.com/hlissner/doom-emacs/issues/736#issuecomment-410450417","issue_url":"https://api.github.com/repos/hlissner/doom-emacs/issues/736","id":410450417,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDQ1MDQxNw==","user":{"login":"hlissner","id":510883,"node_id":"MDQ6VXNlcjUxMDg4Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/510883?v=4","gravatar_id":"","url":"https://api.github.com/users/hlissner","html_url":"https://github.com/hlissner","followers_url":"https://api.github.com/users/hlissner/followers","following_url":"https://api.github.com/users/hlissner/following{/other_user}","gists_url":"https://api.github.com/users/hlissner/gists{/gist_id}","starred_url":"https://api.github.com/users/hlissner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlissner/subscriptions","organizations_url":"https://api.github.com/users/hlissner/orgs","repos_url":"https://api.github.com/users/hlissner/repos","events_url":"https://api.github.com/users/hlissner/events{/privacy}","received_events_url":"https://api.github.com/users/hlissner/received_events","type":"User","site_admin":false},"created_at":"2018-08-04T13:43:17Z","updated_at":"2018-08-04T13:43:17Z","author_association":"OWNER","body":"Oh, and forgot to mention, the lang/python also now has the following module flags to enable these (or other) features:\r\n\r\n+ `+pyenv`\r\n+ `+pyvenv`\r\n+ `+conda`\r\n+ `+ipython`\r\n"}}
{"actor":{"display_login":"hlissner"}}