Hi all,
Here's a snippet from a *Help* buffer for JSX-IDE mode:
--8<---------------cut here---------------start------------->8---
JSX-IDE mode defined in ‘js2-mode.el’:
Major mode for editing JSX code.
To customize the indentation for this mode, set the SGML offset
variables (‘sgml-basic-offset’ et al) locally, like so:
(defun set-jsx-indentation ()
(setq-local sgml-basic-offset js2-basic-offset))
(add-hook ’js2-jsx-mode-hook #’set-jsx-indentation)
--8<---------------cut here---------------end--------------->8---
While I do understand that I could toggle some switch to turn off these
retarded curly quotes, but a CODE SNIPPET in a HELP BUFFER should be
COPY-PASTEABLE BY DEFAULT. (I'm sorry for my angry tone, but this is
yet another case of curly quotes causing problems, and giving NOTHING in
return. And so many people warned about this - and yet this buggy
behavior was made the default...)
I'm on GNU Emacs 25.1.50.3 (commit debd49b).
Best,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
--
Kaushal Modi