I know I can convert control characters to $'...' -style escape sequences using ${(qqqq)...} or ${(q+)...} expansion.
However, how can I convert control characters to bindkey/quoted-insert -style escape sequences?
For example, I want to convert a newline character to ^M and not $'\n'
Basically, I want the inverse of a ${(g:c:)...} expansion.