all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Kaushal Modi <kaushal.modi@gmail.com>,
	Marcin Borkowski <mbork@mbork.pl>,
	 emacs-devel@gnu.org
Subject: RE: Emacs is lying to me, or curly quotes strike again
Date: Thu, 7 Jul 2016 08:05:42 -0700 (PDT)	[thread overview]
Message-ID: <35ca7de9-c1e1-47cf-99a2-b6ae6f92d9da@default> (raw)
In-Reply-To: <CAFyQvY03XPyeVjYoZVmG1dHc_AhYK+usV8du056O-U=cVRu84Q@mail.gmail.com>

FWIW, having to do this kind of thing now to doc strings is nuts:

 "Major mode for editing JSX.

 To customize the indentation for this mode, set the SGML offset
 variables (`sgml-basic-offset', `sgml-attribute-offset' et al.)
 locally, like so:

   (defun set-jsx-indentation ()
     (setq-local sgml-basic-offset js-indent-level))
   (add-hook \\='js-jsx-mode-hook #\\='set-jsx-indentation)"
             ^^^                   ^^^
              |                     |

And some who write doc strings will sometimes not bother to be
so careful as to do it.  And the resulting rendered "code" will
not be copy+pastable.  So there will be questions here & there
about why code that was copied doesn't work...

Yes, I know the mantra: "That ship has sailed."  It should never
have made it out of the shipyard.  Nay; it should never have even
been constructed.  It was built and launched overnight, with only
a few nightowls sounding the alarm and those in charge turning
their backs.  This will be a sizable pebble in our shoe for a
long time to come...

(And why the extra newline after the first docstring line, BTW?
That's not conventional, and it doesn't help users, IMHO.)

(And please consider using plain text for mail to the list.)



  reply	other threads:[~2016-07-07 15:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=35ca7de9-c1e1-47cf-99a2-b6ae6f92d9da@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=kaushal.modi@gmail.com \
    --cc=mbork@mbork.pl \
    /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.