On 2014-09-24 20:56, Steve Purcell <st...@sanityinc.com> writes:

> On 24 Sep 2014, at 20:01, Alan Schmitt <alan.schm...@polytechnique.org> 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://2.b2af716655bbac583727@NY-WEB01::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

Attachment: signature.asc
Description: PGP signature

Reply via email to