{"action":"created","issue":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/1101","repository_url":"https://api.github.com/repos/flycheck/flycheck","labels_url":"https://api.github.com/repos/flycheck/flycheck/issues/1101/labels{/name}","comments_url":"https://api.github.com/repos/flycheck/flycheck/issues/1101/comments","events_url":"https://api.github.com/repos/flycheck/flycheck/issues/1101/events","html_url":"https://github.com/flycheck/flycheck/issues/1101","id":178551510,"number":1101,"title":"Make it possible to show longer ID","user":{"login":"Mekk","id":161873,"avatar_url":"https://avatars.githubusercontent.com/u/161873?v=3","gravatar_id":"","url":"https://api.github.com/users/Mekk","html_url":"https://github.com/Mekk","followers_url":"https://api.github.com/users/Mekk/followers","following_url":"https://api.github.com/users/Mekk/following{/other_user}","gists_url":"https://api.github.com/users/Mekk/gists{/gist_id}","starred_url":"https://api.github.com/users/Mekk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mekk/subscriptions","organizations_url":"https://api.github.com/users/Mekk/orgs","repos_url":"https://api.github.com/users/Mekk/repos","events_url":"https://api.github.com/users/Mekk/events{/privacy}","received_events_url":"https://api.github.com/users/Mekk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flycheck/flycheck/labels/error%20list","name":"error list","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-22T08:35:15Z","updated_at":"2016-09-23T08:18:23Z","closed_at":null,"body":"**The problem**\r\n\r\nI use flycheck for python code, where it wraps pylint. In default configuration it shows error (in `*Flycheck errors*` as sth like: \r\n`\r\n   87   5 warning  no-... Method could be a function (python-pylint)\r\n`\r\nI find fourth column (ID, `no...` in this case) problematic. It is useful – I need this identifier whenever I want to disable given message (by inserting it into ~/.pylintrc or making steering comment like `# pylint:disable=no-self-use`) or simply google for details. But it is so heavily truncated that it is unreadable.\r\n\r\nSo, please, make it somehow possible to see whole `ID` of error/warning I look at.\r\n\r\n**Suggested solutions**\r\n\r\nBelow a few ideas (from imperfect but probably simple to implement, to more difficult):\r\n\r\n1. For time being I simply edited `flycheck-error-list-format` in `flycheck.el`, changing id column spec to `(\"ID\" 15 t)`. It's not perfect (lost space on checkers without identifier), but much better (whole `no-self-use` fits, and for longer messages prefix is long enough to distinguish). Unfortunately I must re-edit this variable on every flycheck upgrade.\r\n\r\n     So, it would be nice, if some parts of this variable (column widths?, column widths and names?) could be customizable, or at least easily modifiable from .emacs (say by being put into simpler, non-const variable).\r\n\r\n2. Even better, if ID colum width could be matched to the context - expanded to sth like 15-20 chars for backends which use long IDs, truncated to few chars for modes/backends which use short numerical codes, hidden for backends which do not apply them at all. This could be either configurable by backend (say, backend somehow reports \"I don't use ID\"/\"I use short IDs\"/\"I use long IDs\") or just calculated dynamically from actual errors (just make column wide enough to fit longest code, with some limit)\r\n\r\n**Related suggestions**\r\n\r\nWhenever ID is truncated, three characters (three dots) are used to signal the fact. Especially in 5 chars case this does not make sense. Unicode … (three-dot character) takes one char. Not sure whether this is possible to modify from your code level but maybe tabulated list has some arg somewhere. Or maybe ID could be truncated this way before being fed to list…\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/comments/249131251","html_url":"https://github.com/flycheck/flycheck/issues/1101#issuecomment-249131251","issue_url":"https://api.github.com/repos/flycheck/flycheck/issues/1101","id":249131251,"user":{"login":"lunaryorn","id":224922,"avatar_url":"https://avatars.githubusercontent.com/u/224922?v=3","gravatar_id":"","url":"https://api.github.com/users/lunaryorn","html_url":"https://github.com/lunaryorn","followers_url":"https://api.github.com/users/lunaryorn/followers","following_url":"https://api.github.com/users/lunaryorn/following{/other_user}","gists_url":"https://api.github.com/users/lunaryorn/gists{/gist_id}","starred_url":"https://api.github.com/users/lunaryorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunaryorn/subscriptions","organizations_url":"https://api.github.com/users/lunaryorn/orgs","repos_url":"https://api.github.com/users/lunaryorn/repos","events_url":"https://api.github.com/users/lunaryorn/events{/privacy}","received_events_url":"https://api.github.com/users/lunaryorn/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T08:18:22Z","updated_at":"2016-09-23T08:18:22Z","body":"Thank you for reporting this issue.  I understand that it's a nuisance, but to me it's not important to fix to be honest: It affects only a single syntax checker, which I don't use personally.   Personally I'll not fix this anytime time soon.\r\n\r\nWhile it'd be great if the error list automatically changed column widths according to the content that's probably hard to implement since there's no support for this in Tabulated List Mode.\r\n\r\nI'd be great if you could research to find out whether that's possible, and maybe open a pull request.  If not I'd also be very happy to review a pull request that makes the format customizable.  \r\n\r\nFor now, you could either switch to numeric IDs in pylint, or use [`M-0 C-c ! w`](http://www.flycheck.org/en/latest/user/error-interaction.html#key-M-0%20C-c%20!%20w) to copy the error ID at point."}}
{"actor":{"display_login":"lunaryorn"}}