From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: [ANN] Changes to link syntax Date: Sun, 10 Mar 2019 18:19:24 +0100 Message-ID: <87sgvusl43.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h327D-0008O2-1a for emacs-orgmode@gnu.org; Sun, 10 Mar 2019 13:19:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h326k-0006zL-7W for emacs-orgmode@gnu.org; Sun, 10 Mar 2019 13:19:30 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:38927) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h326k-0006xJ-0c for emacs-orgmode@gnu.org; Sun, 10 Mar 2019 13:19:30 -0400 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 38EC0FF803 for ; Sun, 10 Mar 2019 17:19:24 +0000 (UTC) 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" To: Org Mode List Hello, I finally pushed changed about escape syntax in bracket links. Here is the excerpt from ORG-NEWS: Org used to percent-encode sensitive characters in the URI part of the bracket links. Now, escaping mechanism uses the usual backslash character, according to the following rules, applied in order: 1. All consecutive =\= characters at the end of the link must be escaped; 2. Any =]= character at the very end of the link must be escaped; 3. Any =]= character followed by either =[= or =]= must be escaped; 4. Other =]= and =\= characters need not be escaped. When in doubt, use the function ~org-link-escape~ in order to turn a link string into its properly escaped form. The old ~org-link-escape~ and ~org-link-unescape~ functions have been renamed into ~org-link-encode~ and ~org-link-decode~. I added a checker in "org-lint.el" to detect old percent-encoding escape syntax in links. Internally, I also moved all link related code from "org.el" to "ol.el", and renamed libraries defining a new link type with "ol-" prefix. (e.g. "org-bbdb.el" to "ol-bbdb.el"), much like "ox-" prefix. Feedback is welcome. Regards, -- Nicolas Goaziou