emacs question: removing "self" keyword in python-mode

Evan Klitzke evan at eklitzke.org
Thu Apr 9 05:09:09 UTC 2009


I know, this is an emacs question and not a fedora question per se. But
I've asked my question on the emacs help news group without a response,
and I know there are some emacs users lurking around these parts, so I
thought I'd try here :-)

My question is stated previously at:
http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/785fb0e6542eda80/1ad000e4fa700e1e

Basically, emacs uses a big complex regular expression to figure out
what words to highlight in different modes. There seems to be a command
font-lock-remove-keyword that can be used to safely edit the regular
expression and remove a keyword from it; but the documentation is pretty
vague, and the source code for the function is way over my head.

Thanks for any help!

-- 
Evan Klitzke <evan at eklitzke.org>




More information about the fedora-list mailing list