emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] ox-html, top-row-p


From: Nicolas Goaziou
Subject: Re: [O] ox-html, top-row-p
Date: Mon, 14 Dec 2015 23:49:09 +0100

Hello,

Fabrice Popineau <address@hidden> writes:

> So the problem is due to lexical binding (I am using emacs 25 devel branch).
> The following variables can't be dynamically bound anymore in ox-html:
> row-number, rowgroup-number, start-rowgroup-p, end-rowgroup-p,
> top-row-p, bottom-row-p
> .
> There are 2 options :
> - declare them with defvar
> - pass them to eval as an environment.
> Here is a patch for the second option, but I wonder if the first one
> wouldn't be better.

Another option would be to remove that ugly `eval' hack altogether, and
instead use a function returning a string, called with 6 arguments (or
with 3 arguments: row-number, rowgroup-number, and list of symbols among
`top', `bottom', `start' and `end').

WDYT?

-- 
Nicolas Goaziou



reply via email to

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