{"action":"created","issue":{"url":"https://api.github.com/repos/weechat/scripts/issues/103","labels_url":"https://api.github.com/repos/weechat/scripts/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/weechat/scripts/issues/103/comments","events_url":"https://api.github.com/repos/weechat/scripts/issues/103/events","html_url":"https://github.com/weechat/scripts/pull/103","id":108595118,"number":103,"title":"buffer_autoset.py 0.9: instantly apply properties","user":{"login":"sim642","id":378740,"avatar_url":"https://avatars.githubusercontent.com/u/378740?v=3","gravatar_id":"","url":"https://api.github.com/users/sim642","html_url":"https://github.com/sim642","followers_url":"https://api.github.com/users/sim642/followers","following_url":"https://api.github.com/users/sim642/following{/other_user}","gists_url":"https://api.github.com/users/sim642/gists{/gist_id}","starred_url":"https://api.github.com/users/sim642/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sim642/subscriptions","organizations_url":"https://api.github.com/users/sim642/orgs","repos_url":"https://api.github.com/users/sim642/repos","events_url":"https://api.github.com/users/sim642/events{/privacy}","received_events_url":"https://api.github.com/users/sim642/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-09-28T06:13:34Z","updated_at":"2015-09-28T20:07:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/weechat/scripts/pulls/103","html_url":"https://github.com/weechat/scripts/pull/103","diff_url":"https://github.com/weechat/scripts/pull/103.diff","patch_url":"https://github.com/weechat/scripts/pull/103.patch"},"body":"Previously buffer_autoset.py required buffers to be reopened for the set options to apply or the user had to also run an extra `/buffer set` command. This change makes the script listen to the script's config options and applies them immediately, even when modifying the settings directly not via the script's command. It does not do anything when the option gets removed because there's no way to retrieve the supposed value.\r\n\r\n*Tested by me and strayPuppy from #weechat.*"},"comment":{"url":"https://api.github.com/repos/weechat/scripts/issues/comments/143860396","html_url":"https://github.com/weechat/scripts/pull/103#issuecomment-143860396","issue_url":"https://api.github.com/repos/weechat/scripts/issues/103","id":143860396,"user":{"login":"de-vri-es","id":786213,"avatar_url":"https://avatars.githubusercontent.com/u/786213?v=3","gravatar_id":"","url":"https://api.github.com/users/de-vri-es","html_url":"https://github.com/de-vri-es","followers_url":"https://api.github.com/users/de-vri-es/followers","following_url":"https://api.github.com/users/de-vri-es/following{/other_user}","gists_url":"https://api.github.com/users/de-vri-es/gists{/gist_id}","starred_url":"https://api.github.com/users/de-vri-es/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/de-vri-es/subscriptions","organizations_url":"https://api.github.com/users/de-vri-es/orgs","repos_url":"https://api.github.com/users/de-vri-es/repos","events_url":"https://api.github.com/users/de-vri-es/events{/privacy}","received_events_url":"https://api.github.com/users/de-vri-es/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T20:07:27Z","updated_at":"2015-09-28T20:07:27Z","body":"Ah, good point, better done separately."}}