[Python-mode] Python mode decorators-face

David Miller david at deadpansincerity.com
Mon Mar 28 16:41:28 CEST 2011


Hi -

I frequently use decorators from libraries named like:

@patch.object(Foo, 'bar')
def func(arg):
    # etc

The regex for py-decorators-face only matches the patch section, leaving the
object part set to the default face ( M-x describe-face => Face: default)

To my eye this looks like the wrong highlighting, was wondering if this was
considered a feature or a bug :)

The alteration to the regex is dead simple, was wondering if I should go
through the launchpad bug-report - patch cycle or just continue to override
it my end?

Love regards etc

David Miller
http://www.deadpansincerity.com
07854 880 883
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-mode/attachments/20110328/bca17c86/attachment.html>


More information about the Python-mode mailing list