3 ms·
The concern is really that it's a poor character to choose IMO, not that there isn't enough documentation on it :)
by sausagefeet 16y ago
The concern is really that it's a poor character to choose IMO, not that there isn't enough documentation on it :)
- evangineer 16y agoPersonally, 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/ http://barry.warsaw.us/elisp/
- whit537 16y agoOk, added links to Barry's site and to the Emacs docs: http://aspen.io/form-feed/ http://aspen.io/form-feed/
- evangineer 16y agoWow, 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.
- evangineer 16y agoI'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 http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html
- whit537 16y agoGood 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 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.
- whit537 16y agoTouche, sausagefeet. As evangineer mentions, I've upgraded the snark to a rationale: http://aspen.io/form-feed/ 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?
- sausagefeet 16y agoNope, 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!