fixed the bug -- thanks! Emacspeak Users: tex-mode and derivatives should now behave correctly. Many many years ago, I had added a text-mode-hook in emacspeak that treated newlines as whitespace --- this was to avoid clause boundaries at each line when speaking a buffer; that ends up interacting badly with font-lock because the newline then no longer counts as the end of a comment. I've checked in the fix; make sure after loading the updated version that you've not inadvertantly saved text-mode-hook via custom -- if you have you will need to M-x customize-variable text-mode-hook and remote the function there that modifies the syntax entry for newline (ascii 10). >>>>> "Ralf" == Ralf Angeli <angeli@xxxxxxxxxxx> writes: Ralf> * T. V. Raman (2007-02-25) writes: >> I stepped through the code with debug-on-entry but got >> very confused by the complexity in font-lock --- so I'm >> still at a loss. >> >> The bug shows up in vanilla tex-mode (i.e. the one that >> ships with emacs 22), texinfo-mode -- as well as all modes >> provided by auctex. (from comments in the auctex code, it >> looks like the cloned and later adopted the syntactic >> fontifier from tex-mode.el) Ralf> Ralf> emacspeak-advice.el contains the following code: Ralf> Ralf> (add-hook 'text-mode-hook (function (lambda () Ralf> (modify-syntax-entry 10 " ")))) Ralf> Ralf> In TeX-related modes a newline is considered the end of Ralf> a comment. The code above sets its syntax to Ralf> whitespace, though. Like this no comment end can be Ralf> found. Ralf> Ralf> -- Ralf -- Best Regards, --raman Email: raman@xxxxxxxxxxx WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@xxxxxxxxxxx PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs ----------------------------------------------------------------------------- To unsubscribe from the emacspeak list or change your address on the emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a subject of "unsubscribe" or "help"
If you have questions about this archive or had problems using it, please send mail to:
priestdo@xxxxxxxxxxx No Soliciting!Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998