From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Purcell Subject: Re: PATCH: Fix malformed "message" links produced by org-mac-link.el Date: Wed, 24 Sep 2014 20:56:22 +0100 Message-ID: References: <35ACE9A2-E7B9-41DC-A748-13022BC1FABC@sanityinc.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWsg1-0001PZ-60 for emacs-orgmode@gnu.org; Wed, 24 Sep 2014 15:56:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWsfv-0001zr-4a for emacs-orgmode@gnu.org; Wed, 24 Sep 2014 15:56:37 -0400 Received: from h1189701.stratoserver.net ([85.214.32.38]:49636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWsfu-0001zB-V7 for emacs-orgmode@gnu.org; Wed, 24 Sep 2014 15:56:31 -0400 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 On 24 Sep 2014, at 20:01, Alan Schmitt = wrote: > This was the case here: the string returned by the AppleScript had > quotes (and it still does). >=20 > For instance, with the message you mention, the call to > org-as-get-selected-mail returns this (doing a debug): >=20 > Result: "\"message://2.b2af716655bbac583727@NY-WEB01::split::Private = beta invitation for Emacs Q&A site - Area 51 - Stack Exchange\=94=94 I definitely don=92t 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: >=20 > [[message://9670A832-D0B3-46A8-96BF-05C30D85085D@gmail.com][Re: De = passage =88 San Jose"]] > [["message://4B980C40-DB9A-47A7-95A7-17BB8CF8167F@gmail.com][Re: De = passage =88 San Jose]] >=20 > The string returned by the AppleScript was this: >=20 > Result: = "\"message://4B980C40-DB9A-47A7-95A7-17BB8CF8167F@gmail.com::split::Re: = De passage \210 San = Jose\nmessage://9670A832-D0B3-46A8-96BF-05C30D85085D@gmail.com::split::Re:= De passage \210 San Jose\"" >=20 > Does it work on your machine with several messages selected? Yes, it works correctly, as in the following links to this mail thread: [[message://m2h9zwzvuz.fsf@polytechnique.org][Re: {O} PATCH: Fix = malformed "message" links produced by org-mac-link.el]] [[message://m28ul9vxnr.fsf@top.irisa.fr][Re: {O} PATCH: Fix malformed = "message" links produced by org-mac-link.el]] Not sure how to proceed, then=85 -Steve=