OK, so I will try to summarize the recent discussion about how to handle smart quotes:
(1) the remapping of the straight quote to a smart quote should be done at the point of input and stored in the document. (2) the remapping needs to be reversible by simple undo, i.e., ctrl+z. (3) the remapping needs to be language specific (4) we should strive for a powerful, simple to use interface along the lines described in http://bugzilla.abisource.com/show_bug.cgi?id=3891 (5) The "hard" remapping should be accompanied by a smart soft- remapping for non-existent glyphs that should also allow to distinguish the real and the remapped glyphs on the screen if "Show Para" is on. (6) One of the main causes of the current problems is the disjointed, distributed nature of the smart quotes code. We need to extricate the existing code from all over the place and centralize it, i.e., we should design a class for handling smart quotes. I think these are the main points; I am currently looking into (5), and I will comment out the smart quotes processing in the shaping engine. Tomas
