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

slash (/) within signle qoutation marks ('') #92

Closed
feng-li opened this issue Oct 27, 2019 · 2 comments
Closed

slash (/) within signle qoutation marks ('') #92

feng-li opened this issue Oct 27, 2019 · 2 comments

Comments

@feng-li
Copy link

feng-li commented Oct 27, 2019

Currently electric-operator treats / as division sign in single quotation marks (no problem with double quotation marks). This causes side effects when e.g. the input is a Linux path.

path='code/python/init.py'

will be formatted as

path = 'code / python / init.py'

I have noticed this affects both R and Python. Maybe could be handled in a better way or at least let it behave consistently with both single quotation marks and double quotation marks.

Thanks!

@davidshepherd7
Copy link
Owner

Hi, I can't reproduce this in a normal python buffer. Can you please fill out the issue template so that I know how to do so?

Is this only in python/R repl buffers? If so then see #87, it's because of a bug in emacs itself.

@davidshepherd7
Copy link
Owner

Closing this because I think it's a duplicate of #87

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