[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#69168: [BUG] 30.0.50; pp-emacs-lisp-code produces invalid elisp for
From: |
Michael Heerdegen |
Subject: |
bug#69168: [BUG] 30.0.50; pp-emacs-lisp-code produces invalid elisp for backquoted forms |
Date: |
Fri, 16 Feb 2024 03:11:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
No Wayman <iarchivedmywholelife@gmail.com> writes:
> The backqoute and comma are not escaped, resulting in the error.
> It looks like the logic in pp--insert-lisp would need to be extended
> to account for backquoting constructs.
Indeed - the function formats the expression as a list.
The second problem is that the recursive calls of `pp--insert-lisp'
print symbols using `princ' (i.e., without quoting), so even the list
representation is wrong.
Michael.