Re: [Python-mode] Underscore syntax class

2007-05-09 Thread Ian Zimmerman
Barry> My suggestion would be to try rebinding it. It seems like you Barry> know enough about how to do that and what to look for in Barry> breakage, and probably also how to fix such breakage. Speaking Barry> solely for myself, I think we would accept patches that allowed Barry> python-mode to

Re: [Python-mode] Underscore syntax class

2007-05-09 Thread Ian Zimmerman
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 ours. I think most Barry> of the devs on this list use XEmacs, though of course we want it Barry> to be FSF Emacs

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

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 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.

[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