emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mike McLean <mike.mclean@pobox.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Fwd: Patch - Org Mac Outlook - Fix Call to Outlook in some cases
Date: Thu, 9 Apr 2015 09:59:54 -0400	[thread overview]
Message-ID: <CANid5Q7XJCR_J8mn3pPTryGvFHYgD6AQEaFDKN0f9+gPEsJi+w@mail.gmail.com> (raw)
In-Reply-To: <CANid5Q6fan3aARZnaS0W8hvzMOYOuvpq6OKHDXCvDHn0R0WmgQ@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 773 bytes --]

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


---------- Forwarded message ----------
From: Mike McLean <mike.mclean@pobox.com>
Date: Sat, Dec 20, 2014 at 3:34 PM
Subject: Patch - Org Mac Outlook - Fix Call to Outlook in some cases
To: emacs-orgmode <emacs-orgmode@gnu.org>


If the user has:
- a virtual solution (Parallels, etc.)
- with Office for PC installed
- and configured to  expose WinTel applications to the Macintosh Finder

The AppleScript commands may try to select the WinTel version of "Microsoft
Outlook". This—obviously—doesn’t work. By adding the Mac ~.app~ file
extension, we reduce this confusion and more reliably call the Macintosh
version of Outlook.

TINYCHANGE

[-- Attachment #1.2: Type: text/html, Size: 1191 bytes --]

[-- Attachment #2: 0001-Reduce-confusion-around-Outlook-application.patch --]
[-- Type: application/octet-stream, Size: 1711 bytes --]

From 9e9b74a7352e49ce826153fa6859da3165cb5b9b Mon Sep 17 00:00:00 2001
From: Mike McLean <mike.mclean@pobox.com>
Date: Sat, 20 Dec 2014 15:22:13 -0500
Subject: [PATCH] Reduce confusion around Outlook application
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

If the user has:
- a virtual solution (Parallels, etc.)
- with Office for PC installed
- and configured to  expose WinTel applications to the Macintosh Finder

The AppleScript commands may try to select the WinTel version of
"Microsoft Outlook". This—obviously—doesn’t work. By adding the Mac
~.app~ file extension, we reduce this confusion and more reliably call
the Macintosh version of Outlook.

TINYCHANGE
---
 contrib/lisp/org-mac-link.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/lisp/org-mac-link.el b/contrib/lisp/org-mac-link.el
index e0636a5..fa2aa5b 100644
--- a/contrib/lisp/org-mac-link.el
+++ b/contrib/lisp/org-mac-link.el
@@ -580,7 +580,7 @@ The links are of the form <link>::split::<name>."
   "Open a message in Outlook"
   (do-applescript
    (concat
-    "tell application \"Microsoft Outlook\"\n"
+    "tell application \"Microsoft Outlook.app\"\n"
     (format "open message id %s\n" (substring-no-properties msgid))
     "activate\n"
     "end tell")))
@@ -589,7 +589,7 @@ The links are of the form <link>::split::<name>."
   "AppleScript to create links to selected messages in Microsoft Outlook.app."
   (do-applescript
    (concat
-    "tell application \"Microsoft Outlook\"\n"
+    "tell application \"Microsoft Outlook.app\"\n"
     "set msgCount to count current messages\n"
     "if (msgCount < 1) then\n"
     "return\n"
-- 
2.2.1


  reply	other threads:[~2015-04-09 14:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-20 20:34 Patch - Org Mac Outlook - Fix Call to Outlook in some cases Mike McLean
2015-04-09 13:59 ` Mike McLean [this message]
2015-04-09 14:17   ` Rasmus
2015-04-09 17:11   ` Fwd: " Alan Schmitt
2015-04-09 21:27     ` Mike McLean
2015-06-09 20:20       ` Mike McLean
2015-06-10  6:17         ` Alan Schmitt
2015-12-14 16:22           ` Mike McLean
2015-12-15 10:00             ` Alan Schmitt
2015-04-09 17:14   ` 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=CANid5Q7XJCR_J8mn3pPTryGvFHYgD6AQEaFDKN0f9+gPEsJi+w@mail.gmail.com \
    --to=mike.mclean@pobox.com \
    --cc=emacs-orgmode@gnu.org \
    /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).