From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#30539: 26.0; `char-displayable-p' is much slower in Emacs 25 and 26 Date: Wed, 28 Feb 2018 11:53:49 -0800 (PST) Message-ID: <9c58c5b3-dccc-4b8e-a5b3-d4d23ba696e3@default> References: <<8c79c39f-7abb-4591-a676-17fb46af5a8f@default>> <> <> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1519847672 21638 195.159.176.226 (28 Feb 2018 19:54:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Feb 2018 19:54:32 +0000 (UTC) Cc: 30539@debbugs.gnu.org To: "Charles A. Roelli" , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 28 20:54:27 2018 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 1er7o3-0004xb-56 for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Feb 2018 20:54:27 +0100 Original-Received: from localhost ([::1]:46569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er7q5-0003nj-DE for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Feb 2018 14:56:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er7oh-00032l-Ip for bug-gnu-emacs@gnu.org; Wed, 28 Feb 2018 14:55:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er7oc-000304-HT for bug-gnu-emacs@gnu.org; Wed, 28 Feb 2018 14:55:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58213) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1er7oc-0002zU-C9 for bug-gnu-emacs@gnu.org; Wed, 28 Feb 2018 14:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1er7oc-0004hH-4z for bug-gnu-emacs@gnu.org; Wed, 28 Feb 2018 14:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Feb 2018 19:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30539 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30539-submit@debbugs.gnu.org id=B30539.151984765417987 (code B ref 30539); Wed, 28 Feb 2018 19:55:02 +0000 Original-Received: (at 30539) by debbugs.gnu.org; 28 Feb 2018 19:54:14 +0000 Original-Received: from localhost ([127.0.0.1]:37877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er7no-0004g0-NF for submit@debbugs.gnu.org; Wed, 28 Feb 2018 14:54:13 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:53746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1er7nm-0004fo-VW for 30539@debbugs.gnu.org; Wed, 28 Feb 2018 14:54:11 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w1SJq0UK100516; Wed, 28 Feb 2018 19:53:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=XaWxLHcgRiv3S80Uau7XHibTPepKyi6WLWA56jL1RuU=; b=t5QsSyghH1MSccnR+prjqdCzTcO6xxpATbOSSHQgUC+5YdswD4VeTGYKHJIgLW+3chwj WUU+7pnZZkunV37olg3xlC8bJRjJqD4KQ7RkN6LImCl2ZzDJ8rR/K8npgiwV8y1iKMBM GhVxqvc8hR26/g96EOqtRe/kN2CMYQOcGWliAKiJZI6/4rab+S3ke0sDd/P/KzdPxHXz JM8a7a0oUmcn37ArsUryTrjpuMXfaikdMnaxuQxftabx1zkyDtXpP5MPWkK7iKa5mnkt 9EWpey4U7rGNHPwS2I1Ow1GVTjJ7Iry2BBpFtFA1EuTHwSFdd5vpJJnRY7L4bBezcOR3 1w== Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2130.oracle.com with ESMTP id 2ge24s08we-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Feb 2018 19:53:55 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w1SJrsKc020988 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 28 Feb 2018 19:53:54 GMT Original-Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w1SJrpXD002476; Wed, 28 Feb 2018 19:53:52 GMT In-Reply-To: <> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4654.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8818 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802280243 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:143764 Archived-At: > But I have noticed that displaying files containing certain Unicode > characters can lock Emacs for a little while. I wonder if that is > also some manifestation of this bug. Do you also see a slow down when > you visit a file containing the characters in the `char-names' > variable you defined? Or is the slowness limited to running them > through `char-displayable-p'? If `inhibit-compacting-font-caches is `t' then there is no slowdown in `char-displayable-p'. The slowdown is for chars that are not displayable, it seems. If such chars are inserted in a buffer where they are not displayable (which happens in my case) then they appear as rectangles enclosing the char code. There is no slowdown displaying that - the chars themselves are not displayed. (I was using `char-displayable-p' to optionally exclude such chars from a list of chars and their descriptions.)