From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: Non-standard DOS VGA Font single quote Date: Thu, 7 Sep 2017 17:18:27 +0000 Message-ID: <20170907171827.GA4488@ACM> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1504805059 4798 195.159.176.226 (7 Sep 2017 17:24:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 7 Sep 2017 17:24:19 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 07 19:23:56 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dq0Wh-0007nM-Kk for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Sep 2017 19:23:39 +0200 Original-Received: from localhost ([::1]:41477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dq0Wo-0003nP-KK for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Sep 2017 13:23:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dq0WD-0003k4-1z for help-gnu-emacs@gnu.org; Thu, 07 Sep 2017 13:23:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dq0W8-0007du-Ho for help-gnu-emacs@gnu.org; Thu, 07 Sep 2017 13:23:09 -0400 Original-Received: from ocolin.muc.de ([193.149.48.4]:26675 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1dq0W8-0007dE-6T for help-gnu-emacs@gnu.org; Thu, 07 Sep 2017 13:23:04 -0400 Original-Received: (qmail 70168 invoked by uid 3782); 7 Sep 2017 17:23:02 -0000 Original-Received: from acm.muc.de (p548C7C68.dip0.t-ipconnect.de [84.140.124.104]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 07 Sep 2017 19:23:01 +0200 Original-Received: (qmail 4495 invoked by uid 1000); 7 Sep 2017 17:18:27 -0000 Content-Disposition: inline In-Reply-To: X-Newsgroups: gnu.emacs.help X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.4 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114191 Archived-At: Hello, Eli and Ryan. In article you wrote: >> From: rjd <3246251196ryan@gmail.com> >> Date: Fri, 1 Sep 2017 21:24:46 +0100 >> In general, single quotes work fine even in emacs, but for some >> reason in *Help* buffers they look different. This also applies when >> I compile something in shell and I get an error message > In help buffers and error messages, Emacs attempts to use Unicode > curly quotes on terminals that support these characters. Surely, what we need is a customisation variable, by which the user can chose to enable this character substitution if he wants it. >> Anyway, I have attached the images of Perfect DOS VGA and Moder DOS >> 437 (the latter being an okay font, but I much prefer perfect). > What version of Emacs is that? Emacs on MS-DOS should display these > quotes as ASCII characters 'like this'. For some reason, it sounds > like Emacs thinks your terminal supports the Unicode curly quote > characters, so it tries to display them. > What does this produce inside Emacs: > M-: (char-displayable-p #x2018) RET > ? I think char-displayable-p is too unreliable to use for this purpose. It doesn't work on a Linux tty, and would appear not to work on R's terminal either. -- Alan Mackenzie (Nuremberg, Germany).