[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Fxporting a new markup

From: Charles C. Berry
Subject: Re: [O] Fxporting a new markup
Date: Sat, 9 Apr 2016 09:40:39 -0700
User-agent: Alpine 2.20 (OSX 67 2015-01-07)

On Sat, 9 Apr 2016, address@hidden 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:

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 <address@hidden>
  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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]