emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Steve Purcell <steve@sanityinc.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: PATCH: Fix malformed "message" links produced by org-mac-link.el
Date: Thu, 25 Sep 2014 08:14:17 +0200	[thread overview]
Message-ID: <m2zjdoxm4m.fsf@polytechnique.org> (raw)
In-Reply-To: <E11F1254-FCAC-4BA7-8D4D-52B974E234D4@sanityinc.com> (Steve Purcell's message of "Wed, 24 Sep 2014 20:56:22 +0100")

[-- Attachment #1: Type: text/plain, Size: 954 bytes --]

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

> On 24 Sep 2014, at 20:01, Alan Schmitt <alan.schmitt@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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]

  reply	other threads:[~2014-09-25  6:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-24 10:39 PATCH: Fix malformed "message" links produced by org-mac-link.el Steve Purcell
2014-09-24 15:35 ` Alan Schmitt
2014-09-24 15:42   ` Steve Purcell
2014-09-24 19:01     ` Alan Schmitt
2014-09-24 19:56       ` Steve Purcell
2014-09-25  6:14         ` Alan Schmitt [this message]
2014-10-09 12:15           ` Alan Schmitt
2014-10-09 12:25             ` Steve Purcell
2014-10-09 13:18               ` Alan Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2zjdoxm4m.fsf@polytechnique.org \
    --to=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=steve@sanityinc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).