Bryan Donlan on Fri, 2 Jul 2004 10:21:44 -0500 (CDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [spoon-discuss] Re: The Direct Approach.


On Fri, 2 Jul 2004 11:17:06 -0400 (EDT), Daniel Peter Lepage
<dpl33@xxxxxxxxxxx> wrote:
> 
> bd wrote:
> 
> > The problem is, if you make one typo, or an extra space, or your mail
> > client wraps, it won't match. A unidiff sent to a web interface (or as
> > an attachment) would be better.
> 
> I don't know a lot about the unidiff syntax... how do you tell it what to replace in a way that's typo-proof?

You use the diff utility.

> If we want to avoid the matter of typos, we could also add suport for a replace_subsection command or a replace_paragraph command that would snip out the nth paragraph/subsection regardless of its text. It also wouldn't be too hard, given an interpreter for the prop code, to have a little CGI form that let you look at what the rules would look like if your prop passed, just as a sanity check.

That would work, too. Perhaps both options could be supported.

-- 
bd
_______________________________________________
spoon-discuss mailing list
spoon-discuss@xxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/spoon-discuss