Comment 2 for bug 940812

Revision history for this message
Barry Warsaw (barry) wrote : Re: [Bug 940812] Re: Underscore syntax class

On Feb 25, 2012, at 07:40 AM, Andreas Roehler wrote:

>thanks for the request.
>
>Will make this customizable.
>
>Remains the question of default syntax.
>
>The advantage of word-syntax is, common forward-word etc. travel the whole Python identifier.
>OTOH the experienced user might switch that too, leaving the newbie without surprise at this point.
>
>Let's see, if some comments come in....

Well, you knew I would comment on it!

This subject comes up every so often and the problem is that long time users
of the mode will be very unhappy if you change the defaults.

I strongly oppose changing the default, but I have no problem with making it
conditional. (Strictly speaking, it already is since any Emacs user can
change the default by adding a little bit of lisp.) What you may need to do
is fix some internal routines that expect the default behavior when the syntax
change is made.