[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Emacs is lying to me, or curly quotes strike again

From: Marcin Borkowski
Subject: Emacs is lying to me, or curly quotes strike again
Date: Thu, 07 Jul 2016 14:54:27 +0200
User-agent: mu4e 0.9.16; emacs

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 (commit debd49b).


Marcin Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

reply via email to

[Prev in Thread] Current Thread [Next in Thread]