{"action":"created","issue":{"url":"https://api.github.com/repos/nomad-software/tkd/issues/31","labels_url":"https://api.github.com/repos/nomad-software/tkd/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/nomad-software/tkd/issues/31/comments","events_url":"https://api.github.com/repos/nomad-software/tkd/issues/31/events","html_url":"https://github.com/nomad-software/tkd/pull/31","id":58308398,"number":31,"title":"Escaping problems with tcl's list command, and more orphan format issues","user":{"login":"callumenator","id":1724524,"avatar_url":"https://avatars.githubusercontent.com/u/1724524?v=3","gravatar_id":"","url":"https://api.github.com/users/callumenator","html_url":"https://github.com/callumenator","followers_url":"https://api.github.com/users/callumenator/followers","following_url":"https://api.github.com/users/callumenator/following{/other_user}","gists_url":"https://api.github.com/users/callumenator/gists{/gist_id}","starred_url":"https://api.github.com/users/callumenator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callumenator/subscriptions","organizations_url":"https://api.github.com/users/callumenator/orgs","repos_url":"https://api.github.com/users/callumenator/repos","events_url":"https://api.github.com/users/callumenator/events{/privacy}","received_events_url":"https://api.github.com/users/callumenator/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-20T04:13:19Z","updated_at":"2015-02-22T22:56:42Z","closed_at":"2015-02-22T16:34:10Z","pull_request":{"url":"https://api.github.com/repos/nomad-software/tkd/pulls/31","html_url":"https://github.com/nomad-software/tkd/pull/31","diff_url":"https://github.com/nomad-software/tkd/pull/31.diff","patch_url":"https://github.com/nomad-software/tkd/pull/31.patch"},"body":"There are still a few issues with text escaping and stuff. Tcl's ```list``` does its own escaping, so trying to set a column value to e.g. \"[1,2,3]\" shows up as \"\\\\[1,2,3\\\\]\". Replacing ```[list \"%s\"]``` with ```{\"%s\"}``` seems to work, but I don't know why, I'm not good with tcl, it might just be a coincidence. \r\n\r\nThe other problem was that the final command was still going through format, so orphan format specs were an issue. Pretty much any command that includes literal text has to be eval'd without going through format (or you could catch FormatExceptions and ignore them...).\r\n\r\nThis pull fixes just the couple of issues I've found in treeview. I can submit more for other places where this happens if this is the way you want to handle it. Feels a bit brittle though. "},"comment":{"url":"https://api.github.com/repos/nomad-software/tkd/issues/comments/75469173","html_url":"https://github.com/nomad-software/tkd/pull/31#issuecomment-75469173","issue_url":"https://api.github.com/repos/nomad-software/tkd/issues/31","id":75469173,"user":{"login":"callumenator","id":1724524,"avatar_url":"https://avatars.githubusercontent.com/u/1724524?v=3","gravatar_id":"","url":"https://api.github.com/users/callumenator","html_url":"https://github.com/callumenator","followers_url":"https://api.github.com/users/callumenator/followers","following_url":"https://api.github.com/users/callumenator/following{/other_user}","gists_url":"https://api.github.com/users/callumenator/gists{/gist_id}","starred_url":"https://api.github.com/users/callumenator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callumenator/subscriptions","organizations_url":"https://api.github.com/users/callumenator/orgs","repos_url":"https://api.github.com/users/callumenator/repos","events_url":"https://api.github.com/users/callumenator/events{/privacy}","received_events_url":"https://api.github.com/users/callumenator/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T22:56:42Z","updated_at":"2015-02-22T22:56:42Z","body":"Missed treeview: ```updateDataColumn```?\r\nhttps://github.com/nomad-software/tkd/blob/2b8bca9987eb429392a56d1b36c4f454bd9354d0/source/tkd/widget/treeview.d#L436-L441"}}