From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.bugs Subject: bug#20385: Support curved quotes in doc strings Date: Thu, 14 May 2015 07:20:17 +0000 Message-ID: <87d223iq1a.fsf_-_@violet.siamics.net> References: <1429555155-4695-1-git-send-email-eggert@cs.ucla.edu> <5552FDAC.4080004@cs.ucla.edu> <55534080.6010400@yandex.ru> <555369FD.30701@cs.ucla.edu> <5553D12F.7000809@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1431588090 30433 80.91.229.3 (14 May 2015 07:21:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 May 2015 07:21:30 +0000 (UTC) To: 20385@debbugs.gnu.org, Dmitry Gutov , Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 14 09:21:15 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 1YsnSE-0004K2-0A for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 May 2015 09:21:14 +0200 Original-Received: from localhost ([::1]:52937 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsnSD-00074H-Ad for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 May 2015 03:21:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsnS9-000741-11 for bug-gnu-emacs@gnu.org; Thu, 14 May 2015 03:21:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsnS4-0006uN-Ij for bug-gnu-emacs@gnu.org; Thu, 14 May 2015 03:21:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsnS4-0006tg-4T for bug-gnu-emacs@gnu.org; Thu, 14 May 2015 03:21:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YsnS3-0005E1-Ke for bug-gnu-emacs@gnu.org; Thu, 14 May 2015 03:21:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Shmakov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 May 2015 07:21:03 +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.143158803119971 (code B ref 20385); Thu, 14 May 2015 07:21:03 +0000 Original-Received: (at 20385) by debbugs.gnu.org; 14 May 2015 07:20:31 +0000 Original-Received: from localhost ([127.0.0.1]:44295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsnRW-0005C0-Eo for submit@debbugs.gnu.org; Thu, 14 May 2015 03:20:30 -0400 Original-Received: from fely.am-1.org ([78.47.74.50]:44477) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsnRU-0005Bp-Qq for 20385@debbugs.gnu.org; Thu, 14 May 2015 03:20:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=YwPxCFLaOWvmguWt6JwQqwvxZQbvJb0JlpF9FYfr9Yc=; b=q7m+xTY5kzWrJLBa4xrQzEfpYBTvoO0rABZWWe2Go5XPFcUL+CwMpxO/nK3mVrZRRDXt+ntZ8zYGth+mDd9NwM/Tf8GOjmGQ3VcwDPsN8+m2GNKT+bu6OXQC2tlI+qbkU8PCtADLOgiSlDFw1CMquB7a7R0Iyy6jTStJFbMfMoU=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YsnRS-0007gv-Tu; Thu, 14 May 2015 07:20:27 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YsnRK-0008QI-AO; Thu, 14 May 2015 14:20:18 +0700 Mail-Followup-To: 20385@debbugs.gnu.org, Dmitry Gutov , Paul Eggert In-Reply-To: <5553D12F.7000809@yandex.ru> (Dmitry Gutov's message of "Thu, 14 May 2015 01:33:19 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) 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:102763 Archived-At: >>>>> Dmitry Gutov writes: >>>>> On 05/13/2015 06:13 PM, Paul Eggert wrote: [=E2=80=A6] >> That's been proposed, but nobody has taken the time to do it. Plus, >> it'd be One More Thing; it's simpler if doc strings are plain >> strings and are not little subsets of Markdown or whatever. > That's trivial, if there's agreement to do it. I don't really > understand the motivation for the original proposal (to switch away > from `...'), so it's not clear to me if font-locking would satisfy > it. That=E2=80=99s simple: the ` character is not a quotation mark at all. In fact, it=E2=80=99s the spacing variant of the very same diacritical mark as is shown above e in =C3=A8. The rationale was that one can encode =E2=80=98=C3=A8=E2=80=99 as =E2=80= =98e\010`=E2=80=99 if there=E2=80=99s no =E2=80=9Cnative=E2=80=9D =C3=A8 character in the target (ASCII-based) e= ncoding. Just like one may encode =E2=80=9Cbold=E2=80=9D and =E2=80=9Cunderline=E2= =80=9D; consider, say: $ printf 'b\b_o\b_l\b_d\b_ u\bun\bnd\bde\ber\brl\bli\bin\bne\be\n' | less=20 The very same trick that up to this day is used by man(1). [=E2=80=A6] --=20 FSF associate member #7257 http://am-1.org/~ivan/ =E2=80=A6 3013 B6A0= 230E 334A