nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] 'repl -format' to mime-messages

2004-09-15 06:11:24
You wrote:
 
Is there any sensible way to make 'repl -format' only quote the
text parts of a mime message? (It would be nice if it decoded them too.)

There isn't a "sensible" way. I use a wrapper script (around vi) as my
message editor and the script includes the following:

if [[ -n $editalt ]]; then
  mhshow -part 1 -form mhl.null -file $editalt | sed -e '1 d' -e 's/^/> /' >&3
fi

File descriptor 3 is initialised further up with `exec 3>$1' (the script
does a lot else besides).

That works if part 1 of the message is the text component which it
usually is. It probably also relies on other parts of my setup such as
piping text/html messages through lynx -dump.

Oliver


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

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