Warning messages in Maxima are inconsistent:
Ideally, warnings should all be printed with the same function. There is mwarning, which unfortunately only concatenates its argument. It would be nicer if it worked like mtell, forwarding to mformat.
Possible solutions coming to my mind:
mwarning: If its first argument looks like a format string with ~ -> use mformat. May cause false positives!mwarn or mtellwarn.:warning to mtell.
Diff: