-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the best way to disable prelude-python-mode-set-encoding? #1292
Comments
Probably we should add a defcustom for this and disable it by default. In the mean time you can just use |
I tried that but didn't worked as expected, because that hook is inserted by another prelude/modules/prelude-python.el Lines 104 to 105 in 041617e
So I would need to remove the entire
I agreed. If I made a PR, do you will accept it? |
Sure. |
Ok, I'll fix it. |
One doubt @bbatsov to make our code review easier later.
Can you confirm to me what option do you prefer? |
I meant 1) I'd name the |
Thanks for answer it! Good name. |
PR submitted, @bbatsov. Review it when you can. |
That feature it's annoying to be used on
python3
because it's no longer necessary. On the current year, 2020, python2 is officially deprecated. I know that adding this prevents people using python2 having problem, but is not my case. I'm having problem to get my work accepted sometimes because I have that auto inserted line:In general is unrelated to the patch I sent and frequently on code review is requested to delete this. (unnecessary headaches)
So I'm asking how I can disable that auto-insertion using
prelude-python
module properly without the need to hack my own prelude version and giving me problems to update later. Currently, I just deleted that line:prelude/modules/prelude-python.el
Line 100 in 041617e
But is not optimal. It would better if it have a variable to turn it off.
The text was updated successfully, but these errors were encountered: