From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#26396: 25.1; char-displayable-p on a latin1 tty Date: Tue, 18 Apr 2017 10:49:37 -0700 Organization: UCLA Computer Science Department Message-ID: <0e10a8aa-0388-2a85-28a9-07f055624345@cs.ucla.edu> References: <87efx31vxy.fsf@blah.blah> <83o9w7mjlj.fsf@gnu.org> <87k26u9n4t.fsf@blah.blah> <83h91wlpws.fsf@gnu.org> <83fuhglp42.fsf@gnu.org> <47a950c4-2a4b-dfab-36e4-2b691b406b5f@cs.ucla.edu> <83bms0ixq2.fsf@gnu.org> <83inm7go6o.fsf@gnu.org> <24bd0681-08d5-137f-29df-715eefddf2ae@cs.ucla.edu> <834lxqgipc.fsf@gnu.org> <11cfdd58-d2c2-b32f-ecc3-eb86db6711b8@cs.ucla.edu> <83o9vwgafr.fsf@gnu.org> <87k26jd9ho.fsf@blah.blah> <2685c665-652c-644a-9550-e0e283d9f315@cs.ucla.edu> <83vaq3eell.fsf@gnu.org> <0fe79f3f-9023-a5d9-b610-199ce6d7bf62@cs.ucla.edu> <83mvbfe9sg.fsf@gnu.org> <83tw5mdgwq.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1492537815 32145 195.159.176.226 (18 Apr 2017 17:50:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Apr 2017 17:50:15 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 Cc: user42_kevin@yahoo.com.au, 26396@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 18 19:50:11 2017 Return-path: Envelope-to: geb-bug-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 1d0XGT-00087V-3H for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Apr 2017 19:50:09 +0200 Original-Received: from localhost ([::1]:43259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0XGV-0001NL-TY for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Apr 2017 13:50:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0XGP-0001Lu-JB for bug-gnu-emacs@gnu.org; Tue, 18 Apr 2017 13:50:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0XGM-0007mk-IM for bug-gnu-emacs@gnu.org; Tue, 18 Apr 2017 13:50:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56852) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d0XGM-0007mc-EP for bug-gnu-emacs@gnu.org; Tue, 18 Apr 2017 13:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d0XGM-0004kh-6Y for bug-gnu-emacs@gnu.org; Tue, 18 Apr 2017 13:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Apr 2017 17:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26396 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26396-submit@debbugs.gnu.org id=B26396.149253779218245 (code B ref 26396); Tue, 18 Apr 2017 17:50:02 +0000 Original-Received: (at 26396) by debbugs.gnu.org; 18 Apr 2017 17:49:52 +0000 Original-Received: from localhost ([127.0.0.1]:55051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0XGC-0004kD-8c for submit@debbugs.gnu.org; Tue, 18 Apr 2017 13:49:52 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:47444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0XG9-0004jw-Fe for 26396@debbugs.gnu.org; Tue, 18 Apr 2017 13:49:50 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7D03A16008C; Tue, 18 Apr 2017 10:49:43 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id eaZW-3pwpCjH; Tue, 18 Apr 2017 10:49:42 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id C007216008E; Tue, 18 Apr 2017 10:49:42 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Oo8M_mpCI4Ng; Tue, 18 Apr 2017 10:49:42 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 6E0C516007C; Tue, 18 Apr 2017 10:49:42 -0700 (PDT) In-Reply-To: <83tw5mdgwq.fsf@gnu.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:131737 Archived-At: On 04/17/2017 11:32 AM, Eli Zaretskii wrote: > Can you show an example of a character displayed in different forms > depending on buffer contents? I'd like to look what the code does and why. In master on the Linux console in non-UTF-8 mode and with a unibyte en_US locale, if I run 'emacs -Q' and type 'C-x 8 RET 100 RET C-x 8 RET 200 RET' the screen looks like this: \u0100\u0200 If I then type 'C-x 8 RET 300 RET', the '\u0200' magically changes to '?' and another '?' is appended, so that the screen then looks like this: \u0100?? Presumably this is some sort of combining-character thing. However, if the intent is to present a combined character, shouldn't the character be displayed as a single '?', to better mimic the single glyph you'd see on an X display? By the way, the '?'s look like ordinary question marks; they are not highlighted, as the \u0100 is. Shouldn't they be highlighted somehow? And while I have your ear, why is U+0700 SYRIAC END OF PARAGRAPH displayed as an ordinary '?' while U+0500 CYRILLIC CAPITAL LETTER KOMI DE is displayed as a highlighted '\u0500'?