From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65464: Emacs 29.1 - VHDL mode missing =?UTF-8?Q?updates=E2=80=A6?= Date: Tue, 12 Sep 2023 14:31:04 +0300 Message-ID: <83msxrpr0n.fsf@gnu.org> References: <42BCABAA-051A-496B-B447-00DDE0901C7C@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40785"; mail-complaints-to="usenet@ciao.gmane.io" Cc: reto@gnu.org, mattias.engdegard@gmail.com, 65464@debbugs.gnu.org, stefankangas@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 12 13:33:53 2023 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 1qg1eS-0009ga-Ls for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Sep 2023 13:33:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qg1cq-0005ls-7T; Tue, 12 Sep 2023 07:32:12 -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 1qg1cc-0005g8-Sa for bug-gnu-emacs@gnu.org; Tue, 12 Sep 2023 07:32:00 -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 1qg1cb-00012e-To for bug-gnu-emacs@gnu.org; Tue, 12 Sep 2023 07:31:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qg1cg-0007Lz-E3 for bug-gnu-emacs@gnu.org; Tue, 12 Sep 2023 07:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Sep 2023 11:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65464 X-GNU-PR-Package: emacs Original-Received: via spool by 65464-submit@debbugs.gnu.org id=B65464.169451829428211 (code B ref 65464); Tue, 12 Sep 2023 11:32:02 +0000 Original-Received: (at 65464) by debbugs.gnu.org; 12 Sep 2023 11:31:34 +0000 Original-Received: from localhost ([127.0.0.1]:56308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qg1cD-0007Kx-SG for submit@debbugs.gnu.org; Tue, 12 Sep 2023 07:31:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qg1cC-0007Ka-2P for 65464@debbugs.gnu.org; Tue, 12 Sep 2023 07:31:33 -0400 Original-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 ) id 1qg1bz-0000wA-8q; Tue, 12 Sep 2023 07:31:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Z21fNbX7a5bAqqMO7tMhv34THjpI+ttx4/WWgIYUEOE=; b=jM3EuyhEsRM/qWnMT5s0 k2MI0i7rnPJkxFYGH3rvSNcBAy/W53zHdxF6visZdB2LctBMSCESGU3BPr9bZn4vsMlrzA3EgOcJw Z/xt16o3D65z0CK4Z2ATI+t3aoN1vhNWnhkUBx2BywYVT+SkQh+3DOAk4DzbcKsP/N3WGjjLTuIWR bZx4FcpBMKGiWZTS2BCSP8ApzUljHYJTCV0K+zJDFjphx5IDBHGi/ds3eWWEPxwICna3RLJXPU2qG MgodG+l9ZK0u7kZE+XzWWMHNwxkpKF6G4mzqV4EA0CLUAyM2BiV/0N9lccnaBkFTWKfFwc+uQ01Bd FuEvolQZT0PTUQ==; In-Reply-To: (message from Stefan Monnier on Mon, 11 Sep 2023 18:17:18 -0400) 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:270156 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , Reto Zimmermann , > 65464@debbugs.gnu.org, Stefan Kangas > Date: Mon, 11 Sep 2023 18:17:18 -0400 > > > In other words, if someone is unable to run vhdl-mode.elc from Emacs 29 on > > Emacs 28, then we're very sorry but do not consider it a defect that needs > > to be remedied. > > Actually, I do think we should try and detect the problem (and ideally > emit a message/error and maybe even fallback to loading the > non-compiled file). > > We do have the necessary info in the `.elc` file (the byte 4th byte > (0-based numbering) of a `.elc` file holds the major version number of > the Emacs on which it was compiled (with some caveat for non-released > Emacs versions, such as 30.0.NN emitting `.elc` files that say "version > 29")). > > We just need to make use of that info. Make use how? In most cases the byte-code is compatible both backward and forward, so displaying a warning would be an annoyance that 99% of time is unjustified.