{"action":"created","issue":{"url":"https://api.github.com/repos/magnars/expand-region.el/issues/170","labels_url":"https://api.github.com/repos/magnars/expand-region.el/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/magnars/expand-region.el/issues/170/comments","events_url":"https://api.github.com/repos/magnars/expand-region.el/issues/170/events","html_url":"https://github.com/magnars/expand-region.el/issues/170","id":93608790,"number":170,"title":"Autocopy register is cleared when the region is reset.","user":{"login":"glucas","id":72533,"avatar_url":"https://avatars.githubusercontent.com/u/72533?v=3","gravatar_id":"","url":"https://api.github.com/users/glucas","html_url":"https://github.com/glucas","followers_url":"https://api.github.com/users/glucas/followers","following_url":"https://api.github.com/users/glucas/following{/other_user}","gists_url":"https://api.github.com/users/glucas/gists{/gist_id}","starred_url":"https://api.github.com/users/glucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glucas/subscriptions","organizations_url":"https://api.github.com/users/glucas/orgs","repos_url":"https://api.github.com/users/glucas/repos","events_url":"https://api.github.com/users/glucas/events{/privacy}","received_events_url":"https://api.github.com/users/glucas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-07T19:26:12Z","updated_at":"2015-07-07T20:06:05Z","closed_at":null,"body":"This may be the intended behavior, but it was surprising to me: If I use expand-region to mark some region, then quit the selection, the expand-region-autocopy-register is cleared. I would expect that the register be updated only when the expand (or contract) results in a non-empty region.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/magnars/expand-region.el/issues/comments/119320074","html_url":"https://github.com/magnars/expand-region.el/issues/170#issuecomment-119320074","issue_url":"https://api.github.com/repos/magnars/expand-region.el/issues/170","id":119320074,"user":{"login":"magnars","id":265785,"avatar_url":"https://avatars.githubusercontent.com/u/265785?v=3","gravatar_id":"","url":"https://api.github.com/users/magnars","html_url":"https://github.com/magnars","followers_url":"https://api.github.com/users/magnars/followers","following_url":"https://api.github.com/users/magnars/following{/other_user}","gists_url":"https://api.github.com/users/magnars/gists{/gist_id}","starred_url":"https://api.github.com/users/magnars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnars/subscriptions","organizations_url":"https://api.github.com/users/magnars/orgs","repos_url":"https://api.github.com/users/magnars/repos","events_url":"https://api.github.com/users/magnars/events{/privacy}","received_events_url":"https://api.github.com/users/magnars/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T20:06:05Z","updated_at":"2015-07-07T20:06:05Z","body":"Hm, that is not a feature I've been using at all, but looking at the code, I can see that the region is copied to the register when expanding and contracting - and touched otherwise. That it clears when you quit the selection isn't something I'm able to read out of the code. Are you sure it is even set? How are you testing it? :-)"}}