[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] PATCH: Fix malformed "message" links produced by org-mac-link.el
From: |
Alan Schmitt |
Subject: |
Re: [O] PATCH: Fix malformed "message" links produced by org-mac-link.el |
Date: |
Thu, 25 Sep 2014 08:14:17 +0200 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (darwin) |
On 2014-09-24 20:56, Steve Purcell <address@hidden> writes:
> On 24 Sep 2014, at 20:01, Alan Schmitt <address@hidden> wrote:
>
>> This was the case here: the string returned by the AppleScript had
>> quotes (and it still does).
>>
>> For instance, with the message you mention, the call to
>> org-as-get-selected-mail returns this (doing a debug):
>>
>> Result: "\"message://address@hidden::split::Private beta invitation for
>> Emacs Q&A site - Area 51 - Stack Exchange\””
>
>
> I definitely don’t get quotes in the result of org-as-get-selected-mail.
…
> Not sure how to proceed, then…
It seems that the difference is with getting quotes or not. How about
changing org-as-get-selected-mail to make sure there is no quote? We
could for instance test whether the first and last characters are
quotes, and remove them if they are.
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
signature.asc
Description: PGP signature