emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Christopher Suckling <suckling.list@googlemail.com>
Cc: emacs-orgmode emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Problem with org-mac-message.el
Date: Fri, 3 Apr 2009 18:58:17 +0200	[thread overview]
Message-ID: <A6BBFE99-E9F0-4F55-A1B6-EEE647173199@gmail.com> (raw)
In-Reply-To: <D628D0DF-A250-44CA-A680-42452046E57C@gmail.com>


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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-04-03 16:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-01 20:21 Ed Hirgelt
2009-04-03 14:49 ` Christopher Suckling
2009-04-03 16:58   ` Carsten Dominik [this message]
2009-04-04  7:18     ` Christopher Suckling
2009-04-04  8:25       ` Carsten Dominik
2009-04-04  8:52         ` Christopher Suckling
2009-04-04 10:33           ` Carsten Dominik
2009-04-05 21:43             ` Christopher Suckling
2009-04-06  4:44               ` Carsten Dominik

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=A6BBFE99-E9F0-4F55-A1B6-EEE647173199@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=suckling.list@googlemail.com \
    --subject='Re: Problem with org-mac-message.el' \
    /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

Code repositories for project(s) associated with this 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).