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: Wed, 10 Jun 2015 12:44:51 -0700 Organization: UCLA Computer Science Department Message-ID: <557893B3.7090402@cs.ucla.edu> References: <20150606205023.GA3862@acm.fritz.box> <55738BA9.7050104@cs.ucla.edu> <20150608171804.GA3184@acm.fritz.box> <55768D82.3040509@cs.ucla.edu> <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> 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 1433965523 17239 80.91.229.3 (10 Jun 2015 19:45:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Jun 2015 19:45:23 +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 Wed Jun 10 21:45: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 1Z2lw0-0001rF-Mf for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jun 2015 21:45:12 +0200 Original-Received: from localhost ([::1]:42083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2lw0-0005Xz-9v for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jun 2015 15:45:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2lvw-0005Sx-2x for bug-gnu-emacs@gnu.org; Wed, 10 Jun 2015 15:45:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z2lvr-0008CQ-US for bug-gnu-emacs@gnu.org; Wed, 10 Jun 2015 15:45:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z2lvr-0008Br-Ri for bug-gnu-emacs@gnu.org; Wed, 10 Jun 2015 15:45:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z2lvr-0007f2-5Y for bug-gnu-emacs@gnu.org; Wed, 10 Jun 2015 15:45:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jun 2015 19:45: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.143396549629416 (code B ref 20707); Wed, 10 Jun 2015 19:45:02 +0000 Original-Received: (at 20707) by debbugs.gnu.org; 10 Jun 2015 19:44:56 +0000 Original-Received: from localhost ([127.0.0.1]:47499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2lvj-0007eL-Kk for submit@debbugs.gnu.org; Wed, 10 Jun 2015 15:44:56 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:45799) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2lvh-0007eB-HW for 20707@debbugs.gnu.org; Wed, 10 Jun 2015 15:44:54 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1D17916072B; Wed, 10 Jun 2015 12:44:53 -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 RgfuoXwnOJA9; Wed, 10 Jun 2015 12:44:52 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2EF4A16074B; Wed, 10 Jun 2015 12:44:52 -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 Bu1EUGtTWu5Q; Wed, 10 Jun 2015 12:44:52 -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 188EF160747; Wed, 10 Jun 2015 12:44:52 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <20150610191730.GB3632@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:103801 Archived-At: On 06/10/2015 12:17 PM, Alan Mackenzie wrote: > It seems to me, judging by the number of questions relating to Emacs on > the Linux console I've answered over the years, the number of users is > not small. I'm afraid there was a miscommunication there. My message was not about=20 people who use the Linux console, a small but hardy band of hackers. It=20 was about people who use the Linux console in an awful mode that can't=20 display curved single quotes. That's not you, and it's not me (and I do=20 use Emacs on the Linux console and I haven't configured it specially),=20 and I doubt whether it's RMS either. Perhaps some people use Emacs that=20 way occasionally, but I'm skeptical that this is a significant problem. =20 If it is, we can easily solve it by automatically doing in Emacs the=20 equivalent of the font substitution I gave the shell script for in a=20 recent message. So this issue is not a fundamental obstacle to the chang= e. > My proposition is that string literals remain constants > just as they are now. The decision would be made at configuration time= , > and a trivial #ifdef in the reader would decide at build time how to > expand the escaped quotes. Making them constants removes the most serious objection I had to the=20 idea. I wouldn't favor writing documentation that way, as it's ugly to=20 quote \`like this\' when it can easily be quoted =E2=80=98like this=E2=80= =99. But it=20 could be useful for people who prefer its minor ugliness to having to=20 learn how to type curved quotes, so I suppose we can add it. However, the configuration-time switch sounds like a non-starter, as it=20 would be one more source of portability hassles and it shouldn't be=20 needed if we get the display problems fixed, which we need to fix=20 anyway. That is, the escapes should simply generate curved single=20 quotes on all platforms.