{"action":"created","issue":{"url":"https://api.github.com/repos/mawww/kakoune/issues/1682","repository_url":"https://api.github.com/repos/mawww/kakoune","labels_url":"https://api.github.com/repos/mawww/kakoune/issues/1682/labels{/name}","comments_url":"https://api.github.com/repos/mawww/kakoune/issues/1682/comments","events_url":"https://api.github.com/repos/mawww/kakoune/issues/1682/events","html_url":"https://github.com/mawww/kakoune/issues/1682","id":272192864,"number":1682,"title":"Support for elastic tabstops","user":{"login":"notramo","id":26059643,"avatar_url":"https://avatars0.githubusercontent.com/u/26059643?v=4","gravatar_id":"","url":"https://api.github.com/users/notramo","html_url":"https://github.com/notramo","followers_url":"https://api.github.com/users/notramo/followers","following_url":"https://api.github.com/users/notramo/following{/other_user}","gists_url":"https://api.github.com/users/notramo/gists{/gist_id}","starred_url":"https://api.github.com/users/notramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notramo/subscriptions","organizations_url":"https://api.github.com/users/notramo/orgs","repos_url":"https://api.github.com/users/notramo/repos","events_url":"https://api.github.com/users/notramo/events{/privacy}","received_events_url":"https://api.github.com/users/notramo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-08T13:10:56Z","updated_at":"2018-02-03T05:28:37Z","closed_at":null,"author_association":"NONE","body":"Native support would be cool for elastic tabstops.\r\nhttp://nickgravgaard.com/elastic-tabstops/"},"comment":{"url":"https://api.github.com/repos/mawww/kakoune/issues/comments/362781663","html_url":"https://github.com/mawww/kakoune/issues/1682#issuecomment-362781663","issue_url":"https://api.github.com/repos/mawww/kakoune/issues/1682","id":362781663,"user":{"login":"mawww","id":51221,"avatar_url":"https://avatars1.githubusercontent.com/u/51221?v=4","gravatar_id":"","url":"https://api.github.com/users/mawww","html_url":"https://github.com/mawww","followers_url":"https://api.github.com/users/mawww/followers","following_url":"https://api.github.com/users/mawww/following{/other_user}","gists_url":"https://api.github.com/users/mawww/gists{/gist_id}","starred_url":"https://api.github.com/users/mawww/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mawww/subscriptions","organizations_url":"https://api.github.com/users/mawww/orgs","repos_url":"https://api.github.com/users/mawww/repos","events_url":"https://api.github.com/users/mawww/events{/privacy}","received_events_url":"https://api.github.com/users/mawww/received_events","type":"User","site_admin":false},"created_at":"2018-02-03T05:28:37Z","updated_at":"2018-02-03T05:28:37Z","author_association":"OWNER","body":"Unfortunately, if we restrict elastic tabstops to the interface I think they will not be very useful, as it means pressing `j` or `k` will likely jump around vertically, as we cannot respect the horizontal alignment. Imagine the following text:\r\n\r\n```\r\nfunction_call()<tab>// this is a comment\r\n<   elastic tabs   >// this is the next line\r\n```\r\n\r\nVisually with elastic tab the two `this` words in the comments are aligned, but if you are on the second one, and hit `k`, you will jump somewhere in `function_call`. Which character you'll be on depends on what the value of `tabstop` actually is.\r\n\r\nI expect such a behaviour will be enough either to make users not enable elastic tabs in Kakoune, or ask for deeper support of elastic tabs so that vertical movements take them into account."}}
{"actor":{"display_login":"mawww"}}