{"action":"created","issue":{"url":"https://api.github.com/repos/emacs-ess/ESS/issues/300","repository_url":"https://api.github.com/repos/emacs-ess/ESS","labels_url":"https://api.github.com/repos/emacs-ess/ESS/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/emacs-ess/ESS/issues/300/comments","events_url":"https://api.github.com/repos/emacs-ess/ESS/issues/300/events","html_url":"https://github.com/emacs-ess/ESS/issues/300","id":139049548,"number":300,"title":"help.start() causes read-only problem with comint-prompt-read-only","user":{"login":"izahn","id":321235,"avatar_url":"https://avatars.githubusercontent.com/u/321235?v=3","gravatar_id":"","url":"https://api.github.com/users/izahn","html_url":"https://github.com/izahn","followers_url":"https://api.github.com/users/izahn/followers","following_url":"https://api.github.com/users/izahn/following{/other_user}","gists_url":"https://api.github.com/users/izahn/gists{/gist_id}","starred_url":"https://api.github.com/users/izahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izahn/subscriptions","organizations_url":"https://api.github.com/users/izahn/orgs","repos_url":"https://api.github.com/users/izahn/repos","events_url":"https://api.github.com/users/izahn/events{/privacy}","received_events_url":"https://api.github.com/users/izahn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-07T18:08:48Z","updated_at":"2016-04-18T17:54:51Z","closed_at":null,"body":"When `comint-prompt-read-only` is non-nil starting an inferior R buffer (e.g., with `M-x R`) and running `help.start()` results in being stuck in a read-only state in the inferior R buffer. Steps to reproduce:\r\n\r\n- Start emacs with `emacs -q`\r\n- Evaluate these lines in the scratch buffer:\r\n```emacs-lisp\r\n(require 'package)\r\n(package-initialize)\r\n(require 'ess-site)\r\n(setq comint-prompt-read-only t)\r\n```\r\n- Start R with `M-x R <ret>`\r\n- Type `help.start() <ret>` to open help in your browser. \r\n- In the browser, click on the \"Packages\" link\r\n- Go back to emacs and try to type in the inferior-ess buffer.\r\n\r\nObserved behavior: `Text is read-only` appears in the minibuffer.\r\nExpected behavior: Inserting characters in the inferior-ess buffer works.\r\n\r\nSoftware versions:\r\n- GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6\r\n- ess-version: 15.09-2 patched [elpa: 20160305.530]\r\n\r\nPlease let me know if more information is needed to reproduce or debug. \r\n"},"comment":{"url":"https://api.github.com/repos/emacs-ess/ESS/issues/comments/211501693","html_url":"https://github.com/emacs-ess/ESS/issues/300#issuecomment-211501693","issue_url":"https://api.github.com/repos/emacs-ess/ESS/issues/300","id":211501693,"user":{"login":"izahn","id":321235,"avatar_url":"https://avatars.githubusercontent.com/u/321235?v=3","gravatar_id":"","url":"https://api.github.com/users/izahn","html_url":"https://github.com/izahn","followers_url":"https://api.github.com/users/izahn/followers","following_url":"https://api.github.com/users/izahn/following{/other_user}","gists_url":"https://api.github.com/users/izahn/gists{/gist_id}","starred_url":"https://api.github.com/users/izahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/izahn/subscriptions","organizations_url":"https://api.github.com/users/izahn/orgs","repos_url":"https://api.github.com/users/izahn/repos","events_url":"https://api.github.com/users/izahn/events{/privacy}","received_events_url":"https://api.github.com/users/izahn/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T17:54:51Z","updated_at":"2016-04-18T17:54:51Z","body":"Thanks for checking. Yes, I can reproduce starting with `emacs -Q` in place of `emacs -q` in my reproduction steps above. Unless I misunderstand emacs startup/package management (quite possible!) I don't think any spacemacs code should be involved in my reproduction steps. \r\n\r\nIs there anything else I can do to help track this down?"}}