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

Lisp code indentation at An Event-Driven Code Framework #215

Open
phoe opened this issue Apr 30, 2016 · 1 comment
Open

Lisp code indentation at An Event-Driven Code Framework #215

phoe opened this issue Apr 30, 2016 · 1 comment

Comments

@phoe
Copy link

phoe commented Apr 30, 2016

http://aosabook.org/en/500L/an-event-driven-web-framework.html <- this is a page where Lisp code needs proper indenting to make it readable, possibly to some tab<=>space issues.

Solution: basically, put all the code into an Emacs buffer with Lisp mode and Slime powered on in another buffer to fix some indentation problems, indent the blocks, copy everything back in.
Possible readability improvement: grab an automatic JS Lisp highlighter from http://turtleware.eu/posts/Creating-a-project-homepage-with-the-SCLP.html (mouseover some nested code to see how it works).

@MichaelDiBernardo
Copy link
Collaborator

Hi,

Indentation for this chapter is a bit unnatural because the code has to fit in 85 columns in the print version. I think the 'readability' issue you may be raising is a result of that, and we don't have many options there.

If there are indeed places where spaces and tabs are mixed, we can fix that.

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