From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24953: 25.1; Possible inefficiency in UTF-8 Date: Wed, 16 Nov 2016 18:17:42 +0200 Message-ID: <83vavnflg9.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1479313099 7696 195.159.176.226 (16 Nov 2016 16:18:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Nov 2016 16:18:19 +0000 (UTC) Cc: 24953-done@debbugs.gnu.org To: Eli Barzilay Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 16 17:18:15 2016 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 1c72ub-0001Cl-Ek for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Nov 2016 17:18:13 +0100 Original-Received: from localhost ([::1]:53309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c72ue-0002pm-Eq for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Nov 2016 11:18:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c72uU-0002oL-5a for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2016 11:18:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c72uR-0002DV-0M for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2016 11:18:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44357) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c72uQ-0002DP-TH for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2016 11:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c72uQ-0001mE-O1 for bug-gnu-emacs@gnu.org; Wed, 16 Nov 2016 11:18:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Nov 2016 16:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 24953 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 24953@debbugs.gnu.org, eliz@gnu.org, eli@barzilay.org Original-Received: via spool by 24953-done@debbugs.gnu.org id=D24953.14793130746807 (code D ref 24953); Wed, 16 Nov 2016 16:18:02 +0000 Original-Received: (at 24953-done) by debbugs.gnu.org; 16 Nov 2016 16:17:54 +0000 Original-Received: from localhost ([127.0.0.1]:59755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c72uH-0001lj-NJ for submit@debbugs.gnu.org; Wed, 16 Nov 2016 11:17:53 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c72uG-0001lU-42 for 24953-done@debbugs.gnu.org; Wed, 16 Nov 2016 11:17:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c72u7-00027M-KD for 24953-done@debbugs.gnu.org; Wed, 16 Nov 2016 11:17:46 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53710) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c72u7-00027B-Ha; Wed, 16 Nov 2016 11:17:43 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4279 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c72u6-0006vl-Vz; Wed, 16 Nov 2016 11:17:43 -0500 In-reply-to: (message from Eli Barzilay on Tue, 15 Nov 2016 23:25:35 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:125755 Archived-At: > From: Eli Barzilay > Date: Tue, 15 Nov 2016 23:25:35 -0500 > > In an empty buffer, insert a pile of "foo" lines (a few screens high), > in the middle, add the result of (insert #x23ce) (to get the unicode > character). Now `C-x RET l' and "UTF-8". Regardless of the issue reported here, I would advise against setting the UTF-8 language environment on MS-Windows. Doing so is likely to screw you in some situations. For example, that sets up the encoding of communications with subprocesses to use UTF-8, something that only works with pure ASCII text and command-line arguments, and breaks otherwise on Windows. You shouldn't need to do this, not in Emacs 25 anyway. > Now, just moving the cursor around in the buffer shows very > noticeable delays, up to more than a second. In the default > language of "English" I don't see that happening. This is on a > Windows 7 machine. Fixed on the emacs-25 branch. The reason was sub-optimal definition of the default fontset wrt to fonts that cover symbols and punctuation Unicode blocks. Thanks.