From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#44664: 28.0.50; troubles with some chars in term Date: Thu, 19 Nov 2020 19:38:04 +0300 Message-ID: References: <838sazqr2r.fsf@gnu.org> <877dqjhy0x.fsf@igel.home> <873617m4tv.fsf@gnus.org> <834klmr989.fsf@gnu.org> <83d00apm6q.fsf@gnu.org> <833615pglp.fsf@gnu.org> <83r1opnwzs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17583"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0 (3d08634) (2020-11-07) Cc: larsi@gnus.org, schwab@linux-m68k.org, 44664@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 19 17:54:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfnCI-0004TG-9b for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 17:54:14 +0100 Original-Received: from localhost ([::1]:33534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfnCH-00074t-C7 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 11:54:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfnC6-00074U-8C for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2020 11:54:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfnC5-0003FC-W5 for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2020 11:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kfnC5-0002Pq-VH for bug-gnu-emacs@gnu.org; Thu, 19 Nov 2020 11:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Nov 2020 16:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44664 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 44664-submit@debbugs.gnu.org id=B44664.16058048069228 (code B ref 44664); Thu, 19 Nov 2020 16:54:01 +0000 Original-Received: (at 44664) by debbugs.gnu.org; 19 Nov 2020 16:53:26 +0000 Original-Received: from localhost ([127.0.0.1]:40821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfnBV-0002Ol-SQ for submit@debbugs.gnu.org; Thu, 19 Nov 2020 11:53:26 -0500 Original-Received: from static.rcdrun.com ([95.85.24.50]:57137) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfnBU-0002OV-9K for 44664@debbugs.gnu.org; Thu, 19 Nov 2020 11:53:24 -0500 Original-Received: from localhost ([::ffff:41.202.241.56]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002C1AE3.000000005FB6A2FA.000006F0; Thu, 19 Nov 2020 16:53:13 +0000 Content-Disposition: inline In-Reply-To: <83r1opnwzs.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193732 Archived-At: * Eli Zaretskii [2020-11-19 19:16]: > > # > And this is different from the font used for, say, ASCII characters? No, same font is appearing everywhere. > > Otherwise you may see 2 attached screenshots. First screenshot will > > show condition "before" as that is when I yet did not come to > > allegedly offending characters. There is one line for message of > > Thien-Thi > > > > What one DOES NOT SEE is that there is actually another invisible > > line, now shown there. I can see it in mutt in xterm, you can find it > > under "Web spy" and before "Thien-Thi". That line is not shown in mutt > > under M-x term, until I come with the mutt highlighted line to it. > > > > The line is from 2002-03-09 - as I said it cannot be seen. > > That mbox file has several email messages where the encoding is either > wrongly declared or is not recognized by mutt. That's a different > problem, unrelated to term.el and its handling of fonts. I do understand to a degree. I am pointing to the fact that mutt handles those characters and in external terminal emulators it looks just fine. > > Then that line shows itself and I can see some replaced characters and > > I can see this character not replaced with that circled ?. It is just > > perception that this character and maybe others are not properly > > interpreted by the terminal or fonts. > > > > position: 2833 of 7081 (40%), column: 52 > > character:  (displayed as ) (codepoint 60531, #o166163, #xec73) > > charset: unicode (Unicode (ISO10646)) > > code point in charset: 0xEC73 > > syntax: w which means: word > > category: L:Left-to-right (strong) > > to input: type "C-x 8 RET ec73" > > buffer code: #xEE #xB1 #xB3 > > file code: #xEE #xB1 #xB3 (encoded by coding system utf-8-unix) > > display: no font available > > > > Character code properties: customize what to show > > general-category: Co (Other, Private Use) > > decomposition: (60531) ('') > > This is a PUA character, another separate issue (Emacs doesn't expect > to see such characters in human-readable text, and cannot display them > without special tinkering with font setup). OK, I wish I could help more. > Finally, I don't know what byte sequences did mutt send to the > terminal, it is possible that some problems you see are because > term.el is unable to interpret some sequences that mutt assumes to be > supported. (What termcap/terminfo entry did you use in that shell, > which tells mutt what commands to send?) I think those are set by M-x terminal $ echo $TERM eterm-color ~ $ echo $TERMINFO /package/text/emacs/share/emacs/28.0.50/etc/ ~ $ echo $TERMCAP eterm-color:li#28:co#97:cl=\E[H\E[J:cd=\E[J:bs:am:xn:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:ce=\E[K:ho=\E[H:pt:al=\E[L:dl=\E[M:DL=\E[%dM:AL=\E[%dL:cs=\E[%i%d;%dr:sf=^J:dc=\E[P:DC=\E[%dP:IC=\E[%d@:im=\E[4h:ei=\E[4l:mi::so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:md=\E[1m:mr=\E[7m:me=\E[m:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:kl=\EOD:kd=\EOB:kr=\EOC:ku=\EOA:kN=\E[6~:kP=\E[5~:@7=\E[4~:kh=\E[1~:mk=\E[8m:cb=\E[1K:op=\E[39;49m:Co#8:pa#64:AB=\E[4%dm:AF=\E[3%dm:cr=^M:bl=^G:do=^J:le=^H:ta=^I:se=\E[27m:ue=\E[24m:kb=^?:kD=^[[3~:sc=\E7:rc=\E8:r1=\Ec: > Bottom line, I'm no longer sure which problems we are discussing here, > since we have several unrelated issues involved. Please consider > separating the issues. I wish that lines are correctly displayed on terminal emulator screen, that is the sole subject. But now I have idea, let me answer in few minutes.