From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#20385: [PATCH] Support curved quotes in doc strings Date: Sat, 16 May 2015 03:08:25 +0300 Message-ID: <55568A79.4060604@yandex.ru> 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> <5554155E.70000@cs.ucla.edu> <55547DC6.3090509@yandex.ru> <5555A4ED.8090500@cs.ucla.edu> <55562BB0.2010605@yandex.ru> <555640E9.4060203@cs.ucla.edu> <55564460.4020208@yandex.ru> <55566196.40105@cs.ucla.edu> <55566990.8020506@yandex.ru> <555686B7.60808@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1431734963 3980 80.91.229.3 (16 May 2015 00:09:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 May 2015 00:09:23 +0000 (UTC) To: Paul Eggert , 20385@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 16 02:09:12 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 1YtPfD-0005ow-I8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 May 2015 02:09:11 +0200 Original-Received: from localhost ([::1]:33257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtPfC-0007TH-Jq for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 May 2015 20:09:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtPf8-0007T0-Mv for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 20:09:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YtPf5-0006Et-Gp for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 20:09:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtPf5-0006EY-CZ for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 20:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YtPf4-0005ZQ-Oe for bug-gnu-emacs@gnu.org; Fri, 15 May 2015 20:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 May 2015 00:09:02 +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.143173491721371 (code B ref 20385); Sat, 16 May 2015 00:09:02 +0000 Original-Received: (at 20385) by debbugs.gnu.org; 16 May 2015 00:08:37 +0000 Original-Received: from localhost ([127.0.0.1]:46589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YtPee-0005Yb-6t for submit@debbugs.gnu.org; Fri, 15 May 2015 20:08:36 -0400 Original-Received: from mail-wg0-f46.google.com ([74.125.82.46]:34795) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YtPec-0005YP-8G for 20385@debbugs.gnu.org; Fri, 15 May 2015 20:08:34 -0400 Original-Received: by wguv19 with SMTP id v19so68769862wgu.1 for <20385@debbugs.gnu.org>; Fri, 15 May 2015 17:08:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=EE9TZGRERCSsOVGb3aunesBdY9SdB0xe03WxgeTBkPQ=; b=nIy/2BFDt0QCI7HG8wEOtUgw+K+fwV1TY5ajoCTCP643yfoqKnfWUb5oHi+x3wsQth YUwJl4qwt5UXeax0eBWwIxrjushjb5OM7QQlXPrENlkWrBMCT6jtkxHk0ujGsUH3kf92 3BhRd1SZiAwJI3UnMZqBsyQAd/ZZmJw3XpfVcHadJexZpYYHoae/AcnjOLsVG5M/NqbK FseMqXb3ufJFXCV3oVnLUKeM7S98y7U6Sn6ZWGLT9s9i3eHspwg50mRf4HnPx1C3HAJ+ BJ3HuLODiUaTI76QuBh0G7ScPWEsI5+n8YtFkiMZyZ6Jo3DieXsm4LENplD2twm07qwE wTQw== X-Received: by 10.194.82.167 with SMTP id j7mr23152097wjy.123.1431734908672; Fri, 15 May 2015 17:08:28 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id df1sm392385wib.12.2015.05.15.17.08.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 May 2015 17:08:28 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 In-Reply-To: <555686B7.60808@cs.ucla.edu> 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:102856 Archived-At: On 05/16/2015 02:52 AM, Paul Eggert wrote: > Yes it will. It'll work fine. If a documentation string is in (say) > Hungarian, a user will be able to paste quoted Hungarian text into it, > and the text will carry its Hungarian quotation marks along. It'll be > just like documentation in English and with English quotes. I see. But will elisp-completion-at-point detect that point is inside the Hungarian quotes now? Will we have to enumerate every possible kind of quote in its implementation? > The point is that it's simpler and nicer if cutting and pasting Just Works. Ok, we can say it's the main benefit. I think it's not of the utmost importance, though. > No, there's normally no need to localize those curved quotes, not if the > text is English and uses English quoting. The only time one would need > to localize is for obsolete displays lacking curved quotes, which casual > contributors are unlikely to be using nowadays anyway. And that localization code will have to deal with every kind of quote, then? > Texinfo does. Unicode curved quotes are part of the markup. They > affect spacing among other things. Okay, that's... weird. Any other examples, such as ones that newcomers to Emacs might be familiar with? >> I don't see it as clunky > > That's the main point of disagreement here. Although Emacs old-timers > are used to quoting `like this', to newbies it's a weird and offputting > relic from ancient history. That's neither here nor there. Like you said, they'd still be typing ` and ', but in your case those will be converted into actual quote characters on the fly, and in mine, only rendered as such. The end result, visually, would be the same.