> "process_input_buffer" is indeed a bad idea for such a replacement. But it
> can be done while processing a node list: replace sequences of nodes (e.g.
> two hyphen nodes) by something else (an en-dash). That's basically how
> contextual ligatures are implemented (and even simple ligatures when
> luaotfload is in "node" mode, if I remember correctly), so it's no big deal.
But then things like -{-} won't work as in TeX.
...
Oh, I just found out that they already don't work as in TeX, and I guess it's
on purpose.
Patrick
(confused on the subject)