{"action":"created","issue":{"url":"https://api.github.com/repos/fxbois/web-mode/issues/513","labels_url":"https://api.github.com/repos/fxbois/web-mode/issues/513/labels{/name}","comments_url":"https://api.github.com/repos/fxbois/web-mode/issues/513/comments","events_url":"https://api.github.com/repos/fxbois/web-mode/issues/513/events","html_url":"https://github.com/fxbois/web-mode/issues/513","id":78239843,"number":513,"title":"Function atttribute-select includes the carets. ","user":{"login":"ReneFroger","id":5211845,"avatar_url":"https://avatars.githubusercontent.com/u/5211845?v=3","gravatar_id":"","url":"https://api.github.com/users/ReneFroger","html_url":"https://github.com/ReneFroger","followers_url":"https://api.github.com/users/ReneFroger/followers","following_url":"https://api.github.com/users/ReneFroger/following{/other_user}","gists_url":"https://api.github.com/users/ReneFroger/gists{/gist_id}","starred_url":"https://api.github.com/users/ReneFroger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReneFroger/subscriptions","organizations_url":"https://api.github.com/users/ReneFroger/orgs","repos_url":"https://api.github.com/users/ReneFroger/repos","events_url":"https://api.github.com/users/ReneFroger/events{/privacy}","received_events_url":"https://api.github.com/users/ReneFroger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-19T20:29:24Z","updated_at":"2015-05-24T18:05:18Z","closed_at":null,"body":"Hi there, me again!\r\n\r\nFor example, you have this line: \r\n`<div id=\"foo\" action=\"bar\">`\r\n\r\nYour cursor is on the letter `a` of the attribute `action`. In web-mode, the function `web-mode-attribute-select` will select the attribute `action` and his contents, but will select the closing caret too (`>`). When you yank the selected region, it will include the closing caret in the yank. I guess it has something to do with how Emacs handles with the pointer. :frowning:.\r\n\r\nIt seems to me that this is not the intention. And when you do the same with web-mode-attribute-kill, it will kill the region accordingly, without kill the closing caret. So I wonder if the behaviour of `web-mode-attribute-select` could be configured to behave consistent as with `web-mode-attribute-kill` without including the caret? "},"comment":{"url":"https://api.github.com/repos/fxbois/web-mode/issues/comments/105044443","html_url":"https://github.com/fxbois/web-mode/issues/513#issuecomment-105044443","issue_url":"https://api.github.com/repos/fxbois/web-mode/issues/513","id":105044443,"user":{"login":"fxbois","id":959622,"avatar_url":"https://avatars.githubusercontent.com/u/959622?v=3","gravatar_id":"","url":"https://api.github.com/users/fxbois","html_url":"https://github.com/fxbois","followers_url":"https://api.github.com/users/fxbois/followers","following_url":"https://api.github.com/users/fxbois/following{/other_user}","gists_url":"https://api.github.com/users/fxbois/gists{/gist_id}","starred_url":"https://api.github.com/users/fxbois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxbois/subscriptions","organizations_url":"https://api.github.com/users/fxbois/orgs","repos_url":"https://api.github.com/users/fxbois/repos","events_url":"https://api.github.com/users/fxbois/events{/privacy}","received_events_url":"https://api.github.com/users/fxbois/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T18:05:18Z","updated_at":"2015-05-24T18:05:18Z","body":"@ReneFroger what command do you type after the attribute selection ?"}}