Hi there,

sorry to bring this up once again. I think, it exists as a bug-report
somewhere, but I'm not sure about it:

In 1.0.5.10, the automatic quotes still use a bad algorithm that gets in
the way quite often: It works fine when typing down a whole paragraph,
but when you edit inside a paragraph later to add quotes, the algorithm
does bogus: it seems to check for the character at the end of the
paragraph instead of the actual cursor position.

A better algorithm (I believe, this is, what is used in most
text-processors as well) would be to just check the one character
preceding the inserted quote. Is it one of (<whitespace>,
<paragraph-beginning>, "(", "[", "{"), you should get opening quotes,
otherwise closing quotes.

Furthermore, automatic quotes should be deactivated inside verbatim
environments and there should be a \" key-sequence to produce a regular
(ascii) quote.

Sorry, I would have liked to send a patch for this, but when I tried, I
found that it would have needed more knowledge about the internals of
TeXmacs than I have at the moment.

Greetings,
Norbert


_______________________________________________
Texmacs-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to