-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 05.01.2011 19:45, schrieb Barry Warsaw:
> Thanks Andreas and Georg for your recent commits to python-mode.el.  I wonder
> if it isn't time to start thinking about an official release, probably of 5.2?
> Is there anything else anybody would like to get in, say over the next couple
> of days?  If not, I'd be happy to do a release on Friday, but wouldn't mind if
> someone else wanted to do it instead.

I have some more changes that I'd like to discuss before committing.  (These are
features in my patched version at bitbucket.org/birkenfeld/dotemacs).

Basically:

* a separate face for class names:  font-lock-type-face is meant for types in
  type declarations and therefore usually not a very noticeable face.  For
  example I like to have class names underlined, but having font-lock-type-face
  underlined looks very odd in c-mode.

* a separate face for exception classes: somewhat redundant, but looks nice.
  Both for builtin exceptions and any name after a raise or except.

* special locking for escape sequences and %-formatting codes in strings, like
  the equivalent feature in elisp-mode.

  (The code seems to have some issues with font-locking buffers, so I'd be
  glad for suggestions how to fix it.)

* no filling in code (that one is pretty simple, just remove the "fill-
  paragraph" in the last condition of py-fill-paragraph).

BTW, while looking at this, something is still not quite right with the parsing
of triple-quoted string literals... as can be witnessed when filling a TQS with
embedded SQS...

If I can figure out how to do it, I'll commit these changes separately to a
private branch on launchpad, so that they can be reviewed.

Georg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAk0k228ACgkQN9GcIYhpnLDI1gCgmu12TOxOMNI7Yy+C81kbvqjs
8UoAnA7eos3Tpm1YcRt5s7AJxPiN36iD
=kDPB
-----END PGP SIGNATURE-----
_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to