-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(markdown-syntax-propertize-extend-region) fails on file load #777
Comments
I cannot reproduce this issue. Please reinstall it, byte-compile it again and retry. Did you update Emacs recently ? I suppose such error happens when installing some package and byte-compiling on an older Emacs and using it on a newer one. |
It's a fresh install (new job, new computer 2 months ago). I deleted the markdown package (and lsp-mode, markdown was a dependency) and cleared anything markdown related from my .emacs. Exited emacs. Started it back up. Loaded a new file and did a M-x markdown-mode and got the message again.
|
Thanks for your retrying.
|
Yes, it happens with an empty file. When I removed the packages, I made sure the directories were removed. FYI, here are the other installed packages:
|
Does this issue happen only with markdown-mode.el
|
When I load markdown file, I get a (wrong-type-argument listp t) error.
Expected Behavior
Markdown files should load without errors
Actual Behavior
Opening markdown files produce error message: (wrong-type-argument listp t)
In Messages:
File mode specification error: (wrong-type-argument listp t)
Error during redisplay: (internal--syntax-propertize 2) signaled (wrong-type-argument listp t)
Error running timer ‘show-paren-function’: (error "internal--syntax-propertize did not move syntax-propertize--done")
Error during redisplay: (internal--syntax-propertize 2) signaled (wrong-type-argument listp t)
Error running timer ‘show-paren-function’: (error "internal--syntax-propertize did not move syntax-propertize--done")
Steps to Reproduce
Backtrace
Debugger entered--Lisp error: (wrong-type-argument listp t)
#f(compiled-function (f) #<bytecode 0x8fc45fe41db6957>)(markdown-syntax-propertize-extend-region)
run-hook-wrapped(#f(compiled-function (f) #<bytecode 0x8fc45fe41db6957>) markdown-syntax-propertize-extend-region)
syntax-propertize(1)
markdown-mode()
set-auto-mode-0(markdown-mode nil)
set-auto-mode--apply-alist((("\.cl$" . lisp-mode) ("\.lisp$" . lisp-mode) ("\.tex$" . indented-text-mode) ("\.bib$" . bibtex-mode) ("\.abbrevs$" . fi:emacs-lisp-mode) ("\.el$" . fi:emacs-lisp-mode) ("\.js\'" . javascript-mode) ("\.rm$" . rmail-mode) ("\.rb$" . ruby-mode) ("\.gemspec$" . ruby-mode) ("\.coffee$" . coffee-mode) ("\.c$" . c-mode) ("\.h$" . c++-mode) ("\.y$" . bison-mode) ("\.lex" . c-mode) ("\.C$" . c++-mode) ("\.H$" . c++-mode) ("\.cc$" . c++-mode) ("\.hh$" . c++-mode) ("\.cpp$" . c++-mode) ("\.comp$" . c++-mode) ("\.css$" . css-mode) ("\.scss$" . css-mode) ("\.Z$" . uncompress-while-visiting) ("\.z$" . uncompress-while-visiting) ("\.gz$" . uncompress-while-visiting) ("\.html$" . html-mode) ("\.html.erb$" . html-mode) ("\.rhtml$" . html-mode) ("\.php3$" . html-mode) ("\.ol$" . outline-mode) ("\.txt$" . indented-text-mode) ("\.old$" . indented-text-mode) ("\.kbm$" . indented-text-mode) ("\.out$" . indented-text-mode) ("\.m$" . indented-text-mode) ("\.sh$" . indented-text-mode) ("\.notes$" . indented-text-mode) ("\.vue$" . vue-mode) ("\.sql$" . sql-mode) ("\.go$" . go-mode) ("\.yaml\'" . yaml-mode) ("\.yml\'" . yaml-mode) ("go\.work\'" . go-dot-work-mode) ("go\.mod\'" . go-dot-mod-mode) ("\.go\'" . go-mode) ("\.\(?:md\|markdown\|mkd\|mdown\|mkdn\|mdwn\)\'" . markdown-mode) ("\.\(e?ya?\|ra\)ml\'" . yaml-mode) ("\.gpg\(
\|\.[0-9]+\)?\'" nil epa-file) ...) nil nil)/bar.md" nil nil "set-auto-mode()
normal-mode(t)
after-find-file(t t)
find-file-noselect-1(# "
/bar.md" nil)/bar.md" nil nil t)find-file-noselect("
find-file("
/bar.md" t)/bar.md" t)funcall-interactively(find-file "
call-interactively(find-file nil nil)
command-execute(find-file)
Software Versions
The text was updated successfully, but these errors were encountered: