{"action":"created","issue":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/9199","repository_url":"https://api.github.com/repos/syl20bnr/spacemacs","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/9199/labels{/name}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/9199/comments","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/9199/events","html_url":"https://github.com/syl20bnr/spacemacs/issues/9199","id":241163430,"number":9199,"title":"Creating files from neotree opens them at / instead of the dir chosen","user":{"login":"mathpunk","id":241202,"avatar_url":"https://avatars2.githubusercontent.com/u/241202?v=3","gravatar_id":"","url":"https://api.github.com/users/mathpunk","html_url":"https://github.com/mathpunk","followers_url":"https://api.github.com/users/mathpunk/followers","following_url":"https://api.github.com/users/mathpunk/following{/other_user}","gists_url":"https://api.github.com/users/mathpunk/gists{/gist_id}","starred_url":"https://api.github.com/users/mathpunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathpunk/subscriptions","organizations_url":"https://api.github.com/users/mathpunk/orgs","repos_url":"https://api.github.com/users/mathpunk/repos","events_url":"https://api.github.com/users/mathpunk/events{/privacy}","received_events_url":"https://api.github.com/users/mathpunk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-07T05:45:06Z","updated_at":"2017-07-07T08:37:07Z","closed_at":null,"body":"#### Description :octocat:\r\nCreating a file from a neotree directory instead creates the file at root.\r\n\r\n#### Reproduction guide :beetle:\r\n- Start Emacs\r\n- Open neotree and navigate your cursor to a directory\r\n- Use SPC-f-f to open the Find File minibuffer\r\n- There's no slash after that directory, so you type a slash and then your filename...\r\n\r\n*Observed behaviour:* :eyes: :broken_heart:\r\n...but, instead of opening the file /home/$USER/whatever/your-file.txt, opens a file at /your-file.txt, receiving complaints about it being read-only and so forth when the buffer opens.\r\n\r\n*Expected behaviour:* :heart: :smile:\r\nA buffer is opened at /home/$USER/whatever/your-file.txt instead.\r\n\r\n#### System Info :computer:\r\n- OS: gnu/linux\r\n- Emacs: 25.2.1\r\n- Spacemacs: 0.200.9\r\n- Spacemacs branch: develop (rev. efef3905)\r\n- Graphic display: t\r\n- Distribution: spacemacs\r\n- Editing style: vim\r\n- Completion: ivy\r\n- Layers:\r\n```elisp\r\n(own ivy better-defaults\r\n     (auto-completion :variables auto-completion-tab-key-behavior 'cycle auto-completion-space-key-behavior 'reject auto-completion-return-key-behavior 'reject auto-completion-enable-help-tooltip t auto-completion-enable-snippets-in-popup t auto-completion-enable-sort-by-usage t auto-completion-complete-with-key-sequence \"jk\" auto-completion-complete-with-key-sequence-delay 0.3)\r\n     (shell :variables shell-default-shell 'ansi-term shell-default-term-shell \"/usr/bin/fish\" shell-default-height 30 shell-default-position 'bottom)\r\n     shell-scripts\r\n     (org :variables org-enable-reveal-js-support t org-enable-org-journal-support t)\r\n     yaml csv sql ranger html restclient react emacs-lisp javascript clojure python syntax-checking git github fasd markdown deft latex themes-megapack typography emoji)\r\n```\r\n- System configuration features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES\r\n\r\n\r\n#### Backtrace :paw_prints:\r\n```\r\n<<BACKTRACE IF RELEVANT>>\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments/313622764","html_url":"https://github.com/syl20bnr/spacemacs/issues/9199#issuecomment-313622764","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/9199","id":313622764,"user":{"login":"ZarsBranchkin","id":1903120,"avatar_url":"https://avatars2.githubusercontent.com/u/1903120?v=3","gravatar_id":"","url":"https://api.github.com/users/ZarsBranchkin","html_url":"https://github.com/ZarsBranchkin","followers_url":"https://api.github.com/users/ZarsBranchkin/followers","following_url":"https://api.github.com/users/ZarsBranchkin/following{/other_user}","gists_url":"https://api.github.com/users/ZarsBranchkin/gists{/gist_id}","starred_url":"https://api.github.com/users/ZarsBranchkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZarsBranchkin/subscriptions","organizations_url":"https://api.github.com/users/ZarsBranchkin/orgs","repos_url":"https://api.github.com/users/ZarsBranchkin/repos","events_url":"https://api.github.com/users/ZarsBranchkin/events{/privacy}","received_events_url":"https://api.github.com/users/ZarsBranchkin/received_events","type":"User","site_admin":false},"created_at":"2017-07-07T08:37:07Z","updated_at":"2017-07-07T08:37:07Z","body":"Managed to reproduce, seems to be an issue with ivy(works fine with helm). \r\n\r\nI'll see if I can fix this, but it seems that a better way to create new files in neotree is by using `c` key binding. It also adds the missing `/`, that you mentioned and creates the file properly."}}
{"actor":{"display_login":"ZarsBranchkin"}}