Re: [Python-mode] underscore syntax

2008-11-29 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Nov 29, 2008, at 2:10 PM, [EMAIL PROTECTED] wrote: From a comment in python-mode.el: ;; For historical reasons, underscore is word class instead of ;; symbol class. GNU conventions say it should be symbol class, but ;; there's a natural con

Re: [Python-mode] underscore syntax

2008-11-29 Thread skip
Diez> I don't think that's a python-mode issue - rather emacs behaves Diez> differently. Dunno how to change that though. Diez> My emacs doesn't stop at underscores. Regardless of Diez> python-mode-age. >From a comment in python-mode.el: ;; For historical reasons, underscore i

Re: [Python-mode] underscore syntax

2008-11-29 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Nov 29, 2008, at 12:51 PM, Jeff Bauer wrote: Diez B. Roggisch wrote: Jeff Bauer schrieb: Did the behavior python-mode change with respect to the syntax of vars_with_underscores? Keying M-f or M-b now stops the cursor at the underscores rather

Re: [Python-mode] underscore syntax

2008-11-29 Thread Jeff Bauer
Diez B. Roggisch wrote: Jeff Bauer schrieb: Did the behavior python-mode change with respect to the syntax of vars_with_underscores? Keying M-f or M-b now stops the cursor at the underscores rather than grabbing the entire variable. Prior, in GNU Emacs 21.4, the behavior worked as I expected.

Re: [Python-mode] underscore syntax

2008-11-29 Thread Diez B. Roggisch
Jeff Bauer schrieb: Did the behavior python-mode change with respect to the syntax of vars_with_underscores? Keying M-f or M-b now stops the cursor at the underscores rather than grabbing the entire variable. Prior, in GNU Emacs 21.4, the behavior worked as I expected. I don't think that's a

Re: [Python-mode] underscore syntax

2008-11-29 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Nov 28, 2008, at 9:51 PM, Jeff Bauer wrote: Did the behavior python-mode change with respect to the syntax of vars_with_underscores? Keying M-f or M-b now stops the cursor at the underscores rather than grabbing the entire variable. Prior, in G

[Python-mode] underscore syntax

2008-11-28 Thread Jeff Bauer
Did the behavior python-mode change with respect to the syntax of vars_with_underscores? Keying M-f or M-b now stops the cursor at the underscores rather than grabbing the entire variable. Prior, in GNU Emacs 21.4, the behavior worked as I expected. -- Jeff Bauer ___

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