From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McLean Subject: Re: Fwd: Patch - Org Mac Outlook - Fix Call to Outlook in some cases Date: Tue, 9 Jun 2015 16:20:30 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11c2e64ca009a805181b7e68 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2Q14-0007Tj-Qr for emacs-orgmode@gnu.org; Tue, 09 Jun 2015 16:21:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2Q0z-00071T-QX for emacs-orgmode@gnu.org; Tue, 09 Jun 2015 16:20:58 -0400 Received: from pb-sasl1.int.icgroup.com ([208.72.237.25]:61070 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2Q0z-00071P-L1 for emacs-orgmode@gnu.org; Tue, 09 Jun 2015 16:20:53 -0400 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 2598F552DA for ; Tue, 9 Jun 2015 16:20:52 -0400 (EDT) Received: from pb-sasl1.int.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 1FB3A552D9 for ; Tue, 9 Jun 2015 16:20:52 -0400 (EDT) Received: from mail-oi0-f48.google.com (unknown [209.85.218.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id A7A36552D8 for ; Tue, 9 Jun 2015 16:20:51 -0400 (EDT) Received: by oigz2 with SMTP id z2so18983047oig.1 for ; Tue, 09 Jun 2015 13:20:51 -0700 (PDT) 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 --001a11c2e64ca009a805181b7e68 Content-Type: multipart/alternative; boundary=001a11c2e64ca009a305181b7e66 --001a11c2e64ca009a305181b7e66 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Here is a version of the patch with a (hopefully) correct Changelog format [image: --] Mike McLean [image: https://]about.me/mikemclean On Thu, Apr 9, 2015 at 5:27 PM, Mike McLean wrote: > @Rasmus - I created the first version of Org Mac Outlook and at the time > didn't have an active virtual running so didn't notice the difference. > > Commit ff771c5c7eab5c4d4a60e9f1270319758961338d > Author: Mike McLean > AuthorDate: Sat Sep 7 16:29:40 2013 -0400 > Commit: Carsten Dominik > CommitDate: Sun Sep 8 07:56:30 2013 +0200 > > Add Microsoft Outlook Support to org-mac-link > > @Alan - It does make a different if you have "Microsoft Outlook" as a > shortcut into a Windows virtual that has been exported/exposed to the Mac > OS via something like the Parallels =E2=80=9CWindows apps added to Launch= pad=E2=80=9D > feature. =E2=80=9CMicrosoft Outlook=E2=80=9D may try to launch the Window= s Virtual > =E2=80=9CMicrosoft Outlook.app=E2=80=9D will force the OS X native versio= n. > > > > On Thu, Apr 9, 2015 at 1:11 PM, Alan Schmitt < > alan.schmitt@polytechnique.org> wrote: > >> On 2015-04-09 15:59, Mike McLean writes: >> >> > Hello - I just noticed that this patch does not seem to have been >> applied. Is >> > there a problem with it? >> >> I'd be happy to apply it. I have a question about it: >> >> > The AppleScript commands may try to select the WinTel version of >> "Microsoft >> > Outlook". This=E2=80=94obviously=E2=80=94doesn=E2=80=99t work. By addi= ng the Mac ~.app~ file >> > extension, we reduce this confusion and more reliably call the Macinto= sh >> > version of Outlook. >> >> I tried this AppleScript >> #+begin_src applescript >> tell application "Mail.app" >> activate >> end tell >> #+end_src >> >> and as I ran it it got normalized to >> #+begin_src applescript >> tell application "Mail" >> activate >> end tell >> #+end_src >> >> Does the ".app" suffix really make a difference? >> >> Best, >> >> Alan >> >> -- >> OpenPGP Key ID : 040D0A3B4ED2E5C7 >> > > --001a11c2e64ca009a305181b7e66 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Here is a version of the patch with a (hopefully) correct = Changelog format



= <= tbody style=3D"margin:0px;padding:0px;border:0px;outline:0px;font-weight:in= herit;font-style:inherit;font-family:inherit;vertical-align:baseline">
=C2=A0
=C2=A0
<= /div>

On Thu, Apr 9, 2015 at 5:27 PM, Mike McLean = <mike.mclean@pobox.com> wrote:
@Rasmus - I created the first version of Org Mac = Outlook and at the time didn't have an active virtual running so didn&#= 39;t notice the difference.

Commit ff771c5c7ea= b5c4d4a60e9f1270319758961338d
Author: =C2=A0 =C2=A0 Mike McLean &= lt;mike.mclean@p= obox.com>
AuthorDate: Sat Sep 7 16:29:40 2013 -0400
<= div>Commit: =C2=A0 =C2=A0 Carsten Dominik <carsten.dominik@gmail.com>
CommitDate: Sun Sep 8 07:56:30 2013 +0200

=C2= =A0 =C2=A0 Add Microsoft Outlook Support to org-mac-link
<= div>
@Alan - It does make a different if you have "Micro= soft Outlook" as a shortcut into a Windows virtual that has been expor= ted/exposed to the Mac OS via something like the Parallels =E2=80=9CWindows= apps added to Launchpad=E2=80=9D feature. =E2=80=9CMicrosoft Outlook=E2=80= =9D may try to launch the Windows Virtual =E2=80=9CMicrosoft Outlook.app=E2= =80=9D will force the OS X native version.



On Thu, Apr 9, 2015 at 1:11 PM, Alan Schmit= t <alan.schmitt@polytechnique.org> wrote:
On 2015-04-09 15:59, Mike McLean <mike.mclean@pobox.c= om> writes:

> Hello - I just noticed that this patch does not seem to have been appl= ied. Is
> there a problem with it?

I'd be happy to apply it. I have a question about it:

> The AppleScript commands may try to select the WinTel version of "= ;Microsoft
> Outlook". This=E2=80=94obviously=E2=80=94doesn=E2=80=99t work. By= adding the Mac ~.app~ file
> extension, we reduce this confusion and more reliably call the Macinto= sh
> version of Outlook.

I tried this AppleScript
#+begin_src applescript
tell application "Mail.app"
=C2=A0 activate
end tell
#+end_src

and as I ran it it got normalized to
#+begin_src applescript
tell application "Mail"
=C2=A0 activate
end tell
#+end_src

Does the ".app" suffix really make a difference?

Best,

Alan

--
OpenPGP Key ID : 040D0A3B4ED2E5C7


--001a11c2e64ca009a305181b7e66-- --001a11c2e64ca009a805181b7e68 Content-Type: application/octet-stream; name="0001-org-mac-link.el-Reduce-Outlook-App-confusion.patch" Content-Disposition: attachment; filename="0001-org-mac-link.el-Reduce-Outlook-App-confusion.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iapruij30 RnJvbSA3MDZiZDY3ZTRjZmEyMjQyODkyZWJkYzhhMDZmOGE0NGU5YjllMDA2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBNaWtlIE1jTGVhbiA8bWlrZS5tY2xlYW5AcG9ib3guY29tPgpE YXRlOiBUdWUsIDkgSnVuIDIwMTUgMTY6MDk6MzUgLTA0MDAKU3ViamVjdDogW1BBVENIXSBvcmct bWFjLWxpbmsuZWw6IFJlZHVjZSBPdXRsb29rIEFwcCBjb25mdXNpb24KTUlNRS1WZXJzaW9uOiAx LjAKQ29udGVudC1UeXBlOiB0ZXh0L3BsYWluOyBjaGFyc2V0PVVURi04CkNvbnRlbnQtVHJhbnNm ZXItRW5jb2Rpbmc6IDhiaXQKCiogb3JnLW1hYy1saW5rLmVsIChvcmctbWFjLW91dGxvb2stbWVz c2FnZS1vcGVuLCBvcmctYXMtZ2V0LXNlbGVjdGVkLW91dGxvb2stbWFpbCk6IFNwZWNpZnkgTWlj cm9zb2Z0IE91dGxvb2suYXBwIG5vbi1hbWJpZ3VvdXNseQoKSWYgdGhlIHVzZXIgaGFzOgotIGEg dmlydHVhbCBzb2x1dGlvbiAoUGFyYWxsZWxzLCBldGMuKQotIHdpdGggT2ZmaWNlIGZvciBQQyBp bnN0YWxsZWQKLSBhbmQgY29uZmlndXJlZCB0byBleHBvc2UgV2luVGVsI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