rubocop / rubocop-emacs

An Emacs interface for RuboCop
128 stars 30 forks source link

rubocop-emacs doesn't work via tramp #12

Closed ojab closed 9 years ago

ojab commented 9 years ago

There is actually two issues, but they're closely related:

  1. rubocop-emacs is checking rubocop installation on local machine, so we'll get 'RuboCop is not installed' if it isn't installed locally
  2. rubocop-emacs uses buffer-file-name, so rubocop is run like rubocop --format emacs /ssh:notebook:smth.rb. Filename should be translated before call (something like this)
bbatsov commented 9 years ago

Patches welcome! :-)