{"action":"created","issue":{"url":"https://api.github.com/repos/pezra/rspec-mode/issues/102","labels_url":"https://api.github.com/repos/pezra/rspec-mode/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/pezra/rspec-mode/issues/102/comments","events_url":"https://api.github.com/repos/pezra/rspec-mode/issues/102/events","html_url":"https://github.com/pezra/rspec-mode/pull/102","id":53488189,"number":102,"title":"Replace compilation-error-regexp alists rather than appending to them","user":{"login":"ineu","id":24980,"avatar_url":"https://avatars.githubusercontent.com/u/24980?v=3","gravatar_id":"","url":"https://api.github.com/users/ineu","html_url":"https://github.com/ineu","followers_url":"https://api.github.com/users/ineu/followers","following_url":"https://api.github.com/users/ineu/following{/other_user}","gists_url":"https://api.github.com/users/ineu/gists{/gist_id}","starred_url":"https://api.github.com/users/ineu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ineu/subscriptions","organizations_url":"https://api.github.com/users/ineu/orgs","repos_url":"https://api.github.com/users/ineu/repos","events_url":"https://api.github.com/users/ineu/events{/privacy}","received_events_url":"https://api.github.com/users/ineu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-06T07:14:44Z","updated_at":"2015-01-06T08:05:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pezra/rspec-mode/pulls/102","html_url":"https://github.com/pezra/rspec-mode/pull/102","diff_url":"https://github.com/pezra/rspec-mode/pull/102.diff","patch_url":"https://github.com/pezra/rspec-mode/pull/102.patch"},"body":"Current `compilation-errors-regexp-alist*` is great, however it is appended to the original list, making matches too wide. After catching rspec errors, it goes further and runs other matchers which find incorrect lines. For example,\r\n```ruby\r\n/home/ineu/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/htmlcompressor-0.1.2/lib/htmlcompressor/compressor.rb:112: warning: duplicated key at line 132 ignored: :javascript_compressor\r\n/home/ineu/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/htmlcompressor-0.1.2/lib/htmlcompressor/compressor.rb:113: warning: duplicated key at line 133 ignored: :css_compressor\r\n```\r\nIt marks these lines as errors as well, though they are really deprecations.\r\nThis PR completely replaces predefined alist."},"comment":{"url":"https://api.github.com/repos/pezra/rspec-mode/issues/comments/68836892","html_url":"https://github.com/pezra/rspec-mode/pull/102#issuecomment-68836892","issue_url":"https://api.github.com/repos/pezra/rspec-mode/issues/102","id":68836892,"user":{"login":"ineu","id":24980,"avatar_url":"https://avatars.githubusercontent.com/u/24980?v=3","gravatar_id":"","url":"https://api.github.com/users/ineu","html_url":"https://github.com/ineu","followers_url":"https://api.github.com/users/ineu/followers","following_url":"https://api.github.com/users/ineu/following{/other_user}","gists_url":"https://api.github.com/users/ineu/gists{/gist_id}","starred_url":"https://api.github.com/users/ineu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ineu/subscriptions","organizations_url":"https://api.github.com/users/ineu/orgs","repos_url":"https://api.github.com/users/ineu/repos","events_url":"https://api.github.com/users/ineu/events{/privacy}","received_events_url":"https://api.github.com/users/ineu/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T08:05:20Z","updated_at":"2015-01-06T08:05:20Z","body":"It also changes regexp to match 'rspec' at the beginning of line. This is also useful to avoid false matches in deprecation warnings like\r\n```ruby\r\n/home/ineu/.rbenv/versions/2.2.0/bin/ruby -I/home/ineu/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.1.7/lib:/home/ineu/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-support-3.1.2/lib /home/ineu/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/rspec-core-3.1.7/exe/rspec /home/ineu/work/foospec/controllers/exit_pages_controller_spec.rb:353\r\n\r\n```"}}