From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: How to make a new pseudovector type? Date: Mon, 18 Jul 2011 15:55:19 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310997364 16060 80.91.229.12 (18 Jul 2011 13:56:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 13:56:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 18 15:55:58 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QioIf-0000jR-Jd for ged-emacs-devel@m.gmane.org; Mon, 18 Jul 2011 15:55:57 +0200 Original-Received: from localhost ([::1]:57587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QioIe-0002I5-D1 for ged-emacs-devel@m.gmane.org; Mon, 18 Jul 2011 09:55:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QioIG-0002Fc-C7 for emacs-devel@gnu.org; Mon, 18 Jul 2011 09:55:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QioIB-0001xE-P6 for emacs-devel@gnu.org; Mon, 18 Jul 2011 09:55:31 -0400 Original-Received: from batman.blixtvik.net ([87.96.254.3]:46752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QioIB-0001wQ-F0 for emacs-devel@gnu.org; Mon, 18 Jul 2011 09:55:27 -0400 Original-Received: from localhost.localdomain (139-210-96-87.cust.blixtvik.se [87.96.210.139]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by batman.blixtvik.net (Postfix) with ESMTP id A2A247F8BB4; Mon, 18 Jul 2011 15:55:19 +0200 (CEST) In-Reply-To: (Stefan Monnier's message of "Mon, 18 Jul 2011 09:46:13 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 87.96.254.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142105 Archived-At: Stefan Monnier writes: >> In the xwidget branch I use PVEC_OTHER = 0x400000 from enum pvec_type >> to represent an xwidget. > > Don't: create a new PVEC_XWIDGET instead. Cool, but the bitmask is fully utilized. Can I expand the bitmask? (I need 2 types.) if so, why is it so small to begin with? > > > Stefan -- Joakim Verona