nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] ;-style aliases?

2012-10-13 09:43:44
Valdis wrote:

However, actually digging into lib/aliases.tcl, we find that the line that
does the parsing is actually:

                regexp {([^;:]+)([:;])(.*)} $line match key sep other

which accepts both ; and : as the separator.  The rest of the code
seems to track the value of 'sep' as the separator field.

OK, that suggests not touching the nmh code.  

And a quick test seems to indicate that if ";" is used, it behaves
well.

Are you sure?  Did you try an alias that references another alias,
e.g.,

    nmhworkers; nmhlist
    nmhlist: nmh-workers(_at_)nongnu(_dot_)org

I'll send this message to "nmhworkers" using that.

What the current GUI *can't* seem to do is add an entirely new entry
that uses ";" as the separator.

I'd leave that alone too, unless someone fixes nmh.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>