0

I would like a function to return the flycheck error id for the piece of code my cursor is over. Pylint is my main interest.

1 Answer 1

1

If you call flycheck-copy-errors-as-kill with a normal argument you will get the desired effect (list's first entry).

  • C-u 1 M-x flycheck-copy-errors-as-kill will add the error id to the kill ring.
  • C-u M-x flycheck-copy-errors-as-kill will add the error id and the message to the kill ring.
  • M-x flycheck-copy-errors-as-kill will add the the error message to the kill ring.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.