Re: [Python-mode] M-x beginning-of-defun

2008-11-29 Thread Andreas Roehler
Barry Warsaw wrote: > On Nov 29, 2008, at 12:02 PM, Andreas Roehler wrote: > >> `beginning-of-defun-raw' in GNU Emacs has a nice >> feature, enabling functions instead of regexps to >> determine beginning and end of defun, i.e. function or form. > >> In python-mode.el I see you solved this by bin

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] M-x beginning-of-defun

2008-11-29 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Nov 29, 2008, at 12:02 PM, Andreas Roehler wrote: `beginning-of-defun-raw' in GNU Emacs has a nice feature, enabling functions instead of regexps to determine beginning and end of defun, i.e. function or form. In python-mode.el I see you solved

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.

[Python-mode] M-x beginning-of-defun

2008-11-29 Thread Andreas Roehler
Hi Barry, `beginning-of-defun-raw' in GNU Emacs has a nice feature, enabling functions instead of regexps to determine beginning and end of defun, i.e. function or form. In python-mode.el I see you solved this by binding the beginning- and end-of-defun keys seperatly. (Maybe, because XEmacs lack

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