From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: A gentle introduction to Emacs & Org-mode?
Date: Tue, 12 Aug 2014 16:18:17 -0400 [thread overview]
Message-ID: <87ppg5h37a.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: loom.20140812T212533-464@post.gmane.org
David Ongaro <david.ongaro@hamburg.de> writes:
> John Kitchin <jkitchin <at> andrew.cmu.edu> writes:
>
>> jorge.a.alfaro <at> gmail.com (Jorge A. Alfaro-Murillo) writes:
>>
>> thanks for point that out, I have fixed them now I think. That must be
>> from some link escaping in the translation of org to html I guess.
>
> No, the problem happens during org-insert-link, so even before
> it's exported anywhere. I had to patch my org.el to fix the
> org-link-escape-chars variable. Maybe it should be fixed in the
> standard distribution, because its a really annoying and
> unexpected behaviour.
>
> Regards,
>
> David
>
>
> diff --git a/lisp/org.el b/lisp/org.el
> index 3e83043..3bca94a 100644
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -9777,8 +9777,8 @@ according to FMT
> "]"))
>
> (defconst org-link-escape-chars
> - ;;%20 %2B %3B %3D %5B %5D
> - '(?\ ?\+ ?\; ?\= ?\[ ?\])
> + ;;%20 %2B %3B %5B %5Dnn
> + '(?\ ?\+ ?\; ?\[ ?\])
> "List of characters that should be escaped in link.
> This is the list that is used for internal purposes.")
That has already happened: on the master branch, org-link-escape-chars
is (see commit abe931dca9c4c634fe9495eff7579ca952eb8b98):
,----
| (defconst org-link-escape-chars
| ;;%20 %5B %5D
| '(?\ ?\[ ?\])
| "List of characters that should be escaped in a link when stored to Org.
| This is the list that is used for internal purposes.")
`----
It's going to be visible in the next release.
Nick
next prev parent reply other threads:[~2014-08-12 20:18 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-23 21:20 A gentle introduction to Emacs & Org-mode? Marcin Borkowski
2014-07-23 22:00 ` Thorsten Jolitz
2014-07-24 15:50 ` SabreWolfy
2014-07-23 22:07 ` Leonard Avery Randall
2014-07-23 23:06 ` John Hendy
2014-07-24 19:17 ` Manish
2014-07-26 1:58 ` Steven Arntson
2014-07-27 12:03 ` Bastien
2014-07-29 2:03 ` John Kitchin
2014-07-29 13:22 ` Jorge A. Alfaro-Murillo
2014-07-29 20:39 ` John Kitchin
2014-08-12 19:34 ` David Ongaro
2014-08-12 20:18 ` Nick Dokos [this message]
2014-08-13 11:35 ` Marcin Borkowski
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=87ppg5h37a.fsf@alphaville.bos.redhat.com \
--to=ndokos@gmail.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).