GNU bug report logs -
#57989
27.1; mhtml-mode should support C-c / in sub-modes
Previous Next
Full log
View this message in rfc822 format
When editing HTML, I'm accustomed to pressing C-c / to close the
innermost element. For example, if I type
<html>
<head>
<style> p { color: red; }
and then press C-c /, I expect Emacs to insert "</style>".
However, with mhtml-mode, this doesn't work inside a <script> or <style>
element, because only the js-mode or css-mode bindings are in effect
there.
There are other html-mode keybindings that might sometimes be useful
inside of JS/CSS blocks too, such as C-c C-b and C-c C-f.
It's not obvious to me if there is any way to customize the bindings
that are in effect inside a CSS block in MHTML mode, independent of the
bindings that are in effect when editing a .css file.
This bug report was last modified 2 years and 248 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.