On 24 Sep 2014, at 20:01, Alan Schmitt <[email protected]> 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.


> It works well for grabbing a single message, but it breaks when grabbing
> several. Here is one such broken result:
> 
> [[message://[email protected]][Re: De passage ˆ 
> San Jose"]]
> [["message://[email protected]][Re: De passage ˆ 
> San Jose]]
> 
> The string returned by the AppleScript was this:
> 
> Result: 
> "\"message://[email protected]::split::Re: De 
> passage \210 San 
> Jose\nmessage://[email protected]::split::Re: De 
> passage \210 San Jose\""
> 
> Does it work on your machine with several messages selected?


Yes, it works correctly, as in the following links to this mail thread:


[[message://[email protected]][Re: {O} PATCH: Fix malformed 
"message" links produced by org-mac-link.el]]
[[message://[email protected]][Re: {O} PATCH: Fix malformed "message" 
links produced by org-mac-link.el]]


Not sure how to proceed, then…

-Steve

Reply via email to