{"action":"created","issue":{"url":"https://api.github.com/repos/sprig/org-capture-extension/issues/13","repository_url":"https://api.github.com/repos/sprig/org-capture-extension","labels_url":"https://api.github.com/repos/sprig/org-capture-extension/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/sprig/org-capture-extension/issues/13/comments","events_url":"https://api.github.com/repos/sprig/org-capture-extension/issues/13/events","html_url":"https://github.com/sprig/org-capture-extension/issues/13","id":171015481,"number":13,"title":"Percent/Url encoding","user":{"login":"fjp","id":1286618,"avatar_url":"https://avatars.githubusercontent.com/u/1286618?v=3","gravatar_id":"","url":"https://api.github.com/users/fjp","html_url":"https://github.com/fjp","followers_url":"https://api.github.com/users/fjp/followers","following_url":"https://api.github.com/users/fjp/following{/other_user}","gists_url":"https://api.github.com/users/fjp/gists{/gist_id}","starred_url":"https://api.github.com/users/fjp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjp/subscriptions","organizations_url":"https://api.github.com/users/fjp/orgs","repos_url":"https://api.github.com/users/fjp/repos","events_url":"https://api.github.com/users/fjp/events{/privacy}","received_events_url":"https://api.github.com/users/fjp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-13T16:15:00Z","updated_at":"2016-08-15T11:20:33Z","closed_at":null,"body":"Hi,\r\n\r\nI've setup your nice chrome capture extension on mac osx using EmacsClient.app and spacemacs.\r\nEverything seemed to work except for URLs that include % signs to escape special characters. \r\n(e.g. https://en.wikipedia.org/wiki/Pontryagin%27s_maximum_principle)\r\n\r\nWhen pressing the button of the org-capture-extension in chrome, EmacsClient shortly \"starts\"/flashes up but there is No reaction in spacemacs (with and without text selected).\r\n\r\n\r\nThis is the output of the chrome developer console:\r\n`Capturing the following URI with org-protocol: org-protocol://capture:/L/https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FPontryagi…gin's%20maximum%20principle%20-%20Wikipedia%2C%20the%20free%20encyclopedia`\r\n\r\nI guess the apostrophe in \"Pontryagin**'**s\" is a problem.\r\n\r\nI tried also directly with emacsclient on the terminal but I couldn't figure out the correct command:\r\n`emacsclient \"'org-protocol:/capture:/L/https://en.wikipedia.org/wiki/Pontryagin%27s_maximum_principle/Pontryagin's maximum principle \"'\"`\r\nAlthough this fires up spacemacs...\r\n\r\nCan you tell me if this is an issue with the org-capture-extension code or should I escape the %-sign using my capture templates?\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sprig/org-capture-extension/issues/comments/239780492","html_url":"https://github.com/sprig/org-capture-extension/issues/13#issuecomment-239780492","issue_url":"https://api.github.com/repos/sprig/org-capture-extension/issues/13","id":239780492,"user":{"login":"fjp","id":1286618,"avatar_url":"https://avatars.githubusercontent.com/u/1286618?v=3","gravatar_id":"","url":"https://api.github.com/users/fjp","html_url":"https://github.com/fjp","followers_url":"https://api.github.com/users/fjp/followers","following_url":"https://api.github.com/users/fjp/following{/other_user}","gists_url":"https://api.github.com/users/fjp/gists{/gist_id}","starred_url":"https://api.github.com/users/fjp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjp/subscriptions","organizations_url":"https://api.github.com/users/fjp/orgs","repos_url":"https://api.github.com/users/fjp/repos","events_url":"https://api.github.com/users/fjp/events{/privacy}","received_events_url":"https://api.github.com/users/fjp/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T11:20:33Z","updated_at":"2016-08-15T11:20:33Z","body":"Thanks for your help,\r\n\r\nusing the changes from the [13-encode-title](https://github.com/sprig/org-capture-extension/tree/13-encode-title) branch it is working!\r\n\r\n\r\n\r\nExecuting the first three commands\r\n\r\n```\r\nemacsclient org-protocol://capture:/L/https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FPontryagin%2527s_maximum_principle/Pontryagin\r\n\r\nopen org-protocol://capture:/L/https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FPontryagin%2527s_maximum_principle/Pontryagin\r\n\r\nopen org-protocol://capture:/L/https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FPontryagin%2527s_maximum_principle/Pontryagins%20maximum%20principle%20-%20Wikipedia%2C%20the%20free%20encyclopedia\r\n```\r\nworks perfect: The capture buffer is opened and Title and Link are set accordingly.\r\n\r\n\r\nWhen pressing enter for the last command:\r\n```\r\nopen org-protocol://capture:/L/https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FPontryagin%2527s_maximum_principle/Pontryagin's%20maximum%20principle%20-%20Wikipedia%2C%20the%20free%20encyclopedia\r\n```\r\nthe terminal promt changes to `quote>`\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"fjp"}}