Open wuqui opened 1 year ago
The only two regexps md-outline-list-mode
relies on are markdown-regex-header
and markdown-regex-list
.
Wrong setting of one of those would cause a jit-lock
error.
If this does not help to find the cause of the error I need a minimal example.
The minimal example should start with emacs -Q
, loading markdown-mode
and md-outline-list
and opening a small example Markdown file causing the jit-lock
error.
I also need the version numbers of Emacs and markdown-mode
.
I encountered the same error
Error during redisplay: (jit-lock-function 1) signaled (invalid-regexp "Invalid regular expression")
Minimal init.el used
(add-to-list 'load-path "/tmp/packages")
(require 'md-outline-list)
minimal markdown file used:
# this is a header
* this is a bullet
* child bullet
Emacs version 28.2.50, started with emacs -Q --load init.el
.
Pulled both packages, markdown-mode and md-outline-list, from HEAD.
@ericliou Sorry for the late answer. I will look at it as soon as I have some spare time.
I just tried @ericliou 's example with
@wuqui & @ericliou: I could not reproduce the error. Could you give me your Emacs and markdown-mode version?
I get the following error in markdown files if I activate your package:
Any idea what might be causing this and how to fix it?