[Python-mode] evil underscore as word
Ben Wing
ben at 666.com
Thu Dec 8 07:37:14 CET 2005
Barry Warsaw wrote:
>On Tue, 2005-12-06 at 12:34 -0600, skip at pobox.com wrote:
>
>
>> Barry> From my python-mode-hook:
>>
>> Barry> (define-key py-mode-map [(meta f)] 'py-forward-into-nomenclature)
>> Barry> (define-key py-mode-map [(meta b)] 'py-backward-into-nomenclature))
>>
>>So maybe we can solve this in python-mode.el. Leave the syntax category for
>>"_" alone and add (yet another) flag that rebinds M-f and M-b accordingly.
>>
>>
>
>Yah, that'd be fine.
>-Barry
>
>
>
this wouldn't work for me; it's M-backspace that's driving me crazy.
btw i imagine it wouldn't be too hard to find the places that might
depend on this syntax category; they would primarily be regexps
involving \\S, \\s, \\<, \\>, or \\b, and a few others like
forward/backward-word.
More information about the Python-mode
mailing list