From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Opcode Versioning Was: emacs master + org Wrong type argument: number-or-marker-p Date: Tue, 02 Aug 2022 12:37:10 -0400 Message-ID: References: <83bkt42ifq.fsf@gnu.org> <87a68ovw0b.fsf@posteo.net> <835yjc2c6f.fsf@gnu.org> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11731"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) To: emacs-devel@gnu.org, Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 02 18:38:41 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIuul-0002pS-U7 for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Aug 2022 18:38:39 +0200 Original-Received: from localhost ([::1]:49940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIuuk-0001XE-OY for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Aug 2022 12:38:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIutZ-0000oY-LK for emacs-devel@gnu.org; Tue, 02 Aug 2022 12:37:25 -0400 Original-Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:45619) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIutX-0007ah-MU; Tue, 02 Aug 2022 12:37:25 -0400 Original-Received: by mail-qk1-x72f.google.com with SMTP id m16so10998533qka.12; Tue, 02 Aug 2022 09:37:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:mail-followup-to:reply-to :return-receipt-to:user-agent:references:in-reply-to:subject:to:from :sender:from:to:cc; bh=0GTh1GXRFR1vXhRAe8cNOP3Pn2oxQFUcbCgzUZqi2lw=; b=OP3j1H6tq2hHGNcsKM2jNNsqzJRaSpnL/8sJHKDMkYo/OrZiyKctr41TqZ55bj7Ra0 e8xLZjdf9B+9EPO9AqfXntX7Tk1P6j3nmTORWFNr+8+iaxSH8TvX1vslDtQaUCaVHTTq oSgnE6/jbBIMgHAHfRGlzDFrmCGFC8uB0PmbyhmY1AzhPVX/AVZiIKjg9HWsJrQco+x1 33IWKb1mAtolhiyG1KIgpRy/gzhjUCo6uiDVETHkNGZRHKHZ+fsGzg3dDd7LjslgkRZb fjhoRZ59RX/S+jwL796MyEmgscMWm/bnHXSrx08sqtnhLG1oA0sAtCDA6d9BGctlF4Ar Otog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:mail-followup-to:reply-to :return-receipt-to:user-agent:references:in-reply-to:subject:to:from :sender:x-gm-message-state:from:to:cc; bh=0GTh1GXRFR1vXhRAe8cNOP3Pn2oxQFUcbCgzUZqi2lw=; b=Xas4u3eQ4qI5dhLXXV7zsE723VDEeVZSSRH5bJbbgkuZ7+baimb1ZoY0ADZD+YI/dx O+ciI0ftndHn9F2PEsz9fNLJDACTq/c5eo/NieEdxFeqJCdXkg1rCbIh3jRY7VxzTdo0 IMsQjDW/nUlDiwTo8KILnLsJATRIWqCCKMIRn3XKRdr6iuZwtGnqkOTD/P3QXGxXyypf gV2/8N8NMMFvZpsWc1qmqJ0G4M6jUxufpLt4GxMRBib5sQzFIRiGlEzP7HPugnQOnBS+ omGJYh/7DMwbvoQMG+F/kTWqaZUaefnVKcKOspjXrgwjWBX1FDa46209S2132znnnyVT 7VsQ== X-Gm-Message-State: AJIora/0psFsj1w63i5VbEBoOST98KaoaWDTb5EEV1o+2qg2s4246JkO aD3p57jaQxlzBtWfC8m8UCkcmQCJKg== X-Google-Smtp-Source: AGRyM1u2uyKiGZTL2qR2eTzTv2Sgs4jZmP2TUJbY/BoFQG0Q2OrZTaL+v4CAardyPHpNv2AOvx1epQ== X-Received: by 2002:a05:620a:d82:b0:6a9:9102:3948 with SMTP id q2-20020a05620a0d8200b006a991023948mr15734041qkl.56.1659458232908; Tue, 02 Aug 2022 09:37:12 -0700 (PDT) Original-Received: from 3c22fb11fdab.ant.amazon.com (pool-108-30-23-113.nycmny.fios.verizon.net. [108.30.23.113]) by smtp.gmail.com with ESMTPSA id j6-20020a05620a410600b006b5f7d0d0b6sm11567585qko.4.2022.08.02.09.37.11 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Aug 2022 09:37:12 -0700 (PDT) In-Reply-To: (Gregory Heytings's message of "Mon, 01 Aug 2022 16:11:33 +0000") X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Followup-To: emacs-devel@gnu.org, Gregory Heytings Received-SPF: pass client-ip=2607:f8b0:4864:20::72f; envelope-from=sam.steingold@gmail.com; helo=mail-qk1-x72f.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292993 Archived-At: > * Gregory Heytings [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 version. 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.