[Python-mode] Underscore syntax class

2007-05-02 Thread Ian Zimmerman
This has the feel of a faq. Forgive, I am a python newbie, and this issue, as strange as it may seem to you, could stop me from studying python further. >From python-mode.el: ;; For historical reasons, underscore is word class instead of ;; symbol class. GNU conventions say it should be sy

Re: [Python-mode] Underscore syntax class

2007-05-02 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Apr 26, 2007, at 11:46 PM, Ian Zimmerman wrote: > This has the feel of a faq. If there was a FAQ, it would be. ;) > Forgive, I am a python newbie, and this > issue, as strange as it may seem to you, could stop me from studying > python further.

Re: [Python-mode] Underscore syntax class

2007-05-02 Thread Tom Tromey
> "Ian" == Ian Zimmerman <[EMAIL PROTECTED]> writes: Ian> (re-search-backward "\") Ian> (with-syntax-table internal-python-syntax-table Ian> (re-search-backward "\)) FWIW in Emacs 22 you can use (re-search-backward "\\_"). >From NEWS: *** New regular expression operators, `\_<'

Re: [Python-mode] Underscore syntax class

2007-05-02 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ian, On May 2, 2007, at 10:57 AM, Ian Zimmerman wrote: > Barry> A question, are you an FSF Emacs user or a XEmacs user? I ask > Barry> because my understanding is that FSF Emacs has its own > Barry> python-mode these days that's different than ou