Received: (at 77123) by debbugs.gnu.org; 22 Mar 2025 15:54:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 11:54:49 2025 Received: from localhost ([127.0.0.1]:44799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tw1BQ-00009C-O7 for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 11:54:48 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:21069) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1tw1BO-00008y-Hw for 77123 <at> debbugs.gnu.org; Sat, 22 Mar 2025 11:54:47 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 3067844159E; Sat, 22 Mar 2025 11:54:40 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1742658879; bh=ImZ77kq070yj0/Jwp1+O9wZ6sZqNMx/B4vNrw0IwJ7k=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ftoKuB50hZdjbdxWCruxWeDSXKiklsSQuuZ9+VGacYk6ZeCWThEq1yc023ZTF9OR9 xrDX8Ly0GbQPNJ7K+0jlof+m6e2gIkPo5tcgRp8HCTkqdLK2l7ueE0cEAIaLIbDpqD IEIf33qIcgq+c0VPFaMv19F9asbtVp/6yFYJjh1NdFaDnHz8YENxdUrm3MhCAzTYz3 8hoAnJxs9H4+KVoyttm9CEdS+FvISs02q5mGQf4wHxj2m08mLlbKZrIkZ/5NGNDk35 QcpBLu7rjN/+uzlNqyWbfB6nw2TyBXkBJy5nNB/lAXAgW0s7clGK8jFUqESZhaC2T8 TaQMQWppWGfpQ== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 5D7DD441579; Sat, 22 Mar 2025 11:54:39 -0400 (EDT) Received: from pastel (unknown [104.247.242.5]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3268012026C; Sat, 22 Mar 2025 11:54:39 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Christopher Stacy <cstacy@HIDDEN> Subject: Re: 29.1; call-next-method In-Reply-To: <dfa6d403-cc6a-48f4-844d-d9ccf0ebe332@HIDDEN> Message-ID: <jwvo6xtysbr.fsf-monnier+emacs@HIDDEN> References: <99c20a67-90d1-4f7f-a5fe-34429420ed7a@HIDDEN> <jwv5xk4924a.fsf-monnier+emacs@HIDDEN> <dfa6d403-cc6a-48f4-844d-d9ccf0ebe332@HIDDEN> Date: Sat, 22 Mar 2025 11:54:38 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.415 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77123 Cc: 77123 <at> debbugs.gnu.org, Eric Ludlam <zappo@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Thank You! Have you confirmed that the problem is fixed in Emacs-30 for the code you actually care about (rather than for the artificial example you reduced it to)? Stefan
bug-gnu-emacs@HIDDEN
:bug#77123
; Package emacs
.
Full text available.Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 77123) by debbugs.gnu.org; 22 Mar 2025 11:51:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 07:51:24 2025 Received: from localhost ([127.0.0.1]:41274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvxNs-0006FI-0w for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 07:51:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32842) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tvxNp-0006F6-SG for 77123 <at> debbugs.gnu.org; Sat, 22 Mar 2025 07:51:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tvxNk-0002mF-1j; Sat, 22 Mar 2025 07:51:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=SO5Fg6T9V/bHoV8EXCKtM8MCkR6uB+vBoRv4cktgimY=; b=RmU2AQN/ksM0 8Id0wgIyL+2uzbIG2VZ0o+lZ2mLuH8WN3QbJdbpR6RImTx4wR4b8jeA1ACglgKSQ/2CjRck79vzZB HlQINw9ZfKWnP7ZnHB7AqtAgeRQ9aFiH1Omtw/Z87zszY87kAIws+Djl8CQqoAnbc+CsZF6haKHyd tka1j9eufF0vNBIToILSirqvtIUjbsQMiFOnP2ytyDRcGCJqDYEFkd8Cf7jmrGEOGd6w/T+3FuhPo uhfmdfEVvGM0mdtmNLYXSfXqhCW2Vb674qxCKtAwXylCu6zhihvEbYpK1MfktG1gCUDgr7kvl7MnN Parch7PhrJF3WAhNTK+pRw==; Date: Sat, 22 Mar 2025 13:51:12 +0200 Message-Id: <865xk1jnbj.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Christopher Stacy <cstacy@HIDDEN> In-Reply-To: <dfa6d403-cc6a-48f4-844d-d9ccf0ebe332@HIDDEN> (message from Christopher Stacy on Wed, 19 Mar 2025 20:54:31 -0400) Subject: Re: bug#77123: 29.1; call-next-method References: <99c20a67-90d1-4f7f-a5fe-34429420ed7a@HIDDEN> <jwv5xk4924a.fsf-monnier+emacs@HIDDEN> <dfa6d403-cc6a-48f4-844d-d9ccf0ebe332@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77123 Cc: 77123 <at> debbugs.gnu.org, zappo@HIDDEN, monnier@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 77123 <at> debbugs.gnu.org, Eric Ludlam <zappo@HIDDEN> > Date: Wed, 19 Mar 2025 20:54:31 -0400 > From: Christopher Stacy <cstacy@HIDDEN> > > Thank You! Should this bug be closed now?
bug-gnu-emacs@HIDDEN
:bug#77123
; Package emacs
.
Full text available.Received: (at 77123) by debbugs.gnu.org; 20 Mar 2025 00:54:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 19 20:54:48 2025 Received: from localhost ([127.0.0.1]:54279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tv4BL-0001W3-GR for submit <at> debbugs.gnu.org; Wed, 19 Mar 2025 20:54:47 -0400 Received: from mail-qv1-xf29.google.com ([2607:f8b0:4864:20::f29]:42349) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <cstacy@HIDDEN>) id 1tv4BC-0001Ve-Sv for 77123 <at> debbugs.gnu.org; Wed, 19 Mar 2025 20:54:44 -0400 Received: by mail-qv1-xf29.google.com with SMTP id 6a1803df08f44-6e91d323346so2615406d6.1 for <77123 <at> debbugs.gnu.org>; Wed, 19 Mar 2025 17:54:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dtpq-com.20230601.gappssmtp.com; s=20230601; t=1742432073; x=1743036873; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Vt489WGYVN6Iutxa4OZoqeA010wzLQaUuqCz5QMFuKI=; b=rWsVI7WB+e8IJHNRJdyWlBQeT/UcgcvV9neOZaTNFxLW7MYtrG//HEsXfXQ+R+qVgp HLVUW34c6WhkjWOgUVemLfGxJvOrU+nEfAEDiu64dRFY9KSwxcT3EKrgLc3Yh9yxJVL2 75fwKq0o4hdMtNceS1GunEB6lqlQzGslWWjb95aKzzAIdLmCBIeGUYCG4jBhMlbPp950 8RyyUj41kllh/MsTZlzq8nsiFRX4snkB720HK8VUT7LeaA64KidbkL4y7gog4EWYa4zx rspJGvVOaBsPB32LgHxOsn1W/7JHEpAA8JhSE9FIbymH0PfNfuzzaV9qGo4WWkV6hDZn dnPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742432073; x=1743036873; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Vt489WGYVN6Iutxa4OZoqeA010wzLQaUuqCz5QMFuKI=; b=jdFniWVmPpjroFDlK0U/gc3PYFYb27hALkWSYaP7e7u5ybk6Il77ilWSZ1C6yE9+j6 BsTEd9ph6ksURNR2oiq5W1TDJL+M88RnQECfq6/5qBAsazklOQVW0Dh686FML5x4cbZO teoaePNdwGw7VxlTyGqxBgpw9KN06v+PGtDuHdNWkAt0aCN3bWUrmx/2Z6ujupk7RQIE B75wZCuxawcXQtl34Q23iunp6zKnXHxdx6V8G3YTAIfr8xi7Q69+BlVNLlxfJA2v3yow s99CxqwhwIvhiyuArT4O7cHeurVn2A1dVCMCcHdiOvWQsxA0TJgLEeTnfzY2HyGlXGjt e2yg== X-Gm-Message-State: AOJu0YzaFfPDbUo6dUYP171XCxDupQjnT4OVW90sYJSoylq67HjPm34h jQMGj+3rfIEJGXdEKjib2B8eWHnpPmz6vfVY39yPi7BrOQQK+0eP5GlkZxvfEQ== X-Gm-Gg: ASbGncvu04dodjWdIw/2FzEZqwSj0cKZQlgIoEex3DKq/R2D/ZuEN7dY7aasxurzBvC oomA4n7+ZWaZyqkPyHdd3E6PYCdlb944ygN1G6g6LKpwV3fzsDOxWZ8uk8cBTQK+u+rDvhUy7tY AF4TAmJWe2EwRFKSYxcTJazBd+HXIFo2wBQ2bEdMYcN1ZZxyJKbj1yQNXIIciVdEex7rtZdtbkM W1w33uXmbTKFRhTss6DHMVRjRGbGnmCpR+faEemsq2QUDBgkK9xsQhn4cSCUdeGV8+dwlBLVPsZ uTbsnE/D3Q8B4GcUfp5SdaHBx3nOCyODzA9ilCXtNqdeZOXO9weBZY7wqHERCJwMF103vW2GS9n gBy/ufpJoUfwSLjCdWL6vis4J X-Google-Smtp-Source: AGHT+IHzjM2ZH3Os5NG9BNrR4+bfAQo1b3ZC3qqz7+ohd7mGffp5givbKgf/xcMm8IsSXflEKw0BtA== X-Received: by 2002:a0c:f708:0:b0:6e2:4da9:4e2d with SMTP id 6a1803df08f44-6eb34983007mr24293126d6.9.1742432073041; Wed, 19 Mar 2025 17:54:33 -0700 (PDT) Received: from [192.168.68.56] (pool-108-28-162-65.washdc.fios.verizon.net. [108.28.162.65]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6eade2097fesm87142236d6.20.2025.03.19.17.54.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Mar 2025 17:54:32 -0700 (PDT) Message-ID: <dfa6d403-cc6a-48f4-844d-d9ccf0ebe332@HIDDEN> Date: Wed, 19 Mar 2025 20:54:31 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: 29.1; call-next-method To: Stefan Monnier <monnier@HIDDEN> References: <99c20a67-90d1-4f7f-a5fe-34429420ed7a@HIDDEN> <jwv5xk4924a.fsf-monnier+emacs@HIDDEN> From: Christopher Stacy <cstacy@HIDDEN> Content-Language: en-US In-Reply-To: <jwv5xk4924a.fsf-monnier+emacs@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77123 Cc: 77123 <at> debbugs.gnu.org, Eric Ludlam <zappo@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Thank You!
bug-gnu-emacs@HIDDEN
:bug#77123
; Package emacs
.
Full text available.Received: (at 77123) by debbugs.gnu.org; 19 Mar 2025 21:00:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 19 17:00:21 2025 Received: from localhost ([127.0.0.1]:53452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tv0WS-0004jC-LO for submit <at> debbugs.gnu.org; Wed, 19 Mar 2025 17:00:21 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:28029) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1tv0WP-0004A8-3Q for 77123 <at> debbugs.gnu.org; Wed, 19 Mar 2025 17:00:18 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8716210004C; Wed, 19 Mar 2025 17:00:10 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1742418009; bh=VjUufS5BItnuuSXryOUOGd0VKDbyJlp77BEqdEOAoP8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=AFTtQHlisQpV9CfhIjQXnr5UskV/4ylKxb8z7+84qIIA0euIi6NWMzhijtFtqYj4x AoRKpSvJs5O2r+xiGZMBRqjHdgvFJQ+krwu0P0kcH7UNyddEFrEC+gzscfkQllC07W bNrY5IqmyUcA5IHkv/QwcaY5ClV0LQm+Pu1ReCRO66tlkKqwuu1/dBot6/EKiWpniH ISKNbLuBgZ/FQkl6qPCOQ+2NbT+j+wujp8kkwAGgjyNe73ew6JRAU0la+2S0uaVoRr Jl4t/aSWl4Ig9wqIooXUsMBsRIT+pbUssB1P+BSF4pS8qy6GFgMz0PiT6TLxUxxkO4 JNqcKljUpSkgQ== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 9ECB0100034; Wed, 19 Mar 2025 17:00:09 -0400 (EDT) Received: from alfajor (modemcable005.21-80-70.mc.videotron.ca [70.80.21.5]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7616E12063F; Wed, 19 Mar 2025 17:00:09 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Christopher Stacy <cstacy@HIDDEN> Subject: Re: 29.1; call-next-method In-Reply-To: <99c20a67-90d1-4f7f-a5fe-34429420ed7a@HIDDEN> Message-ID: <jwv5xk4924a.fsf-monnier+emacs@HIDDEN> References: <99c20a67-90d1-4f7f-a5fe-34429420ed7a@HIDDEN> Date: Wed, 19 Mar 2025 17:00:08 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.125 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77123 Cc: 77123 <at> debbugs.gnu.org, Eric Ludlam <zappo@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Attached is an example test program, > including test results. There are two > versions: one for Emacs Lisp, > and one is for Common Lisp (CLOS). > CL does it correctly (of course), > but EL gets the wrong answer. I couldn't make your test work as is, but I used the adjusted file below and it gives me: % /usr/bin/emacs -Q --batch -l ~/tmp/foo.el (base alpha beta winner) (base beta alpha glop flop) % which seems to match your CLOS expectation. But that was with Debian testing's Emacs-30. I don't have an Emacs-29 handy, so I used Debian stable's Emacs-28.2 and indeed there I see your problem: % /usr/bin/emacs -Q --batch -l ~/tmp/foo.el (base alpha beta winner) (base glop flop) % So, AFAICT this is already fixed in Emacs-30. I did rework the way the hierarchy is flattened (to share it with the same code used for major mode hierarchies, resulting in the new function 'merge-ordered-lists'), so that's not completely surprising, tho I can't remember noticing that it would fix a bug. Stefan
bug-gnu-emacs@HIDDEN
:bug#77123
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 19 Mar 2025 18:20:58 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 19 14:20:58 2025 Received: from localhost ([127.0.0.1]:53053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tuy2E-0001A5-2o for submit <at> debbugs.gnu.org; Wed, 19 Mar 2025 14:20:58 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59628) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <cstacy@HIDDEN>) id 1tuy2B-00019n-L7 for submit <at> debbugs.gnu.org; Wed, 19 Mar 2025 14:20:56 -0400 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 <cstacy@HIDDEN>) id 1tuy24-0007kE-6P for bug-gnu-emacs@HIDDEN; Wed, 19 Mar 2025 14:20:48 -0400 Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <cstacy@HIDDEN>) id 1tuy21-0006BL-Rm for bug-gnu-emacs@HIDDEN; Wed, 19 Mar 2025 14:20:47 -0400 Received: by mail-qv1-xf32.google.com with SMTP id 6a1803df08f44-6e904f53151so56165756d6.3 for <bug-gnu-emacs@HIDDEN>; Wed, 19 Mar 2025 11:20:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dtpq-com.20230601.gappssmtp.com; s=20230601; t=1742408443; x=1743013243; darn=gnu.org; h=to:subject:cc:content-language:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=VPRclHHiNv/GVBSO8SE0sCNEa/SjSel0IwCCvuc/qM4=; b=KdseVtCrPmt22Yt1cEwTb3TmrdIiigRAwWM58z9WaVQXrP3cf7HSKMlY41YNH1QouS 6tOgPeaWzW7EtoPojuCvSSjT7UFf0yT3f4ZpbGrbrDCkec7Oc9eNGjGbafl7PK4orxQ0 wyDs2KADCNGI0mhC/B7Lr/kKGdYIIq2aMqEQD6MLU+w9aBzoXMVvFM5Ppzsi11TGYbjq 9l3/90Epz4mkh1sV6gcwm2NhwuKyqXC5T73cMAb7Odip/vF+8UjES/7X0AMCpLTpXiUf 47TrRJcnXjUdTR480OuUXS++cBamMGpTU4qZxPACYD7Rl6WmBm5PPRNV/zERxiqck1KG dYBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742408443; x=1743013243; h=to:subject:cc:content-language:from:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=VPRclHHiNv/GVBSO8SE0sCNEa/SjSel0IwCCvuc/qM4=; b=iyW3GgHuN1WiJU5Yhl8kTEJXUahTAVw3vq5lYOdeO5TDuWR67CB36Z4GPmwE93OJSp PuZgcEnmcmNmrBB2aUR03BA3JBXT92S0oErB6jITRVvHhUIAtnzKcRaOoZS1Kruk3Fiz 1oM6HvmW0JG5gZrhNxgcUxeTsY7kwC4Si2juYZhefqMQAmLN0lFO4CTDE8LFSMctzLIc niSB8miQcpqthvXpgxwHN2lxeyR654evfV9KbNO6vCqG4EzjyTcG515Abe0D0HmIgk9X Vz0jz84UjReJ9cTtCJ9VcSjk7SHLvQLju2lyiKrT36hL2jM6XEtHN/ziuWnvEqqid7aL sdHw== X-Gm-Message-State: AOJu0Ywhkm99ylzaxaLK+IHOQdBz9FUKsEwZAtbb5FkcemrUbyWLq+tW bGHXyT7iqB2YHPTEjw+uc2iBS8cA3naOL5s+Tm7Ylik+Mec+hK1Zq1eC6Y7f0z+C24Z4TF8RmbI g3g== X-Gm-Gg: ASbGncurs9/tcq2PCR7MPfEATmV/h0UbNJ7WZVMwmqo3ns1wEb5sQtlW4FnFSN7bGQe G/RZ3nfPsbd++WF6mcj3xvrZLbrZFDM4pD9OREAThXZAtbGhUMmNOfmw+jCICG61HLYsZ+9IjQ4 X0JwhACP5wQi1JCqj/0Wh3Ct2cfpL1w4GJOgNbIekbKeK1fUv5XDWy3zNG9RiYCyo8uaNMnPk5I 6oraNE5X6eiZhJ+Y1guL/QXpKzS+HWHryiyrfdJmJhF15XXpmUOeqIzhAs7uNBIIsKYDUkWP8DT 3JiYzNssHohXt5+HKGggTawiP5i2Vjq7Q6+/H4jPhYX2KlQNVUrkZUuYnsmAE3GLRo7LgR6pf8r GrWpGJD0OkZ+Y5mnhbauSuGhHUQ== X-Google-Smtp-Source: AGHT+IHRu5q+co0cdgXkFNEh/7irswsoMhBoE3pEqeyghPbW6EihY4GgW6F+y0gQFoY3it1Peb4KUQ== X-Received: by 2002:a05:6214:1d04:b0:6e8:ff8d:cb68 with SMTP id 6a1803df08f44-6eb3534cd11mr1044136d6.35.1742408443006; Wed, 19 Mar 2025 11:20:43 -0700 (PDT) Received: from [192.168.68.114] (pool-108-28-162-65.washdc.fios.verizon.net. [108.28.162.65]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6eade34c51fsm82969986d6.109.2025.03.19.11.20.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Mar 2025 11:20:42 -0700 (PDT) Content-Type: multipart/mixed; boundary="------------g8yU65R3IbCrdmm0O5YOW8QI" Message-ID: <99c20a67-90d1-4f7f-a5fe-34429420ed7a@HIDDEN> Date: Wed, 19 Mar 2025 14:20:38 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Christopher Stacy <cstacy@HIDDEN> Content-Language: en-US Subject: 29.1; call-next-method To: bug-gnu-emacs@HIDDEN Received-SPF: pass client-ip=2607:f8b0:4864:20::f32; envelope-from=cstacy@HIDDEN; helo=mail-qv1-xf32.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Eric Ludlam <zappo@HIDDEN>, Stefan Monnier <monnier@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) This is a multi-part message in MIME format. --------------g8yU65R3IbCrdmm0O5YOW8QI Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit In GNU Emacs 29.1 (build 1, x86_64-apple-darwin20.6.0, Carbon Version 164 AppKit 2022.7) of 2023-08-08 built on Mac-1691499221282.local eieio-version: 1.4 cl-call-next-method is not calling all the methods I expected. It does call the methods in the direct superclasses, but it seems to be skipping all the indirect ones. For a subclass FOO of A, B, a call-next-method from an instance of FOO will correctly call the A and B methods. But if for example superclass A has mixins X and Y, neither the X or Y methods will be called. These are just primary methods. None of the inherited superclass methods are being run by call-next-method. Attached is an example test program, including test results. There are two versions: one for Emacs Lisp, and one is for Common Lisp (CLOS). CL does it correctly (of course), but EL gets the wrong answer. I tested with two different CLOS implementations, just to make sure I'm not crazy. The files are identical except for the compatibility preamble and results, so you can compare them easily. TEST#1 illustrates the case where things work right. The differing answer is just in TEST#2. Thanks for looking into this! --------------g8yU65R3IbCrdmm0O5YOW8QI Content-Type: text/plain; charset=UTF-8; name="simple-test.el" Content-Disposition: attachment; filename="simple-test.el" Content-Transfer-Encoding: base64 KHdoZW4gKGJvdW5kcCAnZW1hY3MtdmVyc2lvbikKICAoZXJyb3IgIlRoaXMgaXMgZm9yIEVM LCBub3QgQ0wiKSkKCihkZWZ1biBjbGFzcy1uYW1lLW9mIChvYmopCiAgKGVpZWlvLWNsYXNz LW5hbWUgKGVpZWlvLW9iamVjdC1jbGFzcyBvYmopKSkKCgoMCihjbC1kZWZtYWNybyBkZWZp bmUtdGVzdCAoKG5hbWUgc2xvdCBiYXNlKSAmcmVzdCBjbGFzc2VzKQogIGAocHJvZ24KICAg ICAoZGVmdW4gbm90aWNlIChvYmogY2xhc3MpCiAgICAgICAob2JqZWN0LWFkZC10by1saXN0 IG9iaiAnLHNsb3QgY2xhc3MpKQogICAgIChjbC1kZWZtZXRob2QgLG5hbWUgKCh4ICxiYXNl KSkKICAgICAgIChub3RpY2UgeCAnLGJhc2UpCiAgICAgICAoc2xvdC12YWx1ZSB4ICcsc2xv dCkpCiAgICAgLEAoY2wtbG9vcCBmb3IgY2xhc3MgaW4gY2xhc3NlcwoJICAgICBjb2xsZWN0 CgkgICAgIGAoY2wtZGVmbWV0aG9kICxuYW1lICgoeCAsY2xhc3MpKQoJCShub3RpY2UgeCAn LGNsYXNzKQoJCShjbC1jYWxsLW5leHQtbWV0aG9kKSkpKSkKCihkZWZ2YXIgY2NjKQoKDAoo ZGVmY2xhc3MgYmFzZSAoKSAoKHNlZW4gOmluaXRmb3JtIG5pbCkpKQooZGVmY2xhc3MgYWxw aGEgKCkgKCkpCihkZWZjbGFzcyBiZXRhICgpICgpKQoKOzs7IFRFU1QgIzEKKGRlZmNsYXNz IHdpbm5lciAoYmV0YSBhbHBoYSBiYXNlKSAoKSkKKGRlZmluZS10ZXN0IChmb29zIHNlZW4g YmFzZSkgYWxwaGEgYmV0YSB3aW5uZXIpCgooc2V0cSBjY2MgKG1ha2UtaW5zdGFuY2UgJ3dp bm5lcikpCihmb29zIGNjYykKPT4gKGJhc2UgYWxwaGEgYmV0YSB3aW5uZXIpCgoMCjs7OyBU RVNUICMyCgooZGVmY2xhc3MgZm9vLW1peGluIChhbHBoYSBiZXRhKSAoKSkKKGRlZmNsYXNz IGNob3AgKGZvby1taXhpbikgKCkpCihkZWZjbGFzcyBnbG9wICgpICgpKQooZGVmY2xhc3Mg ZmxvcCAoZ2xvcAoJCWNob3AgIDs7IGFscGhhLCBiZXRhCgkJYmFzZSkgKCkpCgooZGVmaW5l LXRlc3QgKGZvb3Mgc2VlbiBiYXNlKQoJICAgICBhbHBoYQoJICAgICBiZXRhCgkgICAgIGds b3AKCSAgICAgZmxvcCkKCihzZXRxIGNjYyAobWFrZS1pbnN0YW5jZSAnZmxvcCkpCihmb29z IGNjYykKPT4gKGJhc2UgZ2xvcCBmbG9wKQoKCgoKCg== --------------g8yU65R3IbCrdmm0O5YOW8QI Content-Type: text/plain; charset=UTF-8; name="simple-test.lisp" Content-Disposition: attachment; filename="simple-test.lisp" Content-Transfer-Encoding: base64 KHdoZW4gKGJvdW5kcCAnZW1hY3MtdmVyc2lvbikKICAoZXJyb3IgIlRoaXMgaXMgZm9yIENM LCBub3QgRUwiKSkKCihldmFsLXdoZW4gKDpjb21waWxlLXRvcGxldmVsCgkgICAgOmxvYWQt dG9wbGV2ZWwgOmV4ZWN1dGUpCgogIChkZWZtYWNybyBjbC1sb29wICgmcmVzdCBib2R5KQog ICAgYChsb29wICxAYm9keSkpCgogIChkZWZtYWNybyBjbC1kZWZnZW5lcmljIChuYW1lIGFy Z2xpc3QKCQkJICAgJmJvZHkgb3B0aW9ucykKICAgIGAoZGVmZ2VuZXJpYyAsbmFtZSAsYXJn bGlzdCAsQG9wdGlvbnMpKQoKICAoZGVmbWFjcm8gY2wtZGVmbWV0aG9kIChuYW1lICZyZXN0 IGFyZ3MpCiAgICBgKGRlZm1ldGhvZCAsbmFtZSAsQGFyZ3MpKQoKICAoZGVmbWFjcm8gY2wt Y2FsbC1uZXh0LW1ldGhvZCAoKQogICAgYChjYWxsLW5leHQtbWV0aG9kKSkKCiAgKGRlZm1h Y3JvIGNsLWRlZm1hY3JvIChuYW1lIGFyZ2xpc3QgJmJvZHkgYm9keSkKICAgIGAoZGVmbWFj cm8gLG5hbWUgLGFyZ2xpc3QgLEBib2R5KSkKCiAgKTtFVkFMLVdIRU4KCihkZWZ1biBjbGFz cy1uYW1lLW9mIChvYmopCiAgKGNsYXNzLW5hbWUgKGNsYXNzLW9mIG9iaikpKQoKKGRlZnVu IG9iamVjdC1hZGQtdG8tbGlzdCAob2JqIHNsb3QgaXRlbSkKICAgIChzZXRmIChzbG90LXZh bHVlIG9iaiBzbG90KQoJICAoY29ucyBpdGVtIChzbG90LXZhbHVlIG9iaiBzbG90KSkpKQoK DAooY2wtZGVmbWFjcm8gZGVmaW5lLXRlc3QgKChuYW1lIHNsb3QgYmFzZSkgJnJlc3QgY2xh c3NlcykKICBgKHByb2duCiAgICAgKGRlZnVuIG5vdGljZSAob2JqIGNsYXNzKQogICAgICAg KG9iamVjdC1hZGQtdG8tbGlzdCBvYmogJyxzbG90IGNsYXNzKSkKICAgICAoY2wtZGVmbWV0 aG9kICxuYW1lICgoeCAsYmFzZSkpCiAgICAgICAobm90aWNlIHggJyxiYXNlKQogICAgICAg KHNsb3QtdmFsdWUgeCAnLHNsb3QpKQogICAgICxAKGNsLWxvb3AgZm9yIGNsYXNzIGluIGNs YXNzZXMKCSAgICAgY29sbGVjdAoJICAgICBgKGNsLWRlZm1ldGhvZCAsbmFtZSAoKHggLGNs YXNzKSkKCQkobm90aWNlIHggJyxjbGFzcykKCQkoY2wtY2FsbC1uZXh0LW1ldGhvZCkpKSkp CgooZGVmdmFyIGNjYykKCgwKKGRlZmNsYXNzIGJhc2UgKCkgKChzZWVuIDppbml0Zm9ybSBu aWwpKSkKKGRlZmNsYXNzIGFscGhhICgpICgpKQooZGVmY2xhc3MgYmV0YSAoKSAoKSkKCjs7 OyBURVNUICMxCihkZWZjbGFzcyB3aW5uZXIgKGJldGEgYWxwaGEgYmFzZSkgKCkpCihkZWZp bmUtdGVzdCAoZm9vcyBzZWVuIGJhc2UpIGFscGhhIGJldGEgd2lubmVyKQoKKHNldHEgY2Nj IChtYWtlLWluc3RhbmNlICd3aW5uZXIpKQooZm9vcyBjY2MpCj0+IChCQVNFIEFMUEhBIEJF VEEgV0lOTkVSKQoKDAo7OzsgVEVTVCAjMgoKKGRlZmNsYXNzIGZvby1taXhpbiAoYWxwaGEg YmV0YSkgKCkpCihkZWZjbGFzcyBjaG9wIChmb28tbWl4aW4pICgpKQooZGVmY2xhc3MgZ2xv cCAoKSAoKSkKKGRlZmNsYXNzIGZsb3AgKGdsb3AKCQljaG9wICA7OyBhbHBoYSwgYmV0YQoJ CWJhc2UpICgpKQoKKGRlZmluZS10ZXN0IChmb29zIHNlZW4gYmFzZSkKCSAgICAgYWxwaGEK CSAgICAgYmV0YQoJICAgICBnbG9wCgkgICAgIGZsb3ApCgooc2V0cSBjY2MgKG1ha2UtaW5z dGFuY2UgJ2Zsb3ApKQooZm9vcyBjY2MpCj0+IChCQVNFIEJFVEEgQUxQSEEgR0xPUCBGTE9Q KQoKCg== --------------g8yU65R3IbCrdmm0O5YOW8QI--
Christopher Stacy <cstacy@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#77123
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.