From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Compilation to native Date: Wed, 14 Apr 2004 04:17:11 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87u0zniciw.fsf@mail.jurta.org> References: <87eks0654s.fsf@sno.mundell.ukfsn.org> <87n06bp4ng.fsf@sno.mundell.ukfsn.org> <8765cwkejr.fsf@mail.jurta.org> <200404071157.UAA25094@etlken.m17n.org> <87oepvo4jz.fsf@mail.jurta.org> <200404132340.IAA14502@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1081906460 11441 80.91.224.253 (14 Apr 2004 01:34:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Apr 2004 01:34:20 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Apr 14 03:34:11 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BDZI2-0004Q3-00 for ; Wed, 14 Apr 2004 03:34:10 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BDZI2-0000oK-00 for ; Wed, 14 Apr 2004 03:34:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BDZF4-0005hR-Hk for emacs-devel@quimby.gnus.org; Tue, 13 Apr 2004 21:31:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BDZEv-0005cf-Cs for emacs-devel@gnu.org; Tue, 13 Apr 2004 21:30:57 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BDZEM-0005IJ-V1 for emacs-devel@gnu.org; Tue, 13 Apr 2004 21:30:54 -0400 Original-Received: from [66.33.219.19] (helo=spoon.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BDZ7F-00022G-5D; Tue, 13 Apr 2004 21:23:01 -0400 Original-Received: from mail.jurta.org (80-235-32-228-dsl.mus.estpak.ee [80.235.32.228]) by spoon.dreamhost.com (Postfix) with ESMTP id DD2F313D88B; Tue, 13 Apr 2004 18:23:01 -0700 (PDT) Original-To: Kenichi Handa In-Reply-To: <200404132340.IAA14502@etlken.m17n.org> (Kenichi Handa's message of "Wed, 14 Apr 2004 08:40:48 +0900 (JST)") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21608 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21608 Kenichi Handa writes: > As Emacs-unicode has to map every character in a legacy > charset to Unicode, it's inevitable that such kind of code > version gets slower. For instance, on reading iso-8859-2 > file, Emacs 21 only have to add some leading byte to each > character. But emacs-unicode has to lookup a table to get a > Unicode character code, and then has to get an UTF-8 > byte-sequence for that character code. I don't know how lookups are implemented in emacs-unicode, but generally lookups would be very fast when implemented on arrays. Surely, it requires memory, but for small-sized alphabets this is acceptable. >> Generally, the unicode branch seems stable on GNU/Linux. >> I have noticed only a few bugs like, for example, sometimes >> displaying a row of ^@^@^@^@^@^@^@^@ characters instead >> of file names in dired buffers, and some minor problems, >> for example, not finding fonts that the trunk version >> is able to find. > > Do you remember the name of fonts that emacs-unicode failed > to find? I'm not sure this list is the right place to report bugs on the emacs-unicode branch, but here are the symptoms: Calling the function (set-frame-font "-rfx-fixed-medium-r-normal--10-*-*-*-c-60-*-*") doesn't report an error and doesn't set the correct font either. Calling the `set-frame-font' after creating a fontset reports an error: (create-fontset-from-ascii-font "-rfx-fixed-medium-r-normal--10-*-*-*-c-60-*-*") "-rfx-fixed-medium-r-normal--10-100-75-75-c-60-fontset-iso10646_1" (set-frame-font "-rfx-fixed-medium-r-normal--10-100-75-75-c-60-fontset-iso10646_1") Font `-rfx-fixed-medium-r-normal--10-100-75-75-c-60-fontset-iso10646_1' is not defined Whereas in Emacs 21.3.50 `create-fontset-from-ascii-font' with the same font name returns some other value: (create-fontset-from-ascii-font "-rfx-fixed-medium-r-normal--10-*-*-*-c-60-*-*") "-*-*-medium-r-normal--10-*-*-*-c-60-fontset-iso10646_1_10" BTW, I also noticed the *Message* buffer often reports such errors: Error during redisplay: (error Attempt to modify read-only object) but I don't see where this error manifests itself. -- Juri Linkov http://www.jurta.org/emacs/