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

Fix multi-line array indentation. #59

Merged
merged 2 commits into from
Jul 30, 2015

Conversation

askreet
Copy link
Contributor

@askreet askreet commented Jul 29, 2015

This fixes #33 - I know you mentioned wanting to implement SMIE instead of patch the existing implementation. Unfortunately, I didn't see that issue until after I fixed it locally. I understand if you'd prefer to just close this PR in favor of SMIE.

@askreet askreet force-pushed the FixArrayIndentation branch from 04db2ce to bbdb1d8 Compare July 29, 2015 22:09
(goto-char array-start)
(setq cur-indent (current-indentation))
)
(progn
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need no progn for the else clause. Please remove it.

@swsnr
Copy link
Contributor

swsnr commented Jul 30, 2015

@askreet Sure, I'll merge it, but please address my remarks. And please write a comment when you've done so, because Github doesn't send notifications for updated pull requests, so I'd miss your update otherwise. Thanks :)

@askreet
Copy link
Contributor Author

askreet commented Jul 30, 2015

@lunaryorn Feedback has been addressed. Thanks for the information, this is the most complex elisp hacking I've done to date, so it was helpful.

swsnr added a commit that referenced this pull request Jul 30, 2015
Fix multi-line array indentation.
@swsnr swsnr merged commit 268ec79 into voxpupuli:master Jul 30, 2015
@swsnr
Copy link
Contributor

swsnr commented Jul 30, 2015

@askreet Merged, thank you!

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.

Array indentation seems broken
2 participants