py-underscore-word-syntax-p customization has no effect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| python-mode.el |
Medium
|
Andreas Roehler |
Bug Description
Customization of the variable has no effect as long as python-
Customizations should take effect immediately or at least after I C-x r a buffer.
Changed in python-mode: | |
assignee: | nobody → Andreas Roehler (a-roehler) |
milestone: | none → 6.1.1 |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in python-mode: | |
status: | In Progress → Fix Committed |
Paul Pogonyshev (doublep) wrote : | #1 |
Paul Pogonyshev (doublep) wrote : | #2 |
May I propose this change?
Andreas Roehler (a-roehler) wrote : Re: [Bug 1100947] Re: py-underscore-word-syntax-p customization has no effect | #3 |
Am 18.01.2013 22:45, schrieb Paul Pogonyshev:
> May I propose this change?
>
> ** Patch added: "instantly modify python-
> https:/
>
Great, thanks a lot.
Andreas Roehler (a-roehler) wrote : | #4 |
Am 18.01.2013 22:12, schrieb Paul Pogonyshev:
> I don't quite see how this is fixed.
BTW provided a switch which toggles it for current session:
toggle-
Again, I have customized the
> variable
Switch doesn't work via defcustom.
Will add your solution BTW.
so underscore is not part of a word, but this has no effect
> even after restarting Emacs.
>
Changed in python-mode: | |
status: | Fix Committed → In Progress |
Paul Pogonyshev (doublep) wrote : | #5 |
Just noticed that the patch references the function which is not yet defined when you eval the buffer for the first time (from 'require). So either relevant defun should be before defcustom, or you need to change :set value to not use not-yet-defined functions.
Andreas Roehler (a-roehler) wrote : | #6 |
Am 19.01.2013 12:27, schrieb Paul Pogonyshev:
> Just noticed that the patch references the function which is not yet
> defined when you eval the buffer for the first time (from 'require). So
> either relevant defun should be before defcustom, or you need to change
> :set value to not use not-yet-defined functions.
>
Also introduced a defvar to start with
Changed in python-mode: | |
status: | In Progress → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
I don't quite see how this is fixed. Again, I have customized the variable so underscore is not part of a word, but this has no effect even after restarting Emacs.