[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Opcode Versioning Was: emacs master + org Wrong type argument: number-or

From: Sam Steingold
Subject: Opcode Versioning Was: emacs master + org Wrong type argument: number-or-marker-p
Date: Tue, 02 Aug 2022 12:37:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin)

> * Gregory Heytings <tertbel@urlgvatf.bet> [2022-08-01 16:11:33 +0000]:
> I think it's the new optional argument to narrow-to-region, which adds an
> argument to the narrow-to-region opcode in byte-compiled code.

Do Emacs compiled files have a version marker that is updated whenever
opcodes are changed?

This is the usual approach to this issue: whenever an opcode is changed,
this internal version is modified and this version is saved into every
compiled file, so that Emacs can reject loading a file with an incorrect

One can also use a hash of all opcode specs as the version...

Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.2113
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://jij.org https://camera.org https://mideasttruth.com
Bug free software merely has random features.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]