From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#20707: [PROPOSED PATCH] Use curved quoting in C-generated errors Date: Fri, 12 Jun 2015 16:46:09 -0700 Organization: UCLA Computer Science Department Message-ID: <557B6F41.5050308@cs.ucla.edu> References: <20150609133423.GA3735@acm.fritz.box> <5577516B.9020709@cs.ucla.edu> <20150609224616.GC3735@acm.fritz.box> <557779E9.3050409@cs.ucla.edu> <20150610133931.GA3632@acm.fritz.box> <557863CA.8060609@cs.ucla.edu> <20150610191730.GB3632@acm.fritz.box> <557893B3.7090402@cs.ucla.edu> <20150611190640.GA2752@acm.fritz.box> <557A46F2.50201@cs.ucla.edu> <20150612112539.GA3220@acm.fritz.box> 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 1434152844 7736 80.91.229.3 (12 Jun 2015 23:47:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jun 2015 23:47:24 +0000 (UTC) Cc: 20707@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 13 01:47:13 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 1Z3YfI-0003sQ-33 for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jun 2015 01:47:12 +0200 Original-Received: from localhost ([::1]:54365 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3YfH-0001zs-Ah for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jun 2015 19:47:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3YfD-0001ze-EI for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 19:47:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3Yf9-0000pb-DM for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 19:47:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Yf9-0000pX-A3 for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 19:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z3Yf8-0001s7-NR for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 19:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jun 2015 23:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20707 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 20707-submit@debbugs.gnu.org id=B20707.14341527797092 (code B ref 20707); Fri, 12 Jun 2015 23:47:02 +0000 Original-Received: (at 20707) by debbugs.gnu.org; 12 Jun 2015 23:46:19 +0000 Original-Received: from localhost ([127.0.0.1]:52169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3YeQ-0001qJ-L4 for submit@debbugs.gnu.org; Fri, 12 Jun 2015 19:46:19 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:52963) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3YeO-0001pz-Je for 20707@debbugs.gnu.org; Fri, 12 Jun 2015 19:46:17 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id B15921607BB; Fri, 12 Jun 2015 16:46:10 -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 3B5gg7jpp7bg; Fri, 12 Jun 2015 16:46:09 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9E63F1607D0; Fri, 12 Jun 2015 16:46:09 -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 g_GuECsEtx5Q; Fri, 12 Jun 2015 16:46:09 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 691F21607BA; Fri, 12 Jun 2015 16:46:09 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <20150612112539.GA3220@acm.fritz.box> 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:103876 Archived-At: On 06/12/2015 04:25 AM, Alan Mackenzie wrote: > No. The curly quotes had hijacked the glyphs for 0x27 and 0x60. Only from the point of view of someone who prefers an obsolescent=20 style. Nowadays those two glyphs in computer text typically stand for=20 curved quotes. So a more typical interpretation nowadays would be that=20 in that font, 0x27 and 0x60 hijacked the glyphs for curved quotes. =20 Although you prefer the older style (and that is of course your=20 privilege), your console was displaying curved single quotes just fine=20 in the typical way that most people expect nowadays on computer displays. > So far, we've got one data point, me No, we've got lots of data points. Many people use Emacs 24.5 and=20 later, it displays curved quotes in ordinary use even when users don't=20 type them, and it's not a problem in typical practice. > I think whatever happens, messing around with fonts would be needed=20 > for lots of console users No, it'll work fine for most Linux console users, as most GNU/Linux=20 distributions have console fonts that don't have the aliasing problem. =20 Debian-based distributions are fine, as are Fedora-based distributions. =20 Although you're running on one of the less-common console setups that=20 does have an aliasing problem, it's not a problem that most users of=20 these setups will care about, and anyway it's a problem that's easy to=20 fix, for the rare users who will care. > How about another approach ... translate `foo-bar' to =E2=80=98foo ba= r=E2=80=99 when=20 > doing C-h f/v, and so on? Done in commit 0fd5e6593af620863dcf90dff5d04631458e24cd dated May 28. =20 However, this doesn't fix Bug#20707, as it affects only doc strings. > >> Code might work when running on a typical Emacs system, but might fail= on an >> Emacs system configured --without-curved-quotes, because Emacs will ge= nerate >> different strings that will be treated differently. > I can't see that. There'd just be displayable characters in the two > versions - why would it matter that they were different? Code regularly processes such strings, not typically by 'read', more=20 often by applying string or regular expression matching to them.=20 Introducing this new compatibility problem would cause trouble into the=20 indefinite future. It's not worth the extra hassle.