From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Adam Porter Newsgroups: gmane.emacs.bugs Subject: bug#69664: Additional patch Date: Tue, 12 Mar 2024 16:06:58 -0500 Message-ID: <863835b0-a5da-4496-8ef1-adadc6ef3b14@alphapapa.net> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------z0ZXgZFA06XIlhBRNt0ZTys8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18381"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: 69664@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 12 22:08:07 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rk9Lw-0004Ya-4X for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Mar 2024 22:08:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rk9LU-0004Av-9W; Tue, 12 Mar 2024 17:07:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rk9LM-00048u-6K for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2024 17:07:28 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rk9LL-00068l-UG for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2024 17:07:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rk9Lu-0004ZN-4e for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2024 17:08:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Adam Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Mar 2024 21:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69664 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 69664-submit@debbugs.gnu.org id=B69664.171027765917521 (code B ref 69664); Tue, 12 Mar 2024 21:08:02 +0000 Original-Received: (at 69664) by debbugs.gnu.org; 12 Mar 2024 21:07:39 +0000 Original-Received: from localhost ([127.0.0.1]:43952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rk9LW-0004YX-E8 for submit@debbugs.gnu.org; Tue, 12 Mar 2024 17:07:38 -0400 Original-Received: from weasel.tulip.relay.mailchannels.net ([23.83.218.247]:2977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rk9LU-0004YN-63 for 69664@debbugs.gnu.org; Tue, 12 Mar 2024 17:07:37 -0400 X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1E2747630A3 for <69664@debbugs.gnu.org>; Tue, 12 Mar 2024 21:07:00 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a264.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id B9C43762C8D for <69664@debbugs.gnu.org>; Tue, 12 Mar 2024 21:06:59 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1710277619; a=rsa-sha256; cv=none; b=kKVCkygEWa6S/AiJIZtBmVvkDb3zbUozI4DcSFtHOMc4itrcuw0nFTmY0e0aLakBRklsVl 3dY5K1EiyNWiEob2vmnIStibgPZLOwlQGgH2N1raRiRHUIDRSh5/VZzPkwhIMSS7P2jGEA juzeTE1ZsRG2nWlQXPhP4p7O0JJDQi8aByKxnWE66GGCd732DMSLmL1IoEjiqc/bAnkBUY SOIwpNig7BKi+kqXmWeaUvo41L2tGOh19hn4Ngiod1ewM3fRjifZzItVaQkSpxiIOCT9Es rQlgDXTWnvcZWTu87XcqYdRhsyV4fs6KTrcXId8LR+33zl8rPmkLrZ6OqT7Qxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1710277619; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=MXdqDib3OdHB3ZJfu+DzYoWuA9deFf7Nu+wppBYVpg0=; b=QKp61yO6Gda0ib8//RkDX3d2GH3TD/xMo7BVhMW7FILCA7ooFPPsyEVjex5DcQm+28MLAr 4pr199Hx2ap0Q82hSJiy6ZIZmCc+9icrzKdYuSR0VQuqqpN6X4yNfjEqviZuG7dtZuSDpD GhRfq8xFwSCanYziDG+SiNk8oNJAx9hnUQIQcwL8akmmN3VOtYaMKymQfblDPNj0lxG2jf mCtu4nbAMsEwRJNYRMoEAvODg7i4EZwh/Z+SNdkzHQ6shkOXrlcCpHqCBzegB2a2GGpo9c jkiJXfruqFE+JEmAH33JebJ0eqr8OuUwBTpAj/OsMaIhQI0RelPVCtzTC3SCCA== ARC-Authentication-Results: i=1; rspamd-58dbdf9585-cgkkx; auth=pass smtp.auth=dreamhost smtp.mailfrom=adam@alphapapa.net X-Sender-Id: dreamhost|x-authsender|adam@alphapapa.net X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|adam@alphapapa.net X-MailChannels-Auth-Id: dreamhost X-Cellar-Cure: 7b30da777f1cc801_1710277619994_1335225465 X-MC-Loop-Signature: 1710277619994:3586627154 X-MC-Ingress-Time: 1710277619994 Original-Received: from pdx1-sub0-mail-a264.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.122.162.95 (trex/6.9.2); Tue, 12 Mar 2024 21:06:59 +0000 Original-Received: from [10.28.0.62] (unknown [45.131.192.18]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: adam@alphapapa.net) by pdx1-sub0-mail-a264.dreamhost.com (Postfix) with ESMTPSA id 4TvR6C2jFkzHt for <69664@debbugs.gnu.org>; Tue, 12 Mar 2024 14:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alphapapa.net; s=dreamhost; t=1710277619; bh=MXdqDib3OdHB3ZJfu+DzYoWuA9deFf7Nu+wppBYVpg0=; h=Content-Type:Date:To:From:Subject; b=JGU5jaDg2mvNdnG/7dfWC9+UBVy68uXAPpei5L+W4GjRSHKFNxYvaGjMPuhdKEXpN bJ0PnNdM1Xm6UELbQT7Q7b5iTV9jNOXJn8LiWCjkJp3rvdgZFL4Zr6P3crvKrFccPc 9rV6uPn+oYVPl9Xez0SAWhWKr+9pcwTIK/soNwlDlKWOCJfYoUiywL2VTrQKkZMQAm JPwYbqRQM1/N+5i0O1ZWg/iCoc4nJZyf6ugno+jzBSxojG8Mzjfhi++UBS/tFAB86B fAP3ttLUJbb90uA7GZGZHJxEHZjdT7EkVHrF5wBE/3/NA3Uk3HHhDrOpM2XNy/rXwV FLZrQ7g8BXM2Q== Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281536 Archived-At: This is a multi-part message in MIME format. --------------z0ZXgZFA06XIlhBRNt0ZTys8 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, Please see the attached patch, which should be applied on top of the previous one. It handles the case in which the old object is not found in the vtable, avoiding calling ELT with a nil position argument. Thanks, Adam --------------z0ZXgZFA06XIlhBRNt0ZTys8 Content-Type: text/x-patch; charset=UTF-8; name="0001-lisp-emacs-lisp-vtable.el-vtable-update-object-Ensur.patch" Content-Disposition: attachment; filename*0="0001-lisp-emacs-lisp-vtable.el-vtable-update-object-Ensur.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSA4OWRmNzcxYTkxMGI1ZDU4ZmM2NjdhODViNGNlNThhOGQ3ZmY5NGY1IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBBZGFtIFBvcnRlciA8YWRhbUBhbHBoYXBhcGEubmV0 PgpEYXRlOiBUdWUsIDEyIE1hciAyMDI0IDE2OjAxOjU3IC0wNTAwClN1YmplY3Q6IFtQQVRD SF0gKiBsaXNwL2VtYWNzLWxpc3AvdnRhYmxlLmVsICh2dGFibGUtdXBkYXRlLW9iamVjdCk6 IEVuc3VyZQogZm91bmQgb2JqCgpUaGUgT0xELU9CSkVDVCBtYXkgbm90IGJlIGZvdW5kIGlu IHRoZSB0YWJsZSwgc28gU0VRLVBPU0lUSU9OIG1heSByZXR1cm4KbmlsLCBpbiB3aGljaCBj YXNlIEVMVCBzaG91bGQgbm90IGJlIGNhbGxlZC4KLS0tCiBsaXNwL2VtYWNzLWxpc3AvdnRh YmxlLmVsIHwgNDQgKysrKysrKysrKysrKysrKysrKy0tLS0tLS0tLS0tLS0tLS0tLS0tCiAx IGZpbGUgY2hhbmdlZCwgMjIgaW5zZXJ0aW9uc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AgKHNhdmUtZXhjdXJz aW9uCi0gICAgICAgICh2dGFibGUtZ290by1vYmplY3Qgb2xkLW9iamVjdCkKLSAgICAgICAg KGxldCAoKGtleW1hcCAoZ2V0LXRleHQtcHJvcGVydHkgKHBvaW50KSAna2V5bWFwKSkKLSAg ICAgICAgICAgICAgKHN0YXJ0IChwb2ludCkpKQotICAgICAgICAgIChkZWxldGUtbGluZSkK LSAgICAgICAgICAodnRhYmxlLS1pbnNlcnQtbGluZSB0YWJsZSBsaW5lIGxpbmUtbnVtYmVy Ci0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKG50aCAxICh2dGFibGUtLWNhY2hl IHRhYmxlKSkKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAodnRhYmxlLS1zcGFj ZXIgdGFibGUpKQotICAgICAgICAgIChhZGQtdGV4dC1wcm9wZXJ0aWVzIHN0YXJ0IChwb2lu dCkgKGxpc3QgJ2tleW1hcCBrZXltYXAKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICd2dGFibGUgdGFibGUpKSkpCi0gICAgICA7OyBXZSBt YXkgaGF2ZSBpbnNlcnRlZCBhIG5vbi1udW1lcmljYWwgdmFsdWUgaW50byBhIHByZXZpb3Vz bHkKLSAgICAgIDs7IGFsbC1udW1lcmljYWwgdGFibGUsIHNvIHJlY29tcHV0ZS4KLSAgICAg ICh2dGFibGUtLXJlY29tcHV0ZS1udW1lcmljYWwgdGFibGUgKGNkciBsaW5lKSkpKSkKKyAg ICAoaWYtbGV0ICgobGluZS1udW1iZXIgKHNlcS1wb3NpdGlvbiAoY2FyICh2dGFibGUtLWNh Y2hlIHRhYmxlKSkgb2xkLW9iamVjdAorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIChsYW1iZGEgKGEgYikKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIChlcXVhbCAoY2FyIGEpIGIpKSkpCisgICAgICAgICAgICAgKGxpbmUg KGVsdCAoY2FyICh2dGFibGUtLWNhY2hlIHRhYmxlKSkgbGluZS1udW1iZXIpKSkKKyAgICAg ICAgKHByb2duCisgICAgICAgICAgKHNldGNhciBsaW5lIG9iamVjdCkKKyAgICAgICAgICAo c2V0Y2RyIGxpbmUgKHZ0YWJsZS0tY29tcHV0ZS1jYWNoZWQtbGluZSB0YWJsZSBvYmplY3Qp KQorICAgICAgICAgIDs7IC4uLiBhbmQgcmVkaXNwbGF5IHRoZSBsaW5lIGluIHF1ZXN0aW9u LgorICAgICAgICAgIChzYXZlLWV4Y3Vyc2lvbgorICAgICAgICAgICAgKHZ0YWJsZS1nb3Rv LW9iamVjdCBvbGQtb2JqZWN0KQorICAgICAgICAgICAgKGxldCAoKGtleW1hcCAoZ2V0LXRl eHQtcHJvcGVydHkgKHBvaW50KSAna2V5bWFwKSkKKyAgICAgICAgICAgICAgICAgIChzdGFy dCAocG9pbnQpKSkKKyAgICAgICAgICAgICAgKGRlbGV0ZS1saW5lKQorICAgICAgICAgICAg ICAodnRhYmxlLS1pbnNlcnQtbGluZSB0YWJsZSBsaW5lIGxpbmUtbnVtYmVyCisgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIChudGggMSAodnRhYmxlLS1jYWNoZSB0YWJs ZSkpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICh2dGFibGUtLXNwYWNl ciB0YWJsZSkpCisgICAgICAgICAgICAgIChhZGQtdGV4dC1wcm9wZXJ0aWVzIHN0YXJ0IChw b2ludCkgKGxpc3QgJ2tleW1hcCBrZXltYXAKKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAndnRhYmxlIHRhYmxlKSkpKQorICAgICAg ICAgIDs7IFdlIG1heSBoYXZlIGluc2VydGVkIGEgbm9uLW51bWVyaWNhbCB2YWx1ZSBpbnRv IGEgcHJldmlvdXNseQorICAgICAgICAgIDs7IGFsbC1udW1lcmljYWwgdGFibGUsIHNvIHJl Y29tcHV0ZS4KKyAgICAgICAgICAodnRhYmxlLS1yZWNvbXB1dGUtbnVtZXJpY2FsIHRhYmxl IChjZHIgbGluZSkpKQorICAgICAgKGVycm9yICJDYW4ndCBmaW5kIGNhY2hlZCBvYmplY3Qg aW4gdnRhYmxlIikpKSkKIAogKGRlZnVuIHZ0YWJsZS1yZW1vdmUtb2JqZWN0ICh0YWJsZSBv YmplY3QpCiAgICJSZW1vdmUgT0JKRUNUIGZyb20gVEFCTEUuCi0tIAoyLjMwLjIKCg== --------------z0ZXgZFA06XIlhBRNt0ZTys8--