You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I added to markdown-code-lang-modes the pair ("restclient" . "restclient-mode"), when editing a code block starting with "restclient", I expect indirect edit buffer to have restclient-mode turned on.
Actual Behavior
The indirect edit buffer is in fundamental mode.
It may come from Restclient having no entry in auto-mode-alist nor in major-mode-remap-alist; Thus markdown--lang-mode-predicate returns nil.
Steps to Reproduce
Using "customize" extend markdown-code-lang-modes as said above
Install the package "restclient"
In a buffer using (the excellent) markdown mode, edit a code block starting with restclient.
Backtrace
NA
Software Versions
Markdown Mode: markdown-mode, version 2.7-alpha
Emacs: GNU Emacs 30.0.93 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.16.0) of 2024-12-21
Expected Behavior
After I added to
markdown-code-lang-modes
the pair("restclient" . "restclient-mode")
, when editing a code block starting with "restclient", I expect indirect edit buffer to haverestclient-mode
turned on.Actual Behavior
The indirect edit buffer is in fundamental mode.
It may come from Restclient having no entry in
auto-mode-alist
nor inmajor-mode-remap-alist
; Thusmarkdown--lang-mode-predicate
returns nil.Steps to Reproduce
markdown-code-lang-modes
as said aboveBacktrace
NA
Software Versions
The text was updated successfully, but these errors were encountered: