From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Fxporting a new markup Date: Sat, 9 Apr 2016 09:40:39 -0700 Message-ID: References: <1460201066.5708e66ad5db5@imp.free.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="0-1350976597-1460220039=:711" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aovwL-0001GT-CU for emacs-orgmode@gnu.org; Sat, 09 Apr 2016 12:40:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aovwG-0003YQ-CW for emacs-orgmode@gnu.org; Sat, 09 Apr 2016 12:40:53 -0400 Received: from iport-acv4-out.ucsd.edu ([132.239.0.7]:25693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aovwG-0003YJ-3e for emacs-orgmode@gnu.org; Sat, 09 Apr 2016 12:40:48 -0400 In-Reply-To: <1460201066.5708e66ad5db5@imp.free.fr> 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: fredtantini@free.fr Cc: "emacs-orgmode@gnu.org" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1350976597-1460220039=:711 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT On Sat, 9 Apr 2016, fredtantini@free.fr wrote: > Hi everyone, > > I need your help. > > Prior to version 8.3.* I used a custom marker (‰) to export keyboard > shortcut in html (that is to kbd tags). What I have done is, in ox-org.el or > org-element.el, every time there was a function with "bold" or "code", > I copied/pasted the function and modified it to meet my needs. > For instance, I have created a =org-element-my-object-keystroke-interpreter= > function, or override the =org-element-object-successor-alist= const. > > I have detailed what I have done in this emacs.stackexchange answer: > http://emacs.stackexchange.com/questions/12814/extending-org-mode-with-more-markups/12822#12822 > > My setup works great with org versions ≤8.2.10, but with 8.3.1 (to 8.3.4), > it doesn't do the job… I have tried to edebug, and looked at commits, but > I can't pinpoint what's the problem. The Release notes doesn't seem either to > indicate that there was a change between the versions that could broke my > workflow :( > > What have I missed? There is no `org-element-object-successor-alist'. You need to look two years back in the commits: bash-3.2$ git log -Sorg-element-object-successor commit b5dd32c7e49f3125e5541e85197b8e83e34739a6 Author: Nicolas Goaziou Date: Thu Mar 27 00:04:04 2014 +0100 org-element: Rewrite object parsing algorithm * lisp/org-element.el (org-element-all-successors, org-element-object-successor-alist): Remove variables. [...] HTH, Chuck --0-1350976597-1460220039=:711--