From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Integer & glyph (trunk and emacs_unicode) Date: Fri, 16 Nov 2007 23:53:29 -0500 Message-ID: References: <473D9A31.8040408@ig.com.br> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1195275320 7804 80.91.229.12 (17 Nov 2007 04:55:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2007 04:55:20 +0000 (UTC) Cc: monnier@iro.umontreal.ca, drew.adams@oracle.com, emacs-devel@gnu.org To: Vinicius Jose Latorre Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 17 05:55:25 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ItFiF-0005A3-RJ for ged-emacs-devel@m.gmane.org; Sat, 17 Nov 2007 05:55:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItFi2-0000Y6-VE for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2007 23:55:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ItFgS-0006wH-QH for emacs-devel@gnu.org; Fri, 16 Nov 2007 23:53:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ItFgR-0006tj-Am for emacs-devel@gnu.org; Fri, 16 Nov 2007 23:53:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItFgR-0006t4-0T for emacs-devel@gnu.org; Fri, 16 Nov 2007 23:53:31 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ItFgQ-0006D5-L9 for emacs-devel@gnu.org; Fri, 16 Nov 2007 23:53:30 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1ItFgP-0000zZ-3u; Fri, 16 Nov 2007 23:53:29 -0500 In-reply-to: <473D9A31.8040408@ig.com.br> (message from Vinicius Jose Latorre on Fri, 16 Nov 2007 10:25:05 -0300) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83412 Archived-At: (let ((id (and face (face-id face)))) (if (and (numberp id) ;; Due to limitations on Emacs integer values, only ;; face ids below a certain limit can be used. (= id (lsh (lsh id glyph-char-bits) (- glyph-char-bits)))) (logior char (lsh id glyph-char-bits)) char)) Is there any problem if I implement this solution in trunk and Emacs unicode? It's not _wrong_, but we've already decided to replace the mechanism with the use of cons cells. And I am pretty sure someone has already written the code for that. Who was it?