unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 10232@debbugs.gnu.org
Subject: bug#10232: 24.0.92; gnus-summary-scroll-up error
Date: Tue, 06 Dec 2011 09:20:22 -0500	[thread overview]
Message-ID: <jwvhb1dzt4f.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87k469akmp.fsf@gmail.com> (Thierry Volpiatto's message of "Tue,  06 Dec 2011 14:35:10 +0100")

> Debugger entered--Lisp error: (error "Invalid byte code in /usr/local/share/emacs/24.0.92/lisp/wid-edit.elc")

You've rebuilt wid-edit.elc after the current process had already
loaded it.  Either restart your Emacs, or just do
M-x load-library RET wid-edit RET

The wid-edit.el file uses `byte-compile-dynamic' which means that when
you read wid-edit.elc some parts are skipped and replaced by references
to the corresponding chunk in the file.  Those chunks are later fetched
on demand, but of course, if the file gets modified in the mean time you
can get into trouble.
The same trick is used to autoload docstrings, but luckily in the case
of docstrings the code happens to detect the problem at a stage early
enough that we can usually fix it (update the references and try again)
without user intervention.
For the bytecode refs used with `byte-compile-dynamic' by the time we
discover the problem, we just have the file name (shown in the error
message) but not the object that refers to it, so we can't do the fix
up :-(


        Stefan





  parent reply	other threads:[~2011-12-06 14:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-06 13:35 bug#10232: 24.0.92; gnus-summary-scroll-up error Thierry Volpiatto
2011-12-06 13:57 ` Andreas Schwab
2011-12-06 14:21   ` Thierry Volpiatto
2011-12-06 14:20 ` Stefan Monnier [this message]
2011-12-06 14:36   ` Thierry Volpiatto

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=jwvhb1dzt4f.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=10232@debbugs.gnu.org \
    --cc=thierry.volpiatto@gmail.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).