Skip to content
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

Python mode automatically spaces ( after function #1

Closed
zhongnanxu opened this issue Jul 12, 2016 · 3 comments
Closed

Python mode automatically spaces ( after function #1

zhongnanxu opened this issue Jul 12, 2016 · 3 comments

Comments

@zhongnanxu
Copy link

The python-mode editor seems to add one white space automatically when typing a parenthesis (). I do not think this is PEP8, namely when the () is in front of a function. Is there a way to change this?

@jkitchin
Copy link
Owner

I noticed that too. It is because of lispy-mode, which I will turn off
today. in the meantime just M-x lispy-mode should turn it off.

John


Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

On Tue, Jul 12, 2016 at 10:47 AM, Zhongnan Xu notifications@github.com
wrote:

The python-mode editor seems to add one white space automatically when
typing a parenthesis (). I do not think this is PEP8, namely when the () is
in front of a function. Is there a way to change this?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#1, or mute the thread
https://github.com/notifications/unsubscribe/ABiRVjTy1SLJf9-BoEASdWWLxlwAwAIJks5qU6j3gaJpZM4JKeZI
.

@zhongnanxu
Copy link
Author

Thanks. It worked.

@jkitchin
Copy link
Owner

I just pushed a commit to remove lispy from python-mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants