unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
To: Kenichi Handa <handa@m17n.org>
Cc: romain@orebokech.com, emacs-devel@gnu.org
Subject: Re: Emacs aborts during byte-compilation from Dired
Date: Sat, 24 Feb 2007 00:33:28 +0100	[thread overview]
Message-ID: <m3bqjkfnzr.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <m3hctdf5ti.fsf@kfs-l.imdomain.dk> (Kim F. Storm's message of "Fri\, 23 Feb 2007 12\:53\:45 +0100")

storm@cua.dk (Kim F. Storm) writes:

>>
>> Actually, Qt was changed at this line:
>>
>> 1411		  PRINT_NUMBER_OBJECT (Vprint_number_table, print_number_index) = obj;
>>
>> And at that time, Vprint_number_table was Qnil but the macro
>> PRINT_NUMBER_OBJECT assumes that it is a vector.  Someone
>> who knows the code around here please fix this bug.

It turns out that byte-compile-output-docform sets 
print-continuous-numbering to t and print-number-table to nil.

This means that Vprint_number_table is NIL but print_number_index > 0,
so the Vprint_number_table vector is not allocated.

I have installed a fix (resetting print_number_index if
Vprint_number_table is nil even if print-continuous-numbering is
non-nil.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  parent reply	other threads:[~2007-02-23 23:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-22  9:13 Emacs aborts during byte-compilation from Dired Romain Francoise
2007-02-22 11:44 ` Kenichi Handa
2007-02-22 11:50   ` David Kastrup
2007-02-22 12:01   ` Kenichi Handa
2007-02-23 11:53     ` Kim F. Storm
2007-02-23 13:17       ` Kim F. Storm
2007-02-23 14:26         ` Romain Francoise
2007-02-23 15:19           ` Kim F. Storm
2007-02-24  8:28           ` Richard Stallman
2007-02-24 22:28             ` Kim F. Storm
2007-02-23 18:25         ` Kim F. Storm
2007-02-23 23:33       ` Kim F. Storm [this message]
2007-02-24 10:38         ` Romain Francoise
2007-02-24 19:11         ` Richard Stallman

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=m3bqjkfnzr.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    --cc=romain@orebokech.com \
    /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).