This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Lalo Martins <lalo@webcom.com> writes: > On Mar 11, Greg Harvey decided to present us with: > > > > Commands: > > > > %start : appears at the beginning of each mail; possibly superfluous, > > but makes it easier to get right to the important stuff without having > > to grovel over mail headers. This is the only thing not being moved to > > the alist thing. > > Instead of %start (which implies a %stop, and %stop would be > cool after all so you can leave your .sig), why not just a > convention to put the outmost "(" and ")" by themselves? > > If you're worried about mail headers, rule that before the first > "(" you need an empty line [pattern "\n\n("]. For example: > > ( > (name "Pinto Simulator") > (password "pinto forever!") > (status "The current version is 1.2, and includes numerous reality " > "enhancements.") > ) Yeah, it was inspired by excessive laziness >;') The only restriction really needed is that each entry be closed and that the first character on a line starting the entry is a '(' (I don't think that can hit mail headers, though I'd really have to dig up the rfc to be sure)... I actually prefer `((name "foo"))', because that's the way I'm used to writing & reading scheme. As long as the entry is something that can be 'read', life stays blindingly simple :) > And lets me update more than one entry in a single mail message. You could do that with either, though each submission should get it's own alist (another laziness, but this is a more reasonable requirement... it's not really well defined to have an alist with the same key twice). > [BTW I don't want a "Pinto Simulator". In Brazilian Portuguese > it would mean a very nasty thing. No I won't give details. ;-)] I probably don't want to know :) The reference, in case anyone's interested, is to a car once manufactured by Ford, which has become somewhat infamous in North American culture due to it's tendency to explode... you probably wouldn't want a simulator of the car, either (though that could make for an insane racing game). -- Greg