From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: On the masking of undisplayable characters Date: Tue, 07 Jul 2015 02:07:36 +0300 Organization: LINKOV.NET Message-ID: <87381051hj.fsf@mail.linkov.net> References: <83wpydup68.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 1436224313 20701 80.91.229.3 (6 Jul 2015 23:11:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Jul 2015 23:11:53 +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 01:11:46 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 1ZCFY9-0005bo-H6 for ged-emacs-devel@m.gmane.org; Tue, 07 Jul 2015 01:11:45 +0200 Original-Received: from localhost ([::1]:53211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCFY8-0004Du-U2 for ged-emacs-devel@m.gmane.org; Mon, 06 Jul 2015 19:11:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCFY4-0004Dh-GJ for emacs-devel@gnu.org; Mon, 06 Jul 2015 19:11:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCFY3-0006N1-KA for emacs-devel@gnu.org; Mon, 06 Jul 2015 19:11:40 -0400 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:54315 helo=homiemail-a21.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCFXx-0006Hp-LB; Mon, 06 Jul 2015 19:11:33 -0400 Original-Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id 990F9300080; Mon, 6 Jul 2015 16:11:31 -0700 (PDT) Original-Received: from localhost.linkov.net (m212-119-141-63.cust.tele2.ee [212.119.141.63]) (Authenticated sender: jurta@jurta.org) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPA id 4B64530006C; Mon, 6 Jul 2015 16:11:30 -0700 (PDT) In-Reply-To: (Artur Malabarba's message of "Mon, 6 Jul 2015 20:57:08 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 69.163.253.7 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:187753 Archived-At: >> Emacs always >> displayed special characters specially. Think about the ^X control >> characters, > > That's fine. When I see a blue ^X, I know that's a control character, i= t's > very clear that it's not a ^ with an X. Highlighted using the =E2=80=98escape-glyph=E2=80=99 face. >> the glyphless-char-display feature, The =E2=80=98glyphless-char=E2=80=99 face. >> composed characters, > > You mean like a non-spacing ` and a looking like an =C3=A0? The non-spa= cing > characters are specifically designed to do that, it's not the same as > displaying one quote as another quote. Another face intended to highlight confusable characters is =E2=80=98nobr= eak-space=E2=80=99. But note how =E2=80=98gnus-article-mode=E2=80=99 uses (set (make-local-variable 'nobreak-char-display) nil) to prevent Gnus from displaying non-break space with `nobreak-space' face because usually in view modes users don't want displaying special charact= ers specially. >> even the newline. > > You mean that \n and \r\n are displayed the same way? Yeah, I've been b= it > several times by it, but at least it's indicated in the mode line. I've been bit more by indicating different codings in the mode line with the same code letter, e.g. using the same letter =E2=80=98U=E2=80=99= for utf-8, utf-16le, utf-16be, etc. Better would be to display coding system= s as full names but this makes the mode line wider.