unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Emacs is lying to me, or curly quotes strike again
@ 2016-07-07 12:54 Marcin Borkowski
  2016-07-07 13:46 ` Kaushal Modi
  0 siblings, 1 reply; 11+ messages in thread
From: Marcin Borkowski @ 2016-07-07 12:54 UTC (permalink / raw)
  To: emacs-devel@gnu.org

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-07-07 16:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-07 12:54 Emacs is lying to me, or curly quotes strike again Marcin Borkowski
2016-07-07 13:46 ` Kaushal Modi
2016-07-07 13:52   ` Kaushal Modi
2016-07-07 15:05     ` Drew Adams
2016-07-07 15:24       ` Clément Pit--Claudel
2016-07-07 15:55         ` Drew Adams
2016-07-07 16:00           ` Clément Pit--Claudel
2016-07-07 14:04   ` Paul Eggert
2016-07-07 14:16     ` Kaushal Modi
2016-07-07 14:24     ` Dmitry Gutov
2016-07-07 14:45       ` Marcin Borkowski

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).