highlight-escape-sequences
highlight-escape-sequences copied to clipboard
turn-on-hes-mode or turn-off-hes-mode doesn't apply to the current buffer
Hello,
Thank you for this Emacs package!
I found some issues:
- [ ]
(turn-on-hes-mode)
doesn't apply to the current buffer. To turn on hes-mode you need toM-x revert-buffer
. - [ ] Same with
(turn-off-hes-mode)
.
- [ ]
(turn-on-hes-mode)
and(turn-off-hes-mode)
works only globally, not locally for buffer.
- [ ] Changing faces
hes-escape-backslash-face
andhes-escape-sequence-face
via customizeM-x customize-face
doesn't work.
GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) of 2017-11-13
Oleg.
Yes, it's a global mode. I didn't see much point in making a local version. (EDIT: never mind)
(turn-on-hes-mode) and (turn-off-hes-mode) works only globally, not locally for buffer
That is, apparently, how font-lock-add-keywords
and font-lock-remove-keywords
work. If there is a standard way to improve the situation, please let me know.
Changing faces hes-escape-backslash-face and hes-escape-sequence-face via customize M-x customize-face doesn't work
Works for me. At least, I set the foreground of the -backslash-
face to red
, clicked Apply
, and that got applied immediately.