From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56363 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: ELisp-based uncompface Date: Thu, 12 Feb 2004 09:46:11 +0900 Organization: Emacsen advocacy group Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1076546827 8629 80.91.224.253 (12 Feb 2004 00:47:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2004 00:47:07 +0000 (UTC) Cc: TAKAI Kousuke Original-X-From: ding-owner+M4903@lists.math.uh.edu Thu Feb 12 01:46:59 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ar50M-0001Kx-00 for ; Thu, 12 Feb 2004 01:46:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Ar4zr-0007VN-00; Wed, 11 Feb 2004 18:46:27 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Ar4zn-0007VI-00 for ding@lists.math.uh.edu; Wed, 11 Feb 2004 18:46:23 -0600 Original-Received: from washington.hostforweb.net (washington.hostforweb.net [69.61.11.2]) by justine.libertine.org (Postfix) with ESMTP id 985333A0203 for ; Wed, 11 Feb 2004 18:46:22 -0600 (CST) Original-Received: from yamaoka by washington.hostforweb.net with local (Exim 4.24) id 1Ar4zl-0005qG-7f; Wed, 11 Feb 2004 19:46:21 -0500 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:jyeU0EREIDm9sjZrzj6feX3JDt8= X-Hashcash: 0:040212:ding@gnus.org:a12a31814ab5f35a X-Hashcash: 0:040212:tak@kmc.gr.jp:955b4f9260ac77d2 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [32041 32041] / [47 12] X-AntiAbuse: Sender Address Domain - washington.hostforweb.net Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56363 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56363 Hi, I've merged the ELisp-based uncompface program into compface.el. This was written by TAKAI Kousuke (`Kousuke' is his personal name), he is now working on the paper to assign the copyright to FSF. It makes it possible to show X-Face images without the external uncompface and icontopbm programs or the libcompface library. It won't be activated for almost users but you can test it by setting nil to the uncompface-use-external variable if you are interested in it: (setq uncompface-use-external nil) Even if you are an XEmacs user and the libcompface library is available, you can seal it off and test the ELisp-based uncompface program with the following: (setq uncompface-use-external nil features (delq 'xface features)) The original code[1] TAKAI Kousuke wrote used the bool vector feature of Emacs. However, inlined bool vector tables (i.e., inlined binary data) in the elc file will be broken or incompatible between Emacs versions, and that feature is not available in XEmacs (or should be replaced with the bit vector feature). So, we replaced them with the simple vectors. Although it makes the elc file fatten, I've confirmed it doesn't degrade the performance. Regards, [1] http://www.kmc.gr.jp/~tak/sources/el/uncompface.el-1.2.gz You need to fix the mis-inlined binary data by Emacs 21 in the uncompface.elc file using http://www.kmc.gr.jp/~tak/sources/el/fix-boolvec.el-1.1.gz as emacs -batch -l fix-boolvec.el -f batch-fix-bool-vectors uncompface.elc -- Katsumi Yamaoka