consult-mu icon indicating copy to clipboard operation
consult-mu copied to clipboard

Fixing issue with multi-line fields (only first line was captured)

Open bramadams opened this issue 5 months ago • 0 comments

When invoking consult-mu-contacts while being in a mu4e message buffer, I received an error message due to the "To:" field spanning more than one line, like:

To: "A B" [email protected], "E F" [email protected]

Basically, consult-mu--message-get-header-field only considered the line containing "To:" instead of the potential subsequent lines. This pull request is addressing this by scanning for all lines following a given field that do not contain a ":", joining those lines into one string without newlines.

bramadams avatar Sep 03 '24 19:09 bramadams