emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Ongaro <david.ongaro@hamburg.de>
To: emacs-orgmode@gnu.org
Subject: Re: A gentle introduction to Emacs & Org-mode?
Date: Tue, 12 Aug 2014 19:34:19 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140812T212533-464@post.gmane.org> (raw)
In-Reply-To: 85tx5z6gsp.fsf@andrew.cmu.edu

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

  reply	other threads:[~2014-08-12 19:55 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 [this message]
2014-08-12 20:18           ` Nick Dokos
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=loom.20140812T212533-464@post.gmane.org \
    --to=david.ongaro@hamburg.de \
    --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).