nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] Replace mh-format?


From: Jerry Peek
Subject: Re: [Nmh-workers] Replace mh-format?
Date: Thu, 22 Dec 2005 12:15:42 -0700

On 22 December 2005 at 19:55, Igor Sobrado <address@hidden> wrote:
> I agree, mh-format can be improved, but replacing it with a full-featured
> scripting language is a bit overkill, though.  We really need a scripting
> language as Tcl to provide format strings to nmh commands?

It's just that mh-format has limitations.  You can end up doing
horrible workarounds -- trying to bolt on an external script
in a place it doesn't really fit, for instance -- to get the
formatting you want that you can't squeeze out of mh-format.


On 22 December 2005 at 18:22, Tet <address@hidden> wrote:
> ...Why not make it optional?
>
>       repl -script foo.tcl
>
> If you supply both -script and -form arguments, then make -script take
> priority. That way, you get nice new syntax, without breaking backwards
> compatibility. 

I don't know the nmh code well enough to know whether this'd be hard
to implement.  But it seems like it could be The Best Of Both Worlds
-- in Tcl or whatever other language.

Jerry




reply via email to

[Prev in Thread] Current Thread [Next in Thread]