29Jul/110
Tip for python-mode with Emacs
If you expect 'Alt + d' wil only remove the first part 'foo_' of 'foo_bar' with the great python-mode, you can make this change to python-mode.el:
- (modify-syntax-entry ?\_ "w" py-mode-syntax-table)
+ (modify-syntax-entry ?\_ "_" py-mode-syntax-table)
Thank you Ivan.
Update with python-mode v6.0.4, add this line to python-mode-syntax-table (line 153):
(modify-syntax-entry ?\_ "_" table)