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: Sat, 06 Jun 2015 17:09:13 -0700 Organization: UCLA Computer Science Department Message-ID: <55738BA9.7050104@cs.ucla.edu> References: <556C81C4.3010107@cs.ucla.edu> <20150601171723.GB16298@acm.fritz.box> <556CA97C.8070807@cs.ucla.edu> <20150602115600.GA3468@acm.fritz.box> <556DCE36.9070505@cs.ucla.edu> <20150602170724.GA2567@acm.fritz.box> <20150602204423.GA2619@acm.fritz.box> <55707236.6060605@cs.ucla.edu> <20150606155445.GE3418@acm.fritz.box> <557337CD.60706@cs.ucla.edu> <20150606205023.GA3862@acm.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050900000407030701030604" X-Trace: ger.gmane.org 1433637742 9495 80.91.229.3 (7 Jun 2015 00:42:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Jun 2015 00:42:22 +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 Sun Jun 07 02:42:00 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 1Z1Of1-0000te-3E for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Jun 2015 02:41:59 +0200 Original-Received: from localhost ([::1]:53059 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1Of0-0007Yo-GM for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jun 2015 20:41:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1Oew-0007Xi-RS for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2015 20:41:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1Oet-0007Je-IO for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2015 20:41:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1OAA-0003Ze-7A for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2015 20:10:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z1OA9-0006k3-8R for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2015 20:10:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Jun 2015 00:10:04 +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.143363576525865 (code B ref 20707); Sun, 07 Jun 2015 00:10:04 +0000 Original-Received: (at 20707) by debbugs.gnu.org; 7 Jun 2015 00:09:25 +0000 Original-Received: from localhost ([127.0.0.1]:43567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1O9V-0006j6-1q for submit@debbugs.gnu.org; Sat, 06 Jun 2015 20:09:25 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:45803) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z1O9S-0006is-3w for 20707@debbugs.gnu.org; Sat, 06 Jun 2015 20:09:23 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 047FB1606C6; Sat, 6 Jun 2015 17:09:16 -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 WxpKtDCovJZs; Sat, 6 Jun 2015 17:09:14 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 609A41606D3; Sat, 6 Jun 2015 17:09:14 -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 qYhle8QoOsc8; Sat, 6 Jun 2015 17:09:14 -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 35D931606C6; Sat, 6 Jun 2015 17:09:14 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <20150606205023.GA3862@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:103684 Archived-At: This is a multi-part message in MIME format. --------------050900000407030701030604 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Alan Mackenzie wrote: > Up till now, all messages output have been ASCII (with the exception of user > supplied characters and in some other rare instances such as outputting > `sentence-end'). No, even the current stable version of Emacs (24.4) regularly outputs curved quotes on typical displays. I just now ran emacs -Q, typed "C-h i m emacs RET", and saw curved quotes on the first screenful of the Emacs manual. So we're not making such a drastic change here; we're just evolving Emacs in the natural direction. > does the code test the output > display setup to decide what sort of quotes to output (best), or is it up > to some user option (middling) or is it hard coded (worst)? It tests the output display setup. >> This is not too much to ask of an Emacs developer. > > Of course not, but could it be too much to ask of an Emacs user? Emacs users in 8-bit environments shouldn't need to worry about this; they should just see straight quotes where the Emacs manual etc. uses curved ones. This thread is more about the special case of a developer who's using a Linux console that doesn't support the full Unicode gamut. > this warrants an extensive entry in NEWS. Makes sense, and the next iteration of this patch will add a NEWS entry. > I don't think that's the font for me. It has one-pixel thick spidery > characters, rather than the two-pixel thick ones the default fonts have. The font has a bold variant. I'll attach Lat15-TerminusBold16.psf.gz. There are other variants that are even bigger, if you like. > ... Its apostrophe is a vertical line rather than a top right to bottom left > sloping character, and I find its curly single quotes too indistinct If you just want to continue to use the same font, how about the attached font lat1-16.psfu.gz instead? It's taken from the current stable version of kbd ; see and extract the file kbd-2.0.2/data/consolefonts/lat1-16.psfu and then use gzip to get the compressed version. This handles curved single quotes and if it's the same lat1-16 font you're used to you should find it comfortable. Curved double quotes don't come up as often, but if you want them to be displayed using a graphical representation other than '"', you can do something like the following: (printf '0x0d3 U+201C\n0x0d9 U+201D\n'; psfgettable lat1-16.psfu) | psfaddtable lat1-16.psfu - lat1-16-double.psfu gzip -9n lat1-16-double.psfu and then use the font lat1-16-double.psfu.gz instead. --------------050900000407030701030604 Content-Type: application/gzip; name="Lat15-TerminusBold16.psf.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Lat15-TerminusBold16.psf.gz" H4sIADBQN1UCA3VXe5jU1BU/MGGk/aZ0RdlGWIbsykUFH8GVNeCwgoii9oUWpS8NCIFCamnR ddRh/PAv/xT83BZrv0ortVpKrbUIijiCRtBxWR+Mq6wLvtZHKWxfdKpr0t9NbpKbsNyZ37nn 3Oe555z7SJs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u8B9k36V2Y38W5RXfp15Hty3SVM2Zl4AN58c0KvpRdBraISyB/l3qEV5KLMX3AJ6CfRa ehn0OqqCLiSmPJx5Bdx3aYvShfx71JnZh/z7WNkPgB8C1wM3ACawiHSlG/WL6VXQG2m28hry JfQ66FKapryB3KL9oMuoBrqc3gT9EV2r9CBfQQuVt5CvpLdBbToA+mPqBb2J3gH9CbUrfchX 0SzlIPKf0iHQn9G7oKtpgbKa3gN3M70Pegt9ANpBH4LeSv2gRZqrfIT8NpqjfIz8dvoE9A5o XQLWAGVgF/AiMAh8ArwHfAAcAj4EPgI+Bf5G8xXP+xjcUboO3BFwh4HngRdoCvbHXnD9gAP8 GzgG/BP4HPgf8aPb82pAL/Ab4LfAJr5rEOHrsfPeBf934F/AZ8A/gFeBR4GngGeB3cBm4Blg B7AR+AOtQAw+TStB1/GdBuxB+XCWYXeyNewOdiu7jd2C0olsCpvMzmJnsjPYJMZQ8hLavUzD sJ4quFeALmAfnYSSbmqAVq9Bfh14A2hgp7DR7GT0O5V9jTWyMeAuYBexGWw6M9iFrI1NQ8nZ rJWdz6YynZ3HzmXnoKSJnc5aWDPT2ASWZ+NRQmwYK7MSu511sCK7GSUFdhW7kl3B5rHL2WVs LruUzWGXsNlsFruYtbOZaLEfGrwJvAW8DRwA+oD3gQHARpv/IP8CcIE8tJ8A6MBU4GrgGmAF 2qlsHBvLTgOXY19lo9hXwN0NXI/6GwATWASsAQ7ySEFeycC3OPF6gb/SDkinamPgOxU4DRgL NAF5QOOnFjAdWAS//BljLEW+BJiBMhP5f1E2D/ljyBsRP08iHwn5TtQ/Dv5BtgUajUDJ/wEw 1/jUuBUAAA== --------------050900000407030701030604 Content-Type: application/gzip; name="lat1-16.psfu.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="lat1-16.psfu.gz" H4sIAAAAAAACA3VWWXAcRxkeXrb8MCXES2oLXLYwBsy9CSCGMChgwhWOmBwc4VqMGQwMsgig LDCMx7ayWdkJceRd28pB5NhyfCV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