unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Non-standard DOS VGA Font single quote
Date: Thu, 7 Sep 2017 17:18:27 +0000	[thread overview]
Message-ID: <20170907171827.GA4488@ACM> (raw)
In-Reply-To: <mailman.14211.1504339157.21957.help-gnu-emacs@gnu.org>

Hello, Eli and Ryan.

In article <mailman.14211.1504339157.21957.help-gnu-emacs@gnu.org> 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).



       reply	other threads:[~2017-09-07 17:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.14211.1504339157.21957.help-gnu-emacs@gnu.org>
2017-09-07 17:18 ` Alan Mackenzie [this message]
2017-09-01 20:24 Non-standard DOS VGA Font single quote rjd
2017-09-01 20:26 ` rjd
2017-09-02  7:58 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170907171827.GA4488@ACM \
    --to=acm@muc.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).