From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: A gentle introduction to Emacs & Org-mode? Date: Tue, 12 Aug 2014 16:18:17 -0400 Message-ID: <87ppg5h37a.fsf@alphaville.bos.redhat.com> References: <20140723232013.42690fcf@aga-netbook> <87lhrdflbk.fsf@bzg.ath.cx> <87lhrc710w.fsf@gmail.com> <85tx5z6gsp.fsf@andrew.cmu.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHIWu-0002fV-Bu for emacs-orgmode@gnu.org; Tue, 12 Aug 2014 16:18:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHIWp-00028N-4O for emacs-orgmode@gnu.org; Tue, 12 Aug 2014 16:18:48 -0400 Received: from plane.gmane.org ([80.91.229.3]:50617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHIWo-00027f-UO for emacs-orgmode@gnu.org; Tue, 12 Aug 2014 16:18:43 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XHIWf-0007XJ-9E for emacs-orgmode@gnu.org; Tue, 12 Aug 2014 22:18:33 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Aug 2014 22:18:33 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Aug 2014 22:18:33 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org David Ongaro writes: > John Kitchin andrew.cmu.edu> writes: > >> jorge.a.alfaro 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