unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "T. V. Raman" <raman@users.sf.net>
To: angeli@caeruleus.net
Cc: raman@users.sf.net, emacs-devel@gnu.org
Subject: Re: font-lock-fontify-syntactically-region: could someone check?
Date: Sun, 25 Feb 2007 10:25:33 -0800	[thread overview]
Message-ID: <17889.54429.786661.330346@gargle.gargle.HOWL> (raw)
In-Reply-To: <87slcupt71.fsf@neutrino.caeruleus.net>


I'm using the version out of the Emacspeak svn repository --- and
the buggy regexp-opt was nuked a long time ago:-)

Incidentally the bug doesn't manifest itself in anything but the
tex derived modes, so I'm suspecting  there is bad interaction
between the tex-specific syntatic fontifier and emacspeak; the
bug does not happen in any of the other modes e.g. lisp, python,
perl, or c (or their derivatives).

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 Angeli <angeli@caeruleus.net> writes:
    Ralf> * T. V. Raman (2007-02-25) writes:
    >> Could someone try the following test for me:
    >> 
    >> Create a file foo.tex with something like the following:
    >> 
    >> %this is a comment This is not a comment
    >> 
    >> and see if the second line (which is not a comment) gets
    >> fontified as a comment?
    Ralf> 
    Ralf> With `emacs -Q' this is working correctly.
    Ralf> 
    >> It's somewhat difficult for me to check this without
    >> emacspeak loaded, since I'm basically dead in the water if
    >> emacspeak isn't loaded.
    Ralf> 
    Ralf> What version of emacspeak are you using?  Older
    Ralf> versions included a buggy version of `regexp-opt'.
    Ralf> 
    Ralf> -- Ralf

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

  reply	other threads:[~2007-02-25 18:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-25  3:39 font-lock-fontify-syntactically-region: could someone check? T. V. Raman
2007-02-25  3:59 ` Miles Bader
2007-02-25  7:55 ` Ralf Angeli
2007-02-25 18:25   ` T. V. Raman [this message]
2007-02-25 19:15     ` Ralf Angeli
2007-02-25 21:27       ` T. V. Raman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17889.54429.786661.330346@gargle.gargle.HOWL \
    --to=raman@users.sf.net \
    --cc=angeli@caeruleus.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).