senny / emacs-eclim

This project brings some of the great eclipse features to emacs developers. It is based on the eclim project, which provides eclipse features for vim.
http://www.emacswiki.org/emacs/EmacsEclim
587 stars 102 forks source link

Unable to call 'eclim-problems-correct' from 'eclim: problems' buffer. #198

Open r0adrunner opened 9 years ago

r0adrunner commented 9 years ago
(defun eclim-problems-correct ()
  (interactive)
  (let ((p (eclim--problems-get-current-problem)))
    (if (not (string-match "\\.\\(groovy\\|java\\)$" (cdr (assoc 'filename p))))
        (error "Not a Java or Groovy file. Corrections are currently supported only for Java or Groovy.")
      (eclim-java-correct (cdr (assoc 'line p)) (eclim--byte-offset)))))

Someone removed the line (eclim-problems-open-current) from the function above.

kleewho commented 9 years ago

It was removed long time ago by the same person which added it in the first place dbc368becec8c530f519519a6c088cdddd649ae4. On the other hand it would be nice to have this possibility.