emacs-eclim icon indicating copy to clipboard operation
emacs-eclim copied to clipboard

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

Open r0adrunner opened this issue 10 years ago • 1 comments

(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.

r0adrunner avatar Jul 06 '15 17:07 r0adrunner

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.

kleewho avatar Jul 06 '15 21:07 kleewho