{"action":"created","issue":{"url":"https://api.github.com/repos/emacs-ess/ESS/issues/140","labels_url":"https://api.github.com/repos/emacs-ess/ESS/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/emacs-ess/ESS/issues/140/comments","events_url":"https://api.github.com/repos/emacs-ess/ESS/issues/140/events","html_url":"https://github.com/emacs-ess/ESS/issues/140","id":55544063,"number":140,"title":"comint-history-isearch-backward-regexp (M-r) broken in iESS","user":{"login":"plantarum","id":5727138,"avatar_url":"https://avatars.githubusercontent.com/u/5727138?v=3","gravatar_id":"","url":"https://api.github.com/users/plantarum","html_url":"https://github.com/plantarum","followers_url":"https://api.github.com/users/plantarum/followers","following_url":"https://api.github.com/users/plantarum/following{/other_user}","gists_url":"https://api.github.com/users/plantarum/gists{/gist_id}","starred_url":"https://api.github.com/users/plantarum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plantarum/subscriptions","organizations_url":"https://api.github.com/users/plantarum/orgs","repos_url":"https://api.github.com/users/plantarum/repos","events_url":"https://api.github.com/users/plantarum/events{/privacy}","received_events_url":"https://api.github.com/users/plantarum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-26T22:01:37Z","updated_at":"2015-02-05T10:32:18Z","closed_at":"2015-02-05T10:32:18Z","body":"To reproduce:\r\n\r\nStart a clean Emacs session:\r\n```\r\nemacs -Q\r\n```\r\nLoad ESS, start an interactive session:\r\n```{elisp}\r\n(package-initialize) ;; ess installed from melpa\r\nM-x R\r\n```\r\nEnter some commands:\r\n```{r}\r\nls()\r\ngetwd()\r\n```\r\nTry to search interactively through the command history:\r\n```{elisp}\r\nM-r\r\n```\r\nExpecting to see a prompt at the bottom of the buffer, which completes previous commands that match my input, as in `M-x shell` buffers. Instead, the prompt is displayed several lines back, and the regexp search behaves like a re-search-backward, ignoring the R history. That is, instead of bringing matches to the bottom of the buffer, searching moves point up through the text.\r\n\r\n```{r}\r\nRegexp history I-search backward: ## This shouldn't be here!!\r\n> ls()\r\n [1] \"binner.document\"         \"binner.reup\"            \r\n [3] \"cor.mat\"                 \"fixed\"                  \r\n [5] \"fragread.document\"       \"fragread.reup\"          \r\n [7] \"multiIntersect\"          \"multiIntersect.rownames\"\r\n [9] \"pcoa.eigs\"               \"pdetach\"                \r\n[11] \"reup\"                    \"tyhead\"                 \r\n[13] \"tyrelevel\"               \"tyxtable\"               \r\n> getwd()\r\n[1] \"/home/tws/scratch\"\r\n> ## The prompt should be down here!\r\n```\r\n\r\n```{elisp}\r\n(ess-version)\r\n\"ess-version: 14.11 [elpa: 20150125.433] (loaded from /home/tws/.emacs.d/elpa/ess-20150125.433/)\"\r\n\r\n(emacs-version)\r\n\"GNU Emacs 24.4.51.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5)\r\n of 2015-01-23 on ONOTTAR654746\"\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/emacs-ess/ESS/issues/comments/73025517","html_url":"https://github.com/emacs-ess/ESS/issues/140#issuecomment-73025517","issue_url":"https://api.github.com/repos/emacs-ess/ESS/issues/140","id":73025517,"user":{"login":"vspinu","id":1363467,"avatar_url":"https://avatars.githubusercontent.com/u/1363467?v=3","gravatar_id":"","url":"https://api.github.com/users/vspinu","html_url":"https://github.com/vspinu","followers_url":"https://api.github.com/users/vspinu/followers","following_url":"https://api.github.com/users/vspinu/following{/other_user}","gists_url":"https://api.github.com/users/vspinu/gists{/gist_id}","starred_url":"https://api.github.com/users/vspinu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vspinu/subscriptions","organizations_url":"https://api.github.com/users/vspinu/orgs","repos_url":"https://api.github.com/users/vspinu/repos","events_url":"https://api.github.com/users/vspinu/events{/privacy}","received_events_url":"https://api.github.com/users/vspinu/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T10:32:18Z","updated_at":"2015-02-05T10:32:18Z","body":"This one was fixed [upstream](http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19710)."}}