From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike-Personal Subject: Re: [PATCH] Add DEVONthink Pro to Org Mac Link Date: Sat, 14 Jun 2014 07:17:45 -0400 Message-ID: References: <878up0gf7s.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="539c2f78_41a7c4c9_9c72" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wvlyd-0006pZ-7l for emacs-orgmode@gnu.org; Sat, 14 Jun 2014 07:18:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvlyX-0008Gp-VW for emacs-orgmode@gnu.org; Sat, 14 Jun 2014 07:18:27 -0400 Received: from sasl.smtp.pobox.com ([208.72.237.25]:55609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvlyX-0008Gg-RN for emacs-orgmode@gnu.org; Sat, 14 Jun 2014 07:18:21 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl0.pobox.com (Postfix) with ESMTP id 81BD316C33 for ; Sat, 14 Jun 2014 07:18:21 -0400 (EDT) Received: from pb-sasl0.int.icgroup.com (unknown [127.0.0.1]) by pb-sasl0.pobox.com (Postfix) with ESMTP id 7832716C32 for ; Sat, 14 Jun 2014 07:18:21 -0400 (EDT) Received: from mac-mike-2013.mclean (unknown [67.190.221.110]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by pb-sasl0.pobox.com (Postfix) with ESMTPSA id 313C916C31 for ; Sat, 14 Jun 2014 07:18:17 -0400 (EDT) In-Reply-To: <878up0gf7s.fsf@bzg.ath.cx> 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: emacs-orgmode@gnu.org --539c2f78_41a7c4c9_9c72 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On June 14, 2014 at 2:47:26 AM, Bastien (bzg=40gnu.org(mailto:bzg=40gnu.o= rg)) wrote: > Hi Mike, > =20 > Mike McLean writes: > =20 > > This patch adds support for DEVONthink Pro Office > > =20 > > to Org Mac Links. This likely works for all versions of DEVONthink, b= ut > > that is not tested. > =20 > thanks -- the patch got mangled, can you resend it as an attachment or > not use HTML emails=3F That=E2=80=99s what I get for 12:30 submissions =F0=9F=98=83=C2=A0 I have attached the patch to this email.=C2=A0 Mike=C2=A0 --539c2f78_41a7c4c9_9c72 Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Add-DEVONthink-Pro-to-Org-Mac-Link.patch" RnJvbSA1MGMxZGVkN2NiNDAzY2VjZmUwOWQ0Y2EwYmU3MDRiYTY1ZTA1MjUzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBNaWtlIE1jTGVhbiA8bWlrZS5tY2xlYW5AcG9ib3guY29tPgpE YXRlOiBTYXQsIDE0IEp1biAyMDE0IDAwOjEzOjIyIC0wNDAwClN1YmplY3Q6IFtQQVRDSF0gQWRk IERFVk9OdGhpbmsgUHJvIHRvIE9yZyBNYWMgTGluawoKQWRkIERFVk9OdGhpbmsgUHJvIE9mZmlj ZSAobGlrZWx5IERFVk9OdGhpbmsgYW5kIERFVk9OdGhpbmsgUHJvIGFsc28sCmJ1dCBJIGRvIG5v dCBoYXZlIHRob3NlIHZhcmlhbnRzIHRvIHRlc3QpIHRvIE9yZyBNYWMuIFN1cHBvcnQgZm9yCmNv bGxlY3Rpbmcgb25lIChvciBzZXZlcmFsKSBERVZPTnRoaW5rIGl0ZW1zIGFzIE9yZyBsaW5rIGFu ZCBzdXBwb3J0CmZvciBvcGVuaW5nIHgtZGV2b250aGluay1pdGVtIGxpbmtzIGZyb20gd2l0aGlu Zy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cHAtcCkKICAgICAgICAgICAgICAgICAgICAgICAgICgi bSIgImFpbCIgb3JnLW1hYy1tZXNzYWdlLWluc2VydC1zZWxlY3RlZCAsb3JnLW1hYy1ncmFiLU1h aWwtYXBwLXApCisgICAgICAgICAgICAgICAgICAgICAgICAoImQiICJFVk9OdGhpbmsgUHJvIE9m ZmljZSIgb3JnLW1hYy1kZXZvbnRoaW5rLWl0ZW0taW5zZXJ0LXNlbGVjdGVkICxvcmctbWFjLWdy YWItZGV2b250aGluay1hcHAtcCkKICAgICAgICAgICAgICAgICAgICAgICAgICgibyIgInV0bG9v ayIgb3JnLW1hYy1vdXRsb29rLW1lc3NhZ2UtaW5zZXJ0LXNlbGVjdGVkICxvcmctbWFjLWdyYWIt T3V0bG9vay1hcHAtcCkKICAgICAgICAgICAgICAgICAgICAgICAgICgiYSIgImRkcmVzc2Jvb2si IG9yZy1tYWMtYWRkcmVzc2Jvb2staW5zZXJ0LXNlbGVjdGVkICxvcmctbWFjLWdyYWItQWRkcmVz c2Jvb2stYXBwLXApCiAgICAgICAgICAgICAgICAgICAgICAgICAoInMiICJhZmFyaSIgb3JnLW1h Yy1zYWZhcmktaW5zZXJ0LWZyb250bW9zdC11cmwgLG9yZy1tYWMtZ3JhYi1TYWZhcmktYXBwLXAp CkBAIC03MDcsNiArNzE2LDcwIEBAIGxpc3Qgb2YgbWFjLW91dGxvb2s6Ly8gbGlua3MgdG8gZmxh Z2dlZCBtYWlsIGFmdGVyIGhlYWRpbmcuIgogDAogOzsKIDs7Cis7OyBIYW5kbGUgbGlua3MgZnJv bSBERVZPTnRoaW5rIFBybyBPZmZpY2UuYXBwCis7OworCisob3JnLWFkZC1saW5rLXR5cGUgIngt ZGV2b250aGluay1pdGVtIiAnb3JnLWRldm9udGhpbmstaXRlbS1vcGVuKQorCisoZGVmdW4gb3Jn LWRldm9udGhpbmstaXRlbS1vcGVuICh1aWQpCisgICJPcGVuIHRoZSBnaXZlbiB1aWQsIHdoaWNo IGlzIGEgcmV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gICAgImVuZCByZXBlYXRcbiIKKyAgICAiZW5k IHRlbGxcbiIKKyAgICAicmV0dXJuIHRoZUxpbmtMaXN0IGFzIHN0cmluZyIKKyAgICApKSkKKwor KGRlZnVuIG9yZy1tYWMtZGV2b250aGluay1nZXQtbGlua3MgKCkKKyAgIkNyZWF0ZSBsaW5rcyB0 byB0aGUgaXRlbShzKSBjdXJyZW50bHkgc2VsZWN0ZWQgaW4gREVWT050aGluayBQcm8gT2ZmaWNl LgorVGhpcyB3aWxsIHVzZSBBcHBsZVNjcmlwdCB0byBnZXQgdGhlIGB1dWlkJyBhbmQgdGhlIGBu YW1lJyBvZiB0aGUKK3NlbGVjdGVkIGl0ZW1zIGluIERFVk9OdGhpbmsgUHJvIE9mZmljZS5hcHAg YW5kIG1ha2UgbGlua3Mgb3V0IG9mCitpdC90aGVtLiBUaGlzIGZ1bmN0aW9uIHdpbGwgcHVzaCB0 aGUgT3JnLXN5bnRheCB0ZXh0IHRvIHRoZSBraWxsCityaW5nLCBhbmQgYWxzbyByZXR1cm4gaXQu IgorICAobWVzc2FnZSAiT3JnIE1hYyBERVZPTnRoaW5rOiBsb29raW5nIGZvciBzZWxlY3RlZCBp dGVtcy4uLiIpCisgIChsZXQqICgoYXMtbGluay1saXN0IChvcmctYXMtZ2V0LXNlbGVjdGVkLWRl dm9udGhpbmstaXRlbSkpCisgICAgICAgICAobGluay1saXN0IChpZiBhcy1saW5rLWxpc3QKKyAg ICAgICAgICAgICAgICAgICAgICAgIChtYXBjYXIKKyAgICAgICAgICAgICAgICAgICAgICAgICAo bGFtYmRhICh4KSAoaWYgKHN0cmluZy1tYXRjaCAiXFxgXCJcXCguKlxcKVwiXFwnIiB4KSAoc2V0 cSB4IChtYXRjaC1zdHJpbmcgMSB4KSkpIHgpCisgICAgICAgICAgICAgICAgICAgICAgICAgKHNw bGl0LXN0cmluZyBhcy1saW5rLWxpc3QgIltcclxuXSsiKSkKKyAgICAgICAgICAgICAgICAgICAg ICBuaWwpKQorICAgICAgICAgb3JnbGluay1saXN0KQorICAgICh3aGlsZSBsaW5rLWxpc3QKKyAg ICAgIChsZXQqICgoY3VycmVudC1pdGVtIChwb3AgbGluay1saXN0KSkpCisgICAgICAgIChtZXNz YWdlICJjdXJyZW50IGl0ZW06ICVzIiBjdXJyZW50LWl0ZW0pCisgICAgICAgICh3aGVuIChhbmQg Y3VycmVudC1pdGVtIChub3QgKHN0cmluZz0gY3VycmVudC1pdGVtICIiKSkpCisgICAgICAgICAg KGxldCogKChzcGxpdC1saW5rIChzcGxpdC1zdHJpbmcgY3VycmVudC1pdGVtICI6OnNwbGl0Ojoi KSkKKyAgICAgICAgICAgICAgICAgKG9yZ2xpbmsgKG9yZy1tYWtlLWxpbmstc3RyaW5nICh1cmwt ZW5jb2RlLXVybCAoY2FyIHNwbGl0LWxpbmspKSAoY2FkciBzcGxpdC1saW5rKSkpKQorICAgICAg ICAgICAgKHB1c2ggb3JnbGluayBvcmdsaW5rLWxpc3QpKSkpKQorICAgIChraWxsLW5ldyAobWFw Y29uY2F0ICdpZGVudGl0eSBvcmdsaW5rLWxpc3QgIlxuIikpKSkKKworKGRlZnVuIG9yZy1tYWMt ZGV2b250aGluay1pdGVtLWluc2VydC1zZWxlY3RlZCAoKQorICAiSW5zZXJ0IGEgbGluayB0byB0 aGUgaXRlbShzKSBjdXJyZW50bHkgc2VsZWN0ZWQgaW4gREVWT050aGluayBQcm8gT2ZmaWNlLgor VGhpcyB3aWxsIHVzZSBBcHBsZVNjcmlwdCB0byBnZXQgdGhlIGB1dWlkJyhzKSBhbmQgdGhlIG5h bWUocykgb2YgdGhlCitzZWxlY3RlZCBpdGVtcyBpbiBERVZPTnRoaW5rIFBybyBPZmZpY2UgYW5k IG1ha2UgbGluayhzKSBvdXQgb2YgaXQvdGhlbS4iCisgIChpbnRlcmFjdGl2ZSkKKyAgKGluc2Vy dCAob3JnLW1hYy1kZXZvbnRoaW5rLWdldC1saW5rcykpKQorCisMCis7OworOzsKIDs7IEhhbmRs ZSBsaW5rcyBmcm9tIE1haWwuYXBwCiA7OwogCi0tIAoyLjAuMAoK --539c2f78_41a7c4c9_9c72--