Hello list.
While working on the ArchWiki as a last thing before i turn away
for some time i have found that mutt(1) supports command execution
for that one (via the "normal" "blabla|" pipe indication).
Now i wondered (just in case he reads this, maybe Dirk-Wilhelm
Peters *also* referred to this possibility in February, eh?!,
2016??) whether i should implement this too, but then again i said
no because of the possibilities the newly introduced hooks offer.
So i now have introduced a new `readall' command and some more
subcommands and possibilities for `vexpr' and wonder why
define t_ocl {
vput ! message-inject-tail cat ~/.mysig
if [ $? -eq 0 ]
vput vexpr message-inject-tail trim-end $message-inject-tail
end
}
set on-compose-leave=t_ocl
or
define t_ocl {
readctl create ~/.mysig
if [ $? -eq 0 ]
readall message-inject-tail
if [ $? -eq 0 ]
vput vexpr message-inject-tail trim-end $message-inject-tail
end
readctl remove ~/.mysig
end
}
set on-compose-leave=t_ocl
or
set on-compose-splice-shell="read version; cat ~/.mysig"
or
wysh set on-compose-splice-shell=$'\
read version;\
i=`cat .mysig`;\
echo \'~:set message-inject-tail=\'\"${i}\"'
should not be enough. I have obsoleted *signature*.
Ciao, and a nice rest-summer when your country supports that!
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)