From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitri Makarov Subject: Re: [PATCH] org-mac-link.el: Handle links to/from Adobe Acrobat. Date: Thu, 10 Sep 2015 11:37:36 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=089e01228c70794c04051f615992 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZyIY-00057y-Ml for emacs-orgmode@gnu.org; Thu, 10 Sep 2015 05:37:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZyIV-0007Ke-Fm for emacs-orgmode@gnu.org; Thu, 10 Sep 2015 05:37:42 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:33330) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZyIV-0007KU-68 for emacs-orgmode@gnu.org; Thu, 10 Sep 2015 05:37:39 -0400 Received: by wiclk2 with SMTP id lk2so20851140wic.0 for ; Thu, 10 Sep 2015 02:37:38 -0700 (PDT) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com. [209.85.212.176]) by smtp.gmail.com with ESMTPSA id kb5sm14649410wjc.17.2015.09.10.02.37.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Sep 2015 02:37:37 -0700 (PDT) Received: by wicfx3 with SMTP id fx3so20710077wic.1 for ; Thu, 10 Sep 2015 02:37:36 -0700 (PDT) In-Reply-To: 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: Alan Schmitt Cc: emacs-orgmode@gnu.org --089e01228c70794c04051f615992 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello Alan, If you haven't pushed the patch yet, here is attached an updated patch, with a correction in the commit message, and a minor correction in one of the comments. Regards, Dmitri On Thu, Sep 10, 2015 at 11:28 AM, Alan Schmitt wrote: > On 2015-09-09 17:59, Dmitri Makarov writes= : > >> This is refactored patch that uses org-mac-paste-applescript-links > > LGTM (with a tiny caveat that I can fix: the first line of the commit > message should not end with a dot). Nicolas, can I push this? > > Thanks, > > Alan > > -- > OpenPGP Key ID : 040D0A3B4ED2E5C7 > Last week athmospheric CO=E2=82=82 average (Updated September 6, 2015, Ma= una Loa Obs.): > 377.86 ppm --089e01228c70794c04051f615992 Content-Type: text/plain; charset=US-ASCII; name="patch.diff" Content-Disposition: attachment; filename="patch.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iee0u1uz1 RnJvbSBjNWMzNzgzNjBlMWEwYTg0ZjQ2NWI3Y2Y5ZGE2ODVlYTUxMWQ1ZTM0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEbWl0cmkgTWFrYXJvdiA8ZG1ha2Fyb3ZAYWx1bW5pLnN0YW5m b3JkLmVkdT4KRGF0ZTogV2VkLCA5IFNlcCAyMDE1IDE3OjI0OjQyICswMjAwClN1YmplY3Q6IFtQ QVRDSF0gb3JnLW1hYy1saW5rLmVsOiBIYW5kbGUgbGlua3MgdG8vZnJvbSBBZG9iZSBBY3JvYmF0 CgoqIGNvbnRyaWIvbGlzcC9vcmctbWFjLWxpbmsuZWw6IEFkZCBuZXcgbGluayB0eXBlICJhY3Jv YmF0IiB0byBncmFiCiAgbGlua3MgdG8gZG9jdW1lbnRzIG9wZW4gaW4gQWRvYmUgQWNyb2JhdCBh cHBsaWNhdGlvbi4KLS0tCiBjb250cmliL2xpc3Avb3JnLW1hYy1saW5rLmVsIHwgNjAgKysrKysr KysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKy0KIDEgZmlsZSBjaGFuZ2VkLCA1 OSBpbnNlcnRpb25zKCspLCAxIGRlbGV0aW9uKC0pCg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