On Thu, Sep 01, 2022 at 08:08:21AM +1000, Cameron Simpson wrote:
I forgot the my_hdr issue. This line:

   my_hdr "Content-Type: teAxt/plain; charset=usascii; format-flowed"

results in this from from mutt at startup:

   Error in /Users/cameron/rc/mutt/settings, line 129: charset=usascii: unknown 
command

So it appears that I can't use a semicolon in my_hdr?

The parser for my_hdr is a bit different - it allows quote characters in the header, so it doesn't treat them specially like elsewhere. However, semicolons are still parsed normally.

I think this was a mistake, but would be a breaking change to fix now.

Anyway, a workaround would be to put a '\' in front of the semicolons:
  my_hdr X-Foo: bar\; baz

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to