From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master b533552 2/5: Documentation fixes re quotes Date: Thu, 3 Sep 2015 14:50:26 -0700 Organization: UCLA Computer Science Department Message-ID: <55E8C0A2.2010809@cs.ucla.edu> References: <20150831061236.27796.57762@vcs.savannah.gnu.org> <55E3F3AD.2010602@yandex.ru> <55E3F6B6.20205@cs.ucla.edu> <55E3F88A.50003@yandex.ru> <55E3F9D7.6040601@cs.ucla.edu> <55E64B4B.3030006@cs.ucla.edu> <55E86963.3060609@yandex.ru> <55E886A0.8090907@cs.ucla.edu> <55E89630.2060604@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1441317065 12056 80.91.229.3 (3 Sep 2015 21:51:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2015 21:51:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 03 23:50:57 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZXcPC-0001DM-5t for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 23:50:50 +0200 Original-Received: from localhost ([::1]:52143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXcPB-00048G-CH for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 17:50:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXcOz-000481-15 for emacs-devel@gnu.org; Thu, 03 Sep 2015 17:50:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXcOt-0007FS-Ov for emacs-devel@gnu.org; Thu, 03 Sep 2015 17:50:36 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:54670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXcOt-0007FD-KP for emacs-devel@gnu.org; Thu, 03 Sep 2015 17:50:31 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 6A075160FD9; Thu, 3 Sep 2015 14:50:30 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id qBwQzrGz7d2m; Thu, 3 Sep 2015 14:50:29 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id B571B160FDA; Thu, 3 Sep 2015 14:50:29 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5QkXXmAhK_9w; Thu, 3 Sep 2015 14:50:29 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 956AE160FD9; Thu, 3 Sep 2015 14:50:29 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-Reply-To: <55E89630.2060604@yandex.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189561 Archived-At: Dmitry Gutov wrote: > It's more error prone: > > If the programmer types `foo`, they can look at the output and see that= the > quotes were not recognized as a matching pair (don't render as expected= ). > > If the programmer types =E2=80=98foo=E2=80=98, they can easily miss the= non-matching quotes First, the two scenarios are the same in the typical text-quoting-style c= ase,=20 because the output looks like =E2=80=98foo=E2=80=98 either way, and whate= ver method works for=20 detecting input `foo` will work equally well for detecting input =E2=80=98= foo=E2=80=98. Second and more important, it=E2=80=99s more efficient to detect and fix = this issue=20 immediately while typing, as the highlighting around the foo won=E2=80=99= t be as=20 expected and a programmer can see that easily right away and just backspa= ce and=20 fix the bad quote while it=E2=80=99s fresh. It=E2=80=99d be considerably = more awkward and=20 error-prone to detect the problem only when it=E2=80=99s rendered into a = *Help* buffer.