News for hackers. Stuff that matters.
Re:Aspen is a Python web server. Simplates are the main att... by whit537 on Tuesday April 05, 2011 @11:32AM (#2411323)
Ok, page updated to address this concern: http://aspen.io/form-feed/

:^)

Re:Aspen is a Python web server. Simplates are the main att... by sausagefeet on Tuesday April 05, 2011 @11:44AM (#2411368)
The concern is really that it's a poor character to choose IMO, not that there isn't enough documentation on it :)
Re:Aspen is a Python web server. Simplates are the main att... by whit537 on Tuesday April 05, 2011 @12:54PM (#2411661)
Touche, sausagefeet. As evangineer mentions, I've upgraded the snark to a rationale: http://aspen.io/form-feed/

One idea would be to use an actual "^" "L", or at least give a warning somewhere if these are in a file.

Do you have any other ideas?

Re:Aspen is a Python web server. Simplates are the main att... by sausagefeet on Tuesday April 05, 2011 @03:22PM (#2412325)
Nope, I'm just the peanut gallery :)

I do prefer the actual ^L though. I think sticking to printable characters and being copy and pastable from the web are good things for your project though, keep up the good work!

Re:Aspen is a Python web server. Simplates are the main att... by evangineer on Tuesday April 05, 2011 @12:13PM (#2411491)
Personally, I appreciated the addition of the rationale.

The "revelation" about Barry Warsaw being an Emacs user won't be news to those who have visited his home page! http://barry.warsaw.us/elisp/

Re:Aspen is a Python web server. Simplates are the main att... by whit537 on Tuesday April 05, 2011 @01:39PM (#2411874)
Ok, added links to Barry's site and to the Emacs docs: http://aspen.io/form-feed/
Re:Aspen is a Python web server. Simplates are the main att... by evangineer on Tuesday April 05, 2011 @06:16PM (#2412993)
Wow, I had no idea that Emacs had commands specifically for navigating around the pages delimited by the form-feed character.

Going to see if I can find an Emacs mode that does the right thing in syntax highlighting the pages appropriately.

Re:Aspen is a Python web server. Simplates are the main att... by evangineer on Tuesday April 05, 2011 @08:50PM (#2413454)
I'm hoping that nXhtml mode and its support for Multiple Major Modes might do the trick here http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html
Re:Aspen is a Python web server. Simplates are the main att... by whit537 on Wednesday April 06, 2011 @10:23AM (#2415164)
Good find. "Another important feature is the ability to mix several languages in one buffer and get the correct syntax highlighting and indentation for each of them." It looks like they're inferring mode blocks based on things like "<?php>".

http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html#php

What is wanted for Aspen simplates is to use Python for the first two pages, and use the file extension to determine the mode/highlighting for the third page. The first two pages are optional.