From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.bugs Subject: bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings Date: Wed, 22 Apr 2015 15:59:37 +0200 Message-ID: <87a8y0jmba.fsf@petton.fr> References: <1429555155-4695-1-git-send-email-eggert@cs.ucla.edu> <5535974D.9050207@cs.ucla.edu> <5535C7F3.7020107@cs.ucla.edu> <83618p5y9w.fsf@gnu.org> <83vbgp49ve.fsf@gnu.org> <83pp6x45x5.fsf@gnu.org> <5536ACB3.9040707@yandex.ru> <83lhhk4phe.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1429711233 12301 80.91.229.3 (22 Apr 2015 14:00:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Apr 2015 14:00:33 +0000 (UTC) Cc: eggert@cs.ucla.edu, 20385@debbugs.gnu.org, Dmitry Gutov To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 22 16:00:19 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YkvCL-0002k8-Gf for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Apr 2015 16:00:17 +0200 Original-Received: from localhost ([::1]:35380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkvCL-0002Ks-1Y for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Apr 2015 10:00:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkvCH-0002IM-DX for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 10:00:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkvCB-00019Z-M0 for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 10:00:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkvCB-00019C-JI for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 10:00:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YkvCA-0000W0-1a for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 10:00:06 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nicolas Petton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Apr 2015 14:00:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20385 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 20385-submit@debbugs.gnu.org id=B20385.14297111841928 (code B ref 20385); Wed, 22 Apr 2015 14:00:05 +0000 Original-Received: (at 20385) by debbugs.gnu.org; 22 Apr 2015 13:59:44 +0000 Original-Received: from localhost ([127.0.0.1]:36617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkvBn-0000V1-De for submit@debbugs.gnu.org; Wed, 22 Apr 2015 09:59:43 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:53524) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkvBl-0000Us-Ao for 20385@debbugs.gnu.org; Wed, 22 Apr 2015 09:59:42 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A53002089A for <20385@debbugs.gnu.org>; Wed, 22 Apr 2015 09:59:40 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 22 Apr 2015 09:59:40 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=pkdPFOAPG8D027O048eBT+qmNTA=; b=jxTRI myPaeZQMX6H2JTqcWUQ/MnwQ7Nkcb9boOSHsz7bmvq+NBCLU4+tZV40UByP2vcse XlOeAr73Da3Uex86FioeUlWWKjyv59GE5LGbQqGK0vcvRnAsTSUk61nKLRvkeTJN lq6XD0SAoTq6hJTrsmN2HXqWMLNG9FGjMsKfo8= X-Sasl-enc: mLwvS7eSfO6VYBsPZfMwg5UVubxVosrJMPh1tBEKHikD 1429711180 Original-Received: from blueberry (unknown [31.211.216.84]) by mail.messagingengine.com (Postfix) with ESMTPA id 6F664C00011; Wed, 22 Apr 2015 09:59:39 -0400 (EDT) In-reply-to: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101870 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Drew Adams writes: > I will add that one increasingly important use of `...' is that > doc gets copied and pasted to other, non-Emacs environments. > > You might think that `...' is "ugly" (and that is the ONLY > reason that's been given so far for changing it), but it has > the distinct advantage that it is a unique way of quoting > that separates itself from both strings ("...") and ordinary > text quoting (curly quotes, double and single). > > If you post doc pieces into a context such as Stack Exchange, > for example, you need only change the ' in `...' to `, to > have that new context also, like Emacs, treat the quoted > sexp specially - not a ordinary quoted text. That is, SE > uses `...` instead of `...', but it does the same thing > Emacs does, to make the result stand out as code and not as > just any old quoted text. > > If you change `...' to ordinary curly quoting, you lose > distinguishing what it quotes as code. > > Just one more consideration, another reason why the proposed > change is a bad idea, IMHO. I agree with you. Maybe a compromise could be to add as an alternative syntax `...` (just like SE or Markdown)? It would then fix the unbalanced quotes issue. Nico =2D-=20 Nicolas Petton http://nicolas-petton.fr --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJVN6lJAAoJECM1h6R8IHkQ0ccH/1IeRrk5I3KUCE/k3KOjVoNJ FjuZaRv3X6RZVDO0XxC5vopz9GITqhkPsWqwwMWxGzKuutcJFTtWFz6gyKJrJjMR UAYFQcLAWsZurW0Ce2PV2Yb7Fnl6LYAaBBw6OufRXyuAqMHGqme5Aqy0c+9KfHqR 9fIecIdYX8+kiw1juOoG24W9JUmiuvjMf6JzSLiPBIGz0z7J0VhZziLm9k7nF4xd ca7CUv3SX2OXzHs7uMShbFe2vBzWCvh1LnNs16ku1vGUSlUHWBv0UKJSM5bUbgnh CMOrMQzK6Wggf/HIL2jlFRqBHADqWPKBJnEOwmX9N4YAHzZ3m0WLOwU7FLXn3Bo= =bFWT -----END PGP SIGNATURE----- --=-=-=--