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

dont override user's tab preference #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thornjad
Copy link

As mentioned in #85, eae8137 introduced a local override to indent-tabs-mode which (unexpectedly to the user) switches to spaces to indent. By simply removing that pair, indentation now works the way I expect. I didn't observe any other changes to indentation, though I would appreciate someone else who is more familiar with this code taking a look as well.

Fixes #85

@felipeochoa
Copy link
Owner

Tests please!

@thornjad
Copy link
Author

thornjad commented Jun 29, 2019 via email

@felipeochoa
Copy link
Owner

According to Travis all tests are passing on this branch. ert is not super hard to use -- start a fresh Emacs instance, load-file the various testing files (the order matters so that require succeeds I think), and then do M-x ert. As you add/change tests, eval the test definitions and re-run ert. That should get you going :)

@thornjad
Copy link
Author

thornjad commented Jun 29, 2019 via email

@felipeochoa
Copy link
Owner

Ah I see. No clue what's going on with Travis. To run them locally after a clone do make install-deps followed by EMACS=emacs make test

@thornjad
Copy link
Author

thornjad commented Jun 29, 2019 via email

@thornjad
Copy link
Author

Hi all, sorry this completely fell through the cracks for me. Unfortunately, in the time since I've made this PR, I no longer work at a place that requires tabs in everything, and I no longer work in React very often so I've switched back to js-mode.

I won't be getting back to writing tests here, but I more than welcome anyone else writing them, someone else taking over this PR, or closing and letting someone else make the same change I did, whatever works best for the project!

@felipeochoa
Copy link
Owner

I'll leave it open in case anyone wants to pick it up

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

Successfully merging this pull request may close these issues.

Indentation with tabs does not work correctly
2 participants