Open nemethf opened 1 month ago
That's a funky issue! Thanks for raising this, I'll try to reproduce it when I get a few moments spare.
C-u C-x =
on "date" shows that it has a face property of sh-quoted-exec
, which is not in the default
engrave-face-themes. The latest release of engrave-face handles this situation poorly as the original
bug report demonstrated. However, it seems commit e541cf4366 fixed this issue.
Would it be possible to push a new version containing this fix to GNU ELPA? Thank you.
Let's have a buffer with the content of
/tmp/a.sh
:Here
M-x engrave-faces-latex-buffer
results in:Note the missing "m" in the color name "agenta". The tex command should be something like
\textcolor{magenta}{date}
.To reproduce the issue, it is enough to start from:
This is with "GNU Emacs 28.2" and "GNU Emacs 31.0.50".
Thanks.