From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Poslavsky Subject: Org-mac-link misplaced quotes? Date: Sat, 21 Dec 2013 19:27:09 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=047d7bea3cb696077104ee0eb564 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuQKs-0002Q7-Mj for emacs-orgmode@gnu.org; Sat, 21 Dec 2013 12:27:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VuQKr-0001ya-J1 for emacs-orgmode@gnu.org; Sat, 21 Dec 2013 12:27:34 -0500 Received: from mail-qe0-x232.google.com ([2607:f8b0:400d:c02::232]:40306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuQKr-0001y2-Bk for emacs-orgmode@gnu.org; Sat, 21 Dec 2013 12:27:33 -0500 Received: by mail-qe0-f50.google.com with SMTP id 1so3652966qec.37 for ; Sat, 21 Dec 2013 09:27:30 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode --047d7bea3cb696077104ee0eb564 Content-Type: multipart/alternative; boundary=047d7bea3cb696076e04ee0eb562 --047d7bea3cb696076e04ee0eb562 Content-Type: text/plain; charset=UTF-8 I regularly use org-mac-link from contrib/. It works fine, but somehow my links are a bit mangled, I get: [["http://orgmode.org/worg/org-contribute.html#sec-4][How to contribute to Org?"]] Instead of: [[http://orgmode.org/worg/org-contribute.html#sec-4][How to contribute to Org?]] (Notice the quotation-marks, it's how applescript returns the string) This small patch fixes that. I hope the patch is done correctly. --047d7bea3cb696076e04ee0eb562 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I regularly use org-mac-link from contrib/. It w= orks fine, but somehow my links are a bit mangled, I get:


Instead of:


(Notice the quotation-marks, it's how applescript returns th= e string)

This small patch fixes that. I hope the = patch is done correctly.


--047d7bea3cb696076e04ee0eb562-- --047d7bea3cb696077104ee0eb564 Content-Type: application/octet-stream; name="0001-org-as-mac-chrome-get-frontmost-url-fix-to-remove-un.patch" Content-Disposition: attachment; filename="0001-org-as-mac-chrome-get-frontmost-url-fix-to-remove-un.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hph4zw9z0 RnJvbSBjNDc1NDAwY2ZmZjUzMTcyMzFlMzNkMWNmMTJiYmRjMzZhNTA3YjAzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBbGV4IFBvc2xhdnNreSA8YWxleGFuZGVyLnBvc2xhdnNreUBn bWFpbC5jb20+CkRhdGU6IFNhdCwgMjEgRGVjIDIwMTMgMTk6MDg6MjcgKzAyMDAKU3ViamVjdDog W1BBVENIXSBvcmctYXMtbWFjLWNocm9tZS1nZXQtZnJvbnRtb3N0LXVybDogZml4IHRvIHJlbW92 ZSB1bm5lZWRlZAogcXVvdGF0aW9uLW1hcmtzCgoqIGNvbnRyaWIvbGlzcC9vcmctbWFjLWxpbmsu ZWw6IGFwcGxlc2NyaXB0IHJldHVybnMgdGhlIGxpbmsgYW5kIGRlc2NyaXB0aW9uIGluCiAgcXVv dGVzIGxpa2UgdGhpczoKCiAgW1siaHR0cDovL29yZ21vZGUub3JnL3dvcmcvb3JnLWNvbnRyaWJ1 dGUuaHRtbCNzZWMtNF1bSG93IHRvCiAgY29udHJpYnV0ZSB0byBPcmc/Il1dCgogIFRoZSBmaXgg Y2hhbmdlcyBpdCB0byB0aGlzOgoKICBbW2h0dHA6Ly9vcmdtb2RlLm9yZy93b3JnL29yZy1jb250 cmlidXRlLmh0bWwjc2VjLTRdW0hvdyB0bwogIGNvbnRyaWJ1dGUgdG8gT3JnP11dCgogIFRJTllD SEFOR0UKLS0tCiB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ICAgKG1lbnUtc3Ry aW5nIChtYWtlLXN0cmluZyAwID94KSkKICAgICAgICAgIGlucHV0KQotICAgIAorCiAgICAgOzsg Q3JlYXRlIHRoZSBtZW51IHN0cmluZyBmb3IgdGhlIGtleW1hcAogICAgIChtYXBjICcobGFtYmRh IChkZXNjcmlwdG9yKQogICAgICAgICAgICAgKHdoZW4gKGVsdCBkZXNjcmlwdG9yIDMpCiAgICAg ICAgICAgICAgIChzZXRmIG1lbnUtc3RyaW5nIChjb25jYXQgbWVudS1zdHJpbmcgIlsiIChlbHQg ZGVzY3JpcHRvciAwKSAiXSIgKGVsdCBkZXNjcmlwdG9yIDEpICIgIikpKSkKICAgICAgICAgICBk ZXNjcmlwdG9ycykKICAgICAoc2V0ZiAoZWx0IG1lbnUtc3RyaW5nICgtIChsZW5ndGggbWVudS1z dHJpbmcpIDEpKSA/OikKLSAgICAKKwogICAgIDs7IFByb21wdCB0aGUgdXNlciwgYW5kIGdyYWIg dGhlIGxpbmsKICAgICAobWVzc2FnZSBtZW51LXN0cmluZykKICAgICAoc2V0cSBpbnB1dCAocmVh ZC1jaGFyLWV4Y2x1c2l2ZSkpCkBAIC0zNjgsNyArMzY4LDcgQEAgYXBwbGljYXRpb25zIGFuZCBp bnNlcnRpbmcgdGhlbSBpbiBvcmcgZG9jdW1lbnRzIgogICAgICAgICAgICAgICAgICAgICAgInNl dCBsaW5rcyB0byB7fVxuIgogICAgICAgICAgICAgICAgICAgICAgImNvcHkgdGhlUmVzdWx0IHRv IHRoZSBlbmQgb2YgbGlua3NcbiIKICAgICAgICAgICAgICAgICAgICAgICJyZXR1cm4gbGlua3Mg YXMgc3RyaW5nXG4iKSkpKQotICAgIChjYXIgKHNwbGl0LXN0cmluZyByZXN1bHQgIltcclxuXSsi IHQpKSkpCisgICAgKHN1YnN0cmluZyAoY2FyIChzcGxpdC1zdHJpbmcgcmVzdWx0ICJbXHJcbl0r IiB0KSkgMSAtMSkpKQogCiAoZGVmdW4gb3JnLW1hYy1jaHJvbWUtZ2V0LWZyb250bW9zdC11cmwg KCkKICAgKGludGVyYWN0aXZlKQotLSAKMS44LjUuMQoK --047d7bea3cb696077104ee0eb564--