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: Fri, 23 Feb 2007 12:53:45 +0100	[thread overview]
Message-ID: <m3hctdf5ti.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <E1HKCdY-0005sl-JQ@etlken.m17n.org> (Kenichi Handa's message of "Thu\, 22 Feb 2007 21\:01\:24 +0900")

Kenichi Handa <handa@m17n.org> writes:

> In article <E1HKCN4-0005gq-Vi@etlken.m17n.org>, Kenichi Handa <handa@m17n.org> writes:
>
>>   1412		  /* If Vprint_continuous_numbering is non-nil and OBJ is a gensym,
>>   1413		     always print the gensym with a number.  This is a special for
>>   1414		     the lisp function byte-compile-output-docform.  */
>>   1415		  if (!NILP (Vprint_continuous_numbering)
>>   1416		      && SYMBOLP (obj)
>>   1417		      && !SYMBOL_INTERNED_P (obj))
>>   1418		    PRINT_NUMBER_STATUS (Vprint_number_table, print_number_index) = Qt;
>>   1419		  print_number_index++;
>
>> I have no idea why the value of Qt is changed at L1415 (note
>> that I compiled print.c without optimization).
>
> 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.
>
> ---
> Kenichi Handa
> handa@m17n.org

Removing this line seems to cure the problem:

;;; byte-compile-compatibility: t ***


I don't know how it is related, but it does narrow down the
possible causes of the crash / anomaly.

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

  reply	other threads:[~2007-02-23 11:53 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 [this message]
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
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=m3hctdf5ti.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).