From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Comments on display.texi Date: Tue, 28 Sep 2004 18:48:30 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1096411737 28156 80.91.229.6 (28 Sep 2004 22:48:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Sep 2004 22:48:57 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 29 00:48:51 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CCQmA-00047K-00 for ; Wed, 29 Sep 2004 00:48:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CCQsT-0004Y4-IK for ged-emacs-devel@m.gmane.org; Tue, 28 Sep 2004 18:55:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CCQsL-0004Xp-1w for emacs-devel@gnu.org; Tue, 28 Sep 2004 18:55:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CCQsK-0004Xd-LS for emacs-devel@gnu.org; Tue, 28 Sep 2004 18:55:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CCQsK-0004Xa-I6 for emacs-devel@gnu.org; Tue, 28 Sep 2004 18:55:12 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CCQlq-0004rr-Mv for emacs-devel@gnu.org; Tue, 28 Sep 2004 18:48:30 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CCQlq-0000xZ-8e; Tue, 28 Sep 2004 18:48:30 -0400 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: (storm@cua.dk) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27657 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27657 I still have problems envisioning anybody using more than a few bitmaps in any mode (ok, a mode which shows line numbers in the fringe would probably use a couple of 100s). Currently, the only package using bitmaps is gdb-ui -- and it uses just ONE. Where are bitmap indices stored? How many places will Emacs try to store them? There are several places in the code which uses a static allocation based on the max number of bitmaps. Of course they can be made dynamic, but that would be unnecessary, we could agree on a limit of 4095 for 21.4. WDYT? One of the GNU coding standards is to avoid fixed-allocated tables. Why not malloc them? You can start them at length 20 and realloc them if they are ever exceeded.