From: Thomas Riccardi <riccardi.thomas@gmail.com>
To: 6853@debbugs.gnu.org
Subject: bug#6853: 24.0.50; python mode coloring broke
Date: Sat, 14 Aug 2010 01:05:48 +0200 [thread overview]
Message-ID: <1281740748.5720.76.camel@kiwi-pc2> (raw)
[-- Attachment #1: Type: text/plain, Size: 358 bytes --]
emacs trunk revno: 101071
How to reproduce:
1/ emacs -Q test.py
2/ coloring is wrong starting L96
The test.py file is joint to this email.
I tried to remove as many lines as possible:
If you remove any line above L25 from the test.py file, the bug
disappears...
If you add or remove lines below L25, the line where the bug starts will
still be L96.
[-- Attachment #2: test.py --]
[-- Type: text/x-python, Size: 1027 bytes --]
from core.url_open import URLOpen
from core.tesseract import Tesseract
CAPTCHACODE = "captchacode"
MEGAVAR = "megavar"
class CaptchaParser(HTMLParser):
""""""
def __init__(self, data):
""""""
HTMLParser.__init__(self)
self.located = False
self.captcha = None
self.captchacode = ""
self.megavar = ""
self.feed(data)
self.close()
def handle_starttag(self, tag, attrs):
""""""
if self.get_starttag_text() == '<TD width="100" align="center" height="40">':
elif tag == "img":
""""""
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
"test"
next reply other threads:[~2010-08-13 23:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-13 23:05 Thomas Riccardi [this message]
2012-06-18 23:06 ` bug#6853: 24.0.50; python mode coloring broke Glenn Morris
2012-06-23 21:58 ` Thomas Riccardi
2012-06-24 23:39 ` Glenn Morris
2012-09-24 18:44 ` bug#6853: python font-lock and empty triple-quoted strings Fabián Ezequiel Gallina
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1281740748.5720.76.camel@kiwi-pc2 \
--to=riccardi.thomas@gmail.com \
--cc=6853@debbugs.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.