From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ed Hirgelt Subject: Problem with org-mac-message.el Date: Wed, 1 Apr 2009 15:21:33 -0500 Message-ID: Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lp6wQ-0001FD-Kc for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 16:21:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lp6wM-0001EY-63 for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 16:21:42 -0400 Received: from [199.232.76.173] (port=51155 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lp6wL-0001EV-Vx for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 16:21:38 -0400 Received: from rv-out-0708.google.com ([209.85.198.240]:10900) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lp6wL-0007W3-LI for emacs-orgmode@gnu.org; Wed, 01 Apr 2009 16:21:37 -0400 Received: by rv-out-0708.google.com with SMTP id f25so248998rvb.6 for ; Wed, 01 Apr 2009 13:21:36 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode emacs-orgmode I've found that org-mac-message-get-link has a problem inserting [["]] as the first item. The following change makes it better... diff --git a/lisp/org-mac-message.el b/lisp/org-mac-message.el index 4e10062..e8697c4 100644 --- a/lisp/org-mac-message.el +++ b/lisp/org-mac-message.el @@ -119,7 +119,7 @@ active mail in AppleMail and make a link out of it." (setq split-link (split-string (pop link-list) "::split::")) (setq URL (car split-link)) (setq description (cadr split-link)) - (if (not (string= URL "")) + (if (not (string= URL "\"")) (progn (setq orglink (org-make-link-string URL description)) (push orglink orglink-list))))) Thanks, Ed