unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Eli Barzilay <eli@barzilay.org>
Cc: 24953-done@debbugs.gnu.org
Subject: bug#24953: 25.1; Possible inefficiency in UTF-8
Date: Wed, 16 Nov 2016 18:17:42 +0200	[thread overview]
Message-ID: <83vavnflg9.fsf@gnu.org> (raw)
In-Reply-To: <CALO-gutYeyfDuqngW3kDqs6evTY6P0AS4Zky6CoHA7SqchnWHA@mail.gmail.com> (message from Eli Barzilay on Tue, 15 Nov 2016 23:25:35 -0500)

> From: Eli Barzilay <eli@barzilay.org>
> 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.





  reply	other threads:[~2016-11-16 16:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-16  4:25 bug#24953: 25.1; Possible inefficiency in UTF-8 Eli Barzilay
2016-11-16 16:17 ` Eli Zaretskii [this message]
2016-11-16 19:11   ` Eli Barzilay
2016-11-16 19:38     ` Eli Zaretskii
2016-11-16 19:59       ` Eli Barzilay
2016-11-16 20:16         ` Eli Zaretskii
2016-11-20 22:32           ` Eli Barzilay
2016-11-21  3:32             ` Eli Zaretskii
2016-11-21 21:38               ` Eli Barzilay
2016-11-22  3:33                 ` Eli Zaretskii
2016-12-11 10:53                   ` Eli Barzilay
2016-12-11 15:37                     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83vavnflg9.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=24953-done@debbugs.gnu.org \
    --cc=eli@barzilay.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).