emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Problem with org-mac-message.el


From: Carsten Dominik
Subject: Re: [Orgmode] Problem with org-mac-message.el
Date: Fri, 3 Apr 2009 18:58:17 +0200


On Apr 3, 2009, at 4:49 PM, Christopher Suckling wrote:


On 1 Apr 2009, at 21:21, Ed Hirgelt wrote:

I've found that org-mac-message-get-link has a problem inserting [["]] as the first item.

I can't replicate this. Could you provide an example?

The following change makes it better...

Unfortunately, this change breaks the code for all other possibilities, and, if I understand the problem correctly, simply omits a link that begins [["

My beginner's elisp is rather clumsy; I'm going to attempt to tidy up the code anyway, so I'll be on the lookout for your difficulty whilst I do so.

I think I already fixed it.....

- Carsten


Best,

Christopher


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)))))




_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]