Subject: bug#68743: 29.1; modify-file-local-variable does not handle variables with embedded newlines in their value

From: Andreas Schwab <[email-masked]>
Date: Fri, 26 Jan 2024 22:05:40 +0100

On Jan 26 2024, Karthik wrote:

> This is not the format specified in the Emacs manual.  It should look
> like
>
> Some text
>
> ;; Local Variables:
> ;; testvar: "Data on\
> two lines"
> ;; End:

That's still not correct: the third line lacks the prefix, and a
backslash-newline pair is ignored, not producing a newline.  Only
printing the newline as "\n" will work.

;; Local Variables:
;; testvar: "Data on\ntwo lines"
;; End:

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."