unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Comments on display.texi
Date: Tue, 28 Sep 2004 18:48:30 -0400	[thread overview]
Message-ID: <E1CCQlq-0000xZ-8e@fencepost.gnu.org> (raw)
In-Reply-To: <m3zn3a7doe.fsf@kfs-l.imdomain.dk> (storm@cua.dk)

    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.

  reply	other threads:[~2004-09-28 22:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-26  0:19 Comments on display.texi Kim F. Storm
2004-09-26 18:20 ` Richard Stallman
2004-09-26 20:38   ` Kim F. Storm
2004-09-27 14:53     ` Richard Stallman
2004-09-28 12:40       ` Kim F. Storm
2004-09-27 14:53     ` Richard Stallman
2004-09-28 12:58       ` Kim F. Storm
2004-09-28 22:48         ` Richard Stallman [this message]
2004-09-29 14:39           ` Kim F. Storm
2004-09-29 14:56             ` David Kastrup

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1CCQlq-0000xZ-8e@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).