all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: "emacs-devel\@gnu.org" <emacs-devel@gnu.org>
Subject: Emacs is lying to me, or curly quotes strike again
Date: Thu, 07 Jul 2016 14:54:27 +0200	[thread overview]
Message-ID: <87oa69a9s7.fsf@mbork.pl> (raw)

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



             reply	other threads:[~2016-07-07 12:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-07 12:54 Marcin Borkowski [this message]
2016-07-07 13:46 ` Emacs is lying to me, or curly quotes strike again 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oa69a9s7.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.