unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: Artur Malabarba <bruce.connor.am@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel <emacs-devel@gnu.org>
Subject: Re: On the masking of undisplayable characters
Date: Tue, 7 Jul 2015 18:17:39 +0600	[thread overview]
Message-ID: <CAP_d_8UwLX8tDNt=+JhQRCYKv_DR-GeR6JnfwdnovfKz07JN0w@mail.gmail.com> (raw)
In-Reply-To: <CAAdUY-Lpod21GE54s8TBT70QhouopgUD2u23x26NkoYsJPO_ig@mail.gmail.com>

On Tue, Jul 7, 2015 at 3:32 PM, Artur Malabarba
<bruce.connor.am@gmail.com> wrote:

> Let's say the user is reading some code designed to read a stream and
> do something with quotation marks. Or maybe the user is reading prose
> in a context where typography is important.

That description sounds like me, and in my view the context includes:

* any text-based files meant to be read by humans;
* any user-directed text strings in program code;
* any comments in program code that are meant to be read by humans (as
opposed to compiler pragma directives).

> Usually they'll have a font to display these round quotations, but if
> they start emacs without a graphical frame for one reason or another
> (or, god forbid, they've misconfigured something) then it would a
> problem that they see " when they actually have “ or ”.

If I have misconfigured something and see straight quotes instead of
curly quotes in an X frame, I will notice it right away and start
investigating.

The same applies to a terminal frame running in an X-based terminal emulator.

If I am on a Linux terminal, typography will be the least of my
concern. I will be busy getting my X display up and running again, or
getting my system working, or resolving whatever other disaster that
forced me out of X. Heck, even my native alphabet is not displayed
properly on the Linux tty.

On a Windows machine in a graphical frame, the situation is analogous to X.

On a Windows console with a proper vector font, the situation is
analogous to an X-based terminal.

On a Windows console with a bitmap font, I would expect degraded
typography, and either use C-x = on each suspect quote, or take my
time migrating to a better environment.

(Side note: Two editors that I sometimes use beside Emacs display the
code of the character under cursor in their status lines. This is very
convenient when checking for unusual characters. Emacs can be set up
to do the same by adding “(:eval (format "%06x" (following-char)))” to
the mode-line-format variable.)



  reply	other threads:[~2015-07-07 12:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-06 17:38 On the masking of undisplayable characters bruce.connor.am
2015-07-06 18:16 ` Eli Zaretskii
2015-07-06 19:57   ` Artur Malabarba
2015-07-06 23:07     ` Juri Linkov
2015-07-07  2:44       ` Eli Zaretskii
2015-07-07 14:53         ` Eli Zaretskii
2015-07-07  2:43     ` Eli Zaretskii
2015-07-07  9:32       ` Artur Malabarba
2015-07-07 12:17         ` Yuri Khan [this message]
2015-07-07 12:29           ` Artur Malabarba
2015-07-07 13:14             ` Yuri Khan
2015-07-07 13:23               ` Artur Malabarba
2015-07-20 11:02             ` N. Jackson
2015-07-07 15:51         ` Stefan Monnier

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='CAP_d_8UwLX8tDNt=+JhQRCYKv_DR-GeR6JnfwdnovfKz07JN0w@mail.gmail.com' \
    --to=yuri.v.khan@gmail.com \
    --cc=bruce.connor.am@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).