From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McLean Subject: Re: using %(sexp) in capture templates Date: Sun, 13 Oct 2013 10:16:50 -0400 Message-ID: <0D17BE5D-4F07-4325-9902-8F04C3C02255@pobox.com> References: <5CA12BD7-331F-42C0-9F2E-59B7E381B286@pobox.com> <8E522C56-8A36-4726-B928-2E86B305E5F2@pobox.com> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_2E0D6DAA-FD0F-4A13-BF3F-A115EF6E4BC4" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVMTc-00083k-Jj for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 10:17:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVMTV-0007Zx-CI for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 10:17:00 -0400 Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:62692 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVMTV-0007Zo-84 for emacs-orgmode@gnu.org; Sun, 13 Oct 2013 10:16:53 -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: Manish Cc: Org-Mode --Apple-Mail=_2E0D6DAA-FD0F-4A13-BF3F-A115EF6E4BC4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On Oct 12, 2013, at 5:54 PM, Manish = wrote: >=20 >=20 > i'll look into rebuilding outlook profiles and spotlight indexes. > meanwhile, following has worked consistently for me: >=20 > #+begin_src emacs-lisp > (defun org-mac-outlook-message-open (msgid) > "open a message in outlook" > (do-applescript > (concat > "tell application \"Microsoft Outlook\"\n" > (format "open message id %s\n" msgid) > "activate\n" > "end tell"))) > #+end_src >=20 > cheers! > --manish >=20 And I just submitted a patch that changes to Outlook message open to use = Applescript as your code does.= --Apple-Mail=_2E0D6DAA-FD0F-4A13-BF3F-A115EF6E4BC4 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=iso-8859-1
On Oct 12, 2013, at 5:54 PM, Manish <mailtomanish.sharma@gmail.com> wrote:



i'll look into rebuilding outlook profiles and spotlight indexes.
meanwhile, following has worked consistently for me:

#+begin_src emacs-lisp
(defun org-mac-outlook-message-open (msgid)
  "open a message in outlook"
  (do-applescript
   (concat
    "tell application \"Microsoft Outlook\"\n"
     (format "open message id %s\n" msgid)
     "activate\n"
     "end tell")))
#+end_src

cheers!
--manish


And I just submitted a patch that changes to Outlook message open to use Applescript as your code does.
--Apple-Mail=_2E0D6DAA-FD0F-4A13-BF3F-A115EF6E4BC4--