From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: On the masking of undisplayable characters Date: Tue, 7 Jul 2015 18:17:39 +0600 Message-ID: References: <83wpydup68.fsf@gnu.org> <83vbdwvga9.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1436271496 13573 80.91.229.3 (7 Jul 2015 12:18:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jul 2015 12:18:16 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 07 14:18:13 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZCRpF-0002L8-67 for ged-emacs-devel@m.gmane.org; Tue, 07 Jul 2015 14:18:13 +0200 Original-Received: from localhost ([::1]:57084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCRpE-0006qA-EA for ged-emacs-devel@m.gmane.org; Tue, 07 Jul 2015 08:18:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCRpA-0006q3-Ol for emacs-devel@gnu.org; Tue, 07 Jul 2015 08:18:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCRp7-000386-TN for emacs-devel@gnu.org; Tue, 07 Jul 2015 08:18:08 -0400 Original-Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]:35632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCRp4-00036L-JP; Tue, 07 Jul 2015 08:18:02 -0400 Original-Received: by labgy5 with SMTP id gy5so40121394lab.2; Tue, 07 Jul 2015 05:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=gw5TuuAgnCeO51MVDPzN0bb9UMbo22rgfuRXNTbYyBo=; b=zbJ3qf22GRgbgVNeF1k8Yw1uhXHTFBM2nOuGp8eUiG6ZwDDHNSJN3p1mO/jm30PVUR 8IKwnWip3HQYGwmuqobaUEPdyBzxpDLajWXEoosDqUMxXbuiteUSscoDKHBPHoZN9TCA bfGseIIG8mM/xRBoZfsRT9zUEQwHNXxi75dhVyw6WG1FIzI5NinhadrjJd31nwMaTpRY fOwgf+sKjvWDFAnylFyw0C0BLKk/PPPpUSe+Fr+4B2e5J1QECI4e6D+a+5pOSq5zglrK uen+1/KVAwOeEto5lNjIEZkQZ9p1ZUArnPJf+bTYPAJ+ujcb7jaMhRixinbZqOzw9a8+ styQ== X-Received: by 10.152.22.168 with SMTP id e8mr3795077laf.40.1436271480213; Tue, 07 Jul 2015 05:18:00 -0700 (PDT) Original-Received: by 10.25.43.65 with HTTP; Tue, 7 Jul 2015 05:17:39 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: XyCBryBaBTXlMErRhzGEjkymK3Q X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187761 Archived-At: On Tue, Jul 7, 2015 at 3:32 PM, Artur Malabarba 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 =E2=80=9C or =E2=80=9D. 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 emulato= r. 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 =3D 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 =E2=80=9C(:eval (format "%06x" (following-char)))= =E2=80=9D to the mode-line-format variable.)