From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Performance degradation from long lines Date: Thu, 25 Oct 2018 22:14:07 +0300 Message-ID: <835zxprg8w.fsf@gnu.org> References: <27587e98-13f4-a816-f6c2-7cfd68071ed0@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1540494791 20292 195.159.176.226 (25 Oct 2018 19:13:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 25 Oct 2018 19:13:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 25 21:13:06 2018 Return-path: Envelope-to: ged-emacs-devel@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 1gFl46-0005BZ-Pk for ged-emacs-devel@m.gmane.org; Thu, 25 Oct 2018 21:13:06 +0200 Original-Received: from localhost ([::1]:56601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFl6D-0003rP-7C for ged-emacs-devel@m.gmane.org; Thu, 25 Oct 2018 15:15:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFl5M-0003qD-WF for emacs-devel@gnu.org; Thu, 25 Oct 2018 15:14:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFl5G-00067K-JF for emacs-devel@gnu.org; Thu, 25 Oct 2018 15:14:22 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFl5G-00065g-3P; Thu, 25 Oct 2018 15:14:18 -0400 Original-Received: from [176.228.60.248] (port=3057 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gFl5C-0005u1-Sk; Thu, 25 Oct 2018 15:14:18 -0400 In-reply-to: <27587e98-13f4-a816-f6c2-7cfd68071ed0@gmail.com> (message from =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel on Thu, 25 Oct 2018 13:53:20 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:230668 Archived-At: > From: Clément Pit-Claudel > Date: Thu, 25 Oct 2018 13:53:20 -0400 > > * bold, italics, and other important face attributes > * Some characters are not covered by fixed-pitch fonts, so they cannot be displayed. The usual box-with-hex-code display of such characters will also be lost, so we will be left with displaying them as ? or somesuch. > * Character composition will also be lost, so bye-bye prettify-symbols-mode and support for some scripts that cannot be displayed without composed characters. > * Some characters (mostly from East-Asian scripts) need to be displayed at twice the width, so either you give up those scripts, or you are back to the original problem. > > Many (all?) of these features are available in the terminal, too (at least the following: bold, underline, italics, characters that don't have fixed-pitched fonts, prettify-symbols-mode, and wide characters). What did you mean by "terminal Emacs doesn't have those capabilities in the first place"? Character attributes (bold, italics) on a TTY don't affect the size of the characters. The box-with-hex-code and character composition are not available on a TTY. Wide characters _are_ available, but they count as 2 characters, so again they don't affect the metrics. Prettify-symbols-mode will only work if the replacement is a single character, not a composition of several characters in the same cell.