[Python-mode] [ python-mode-Bugs-963247 ] Triple-quoted string font-lock problem

SourceForge.net noreply at sourceforge.net
Wed Jul 14 18:32:06 CEST 2004


Bugs item #963247, was opened at 2004-05-30 15:57
Message generated for change (Comment added) made by bwarsaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=581349&aid=963247&group_id=86916

Category: None
Group: None
Status: Open
>Resolution: Wont Fix
Priority: 5
Submitted By: James B. Reese (jreese99)
Assigned to: Nobody/Anonymous (nobody)
Summary: Triple-quoted string font-lock problem

Initial Comment:
Font-lock in xemacs is not displaying triple-quoted strings correctly. 
For example:

"""
This is "a test" string
on multiple lines.
"""

The phrases "This is " and " string on multiple lines." are formatted 
as strings, but "a test" is not formatted as a string.

It appears that the triple quote is being treated as three 
individual quotation marks instead of as a single entity.

A fix for this will be greatly appreciated. I *love* python-mode.el!

----------------------------------------------------------------------

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2004-07-14 12:32

Message:
Logged In: YES 
user_id=12800

This is not something python-mode can realistically address.
 As you properly guess, because of limitations in Emacs'
(and XEmacs') built-in syntax table implementation,
python-mode has no choice but to treat triple quoted strings
as three separate entities.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=581349&aid=963247&group_id=86916


More information about the Python-mode mailing list