[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adjust point to move it off zero-width characters
From: |
Stefan Monnier |
Subject: |
Re: Adjust point to move it off zero-width characters |
Date: |
Mon, 08 Aug 2011 00:12:54 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> That was my impression as well: the fusing should not always be done
>> in the same direction. I'd still like to hear your reasoning about
>> why it only depends on the particular zero-width char and not on the
>> surrounding context.
> I explained that, for the directional control characters: the need to
> be able to interactively copy/paste text and be sure it displays the
> same. The directional controls affect the _following_ characters. If
> we "fuse" LRM/RLM/LRO/RLO/LRE/RLE with the previous character, they
> can only be copy/pasted with the text that precedes them, where they
> have no effect whatsoever. That's why PDF is different: it affects
> the characters that precede it.
Ah, so they're kind of like combining characters. Good.
In that case I think hardcoding PDF in the code is perfectly acceptable,
with a commend explaining what's going on.
Stefan