From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#39233: .elc file - possibly outdated backward compatibility comments Date: Wed, 22 Jan 2020 09:44:14 +0100 Message-ID: <87zhefkhi9.fsf@marxist.se> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="53698"; mail-complaints-to="usenet@ciao.gmane.io" To: 39233@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 22 09:45:13 2020 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 1iuBdR-000Dwz-IW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jan 2020 09:45:13 +0100 Original-Received: from localhost ([::1]:38594 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuBdQ-0003z1-ET for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jan 2020 03:45:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47326) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuBdH-0003yo-Vb for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 03:45:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuBdG-0007eQ-Jd for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 03:45:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42986) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuBdG-0007e4-GD for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 03:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iuBdG-0000WJ-Dw for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 03:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Jan 2020 08:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39233 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15796826641914 (code B ref -1); Wed, 22 Jan 2020 08:45:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Jan 2020 08:44:24 +0000 Original-Received: from localhost ([127.0.0.1]:48959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuBcd-0000Uo-P5 for submit@debbugs.gnu.org; Wed, 22 Jan 2020 03:44:23 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:52024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuBcc-0000Ug-LH for submit@debbugs.gnu.org; Wed, 22 Jan 2020 03:44:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47243) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuBcb-0003jR-6s for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 03:44:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuBca-0007Pq-6i for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 03:44:21 -0500 Original-Received: from ted.gofardesign.uk ([67.225.143.91]:38572) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuBcZ-0007Pe-VF for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 03:44:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=d9ru/LwdpzrGFx49wjVeIJXgJLgViLvzMsIXm6eXcdk=; b=XFePozhIlg4esAAjBodmqrxXOV oo+2O64R/wZSMQqVa6wXmgS62DB8jLPJyuzbrp4c6/RQa5SVop3yUGK2Fe8SMsGeLGgFF0SZ2NATf /mduNs7wOEMWZ6G4j8Zvy9vHlwSJfCVgaqYlBAgPvCBsMcMY02wl+zsUDw5XnTsulXFvLzEyTbp05 b1Kev70WNNJ3u5JDkFhKK8l4zzE8QO1mQjEzwpUW1Tw1W0CZiSXO7TA5k/wTKXTQDktb08MlasoDR YwdvGtbuLhTaqxKej2WDRJiii1FnHL7BCSt33fKcIL/n7/KombxoL70TrW+DQA1rr5Lu7irgOt4Kg FpYdS9Qg==; Original-Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:41016 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iuBcW-000SeK-NG for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 03:44:17 -0500 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Xref: news.gmane.io gmane.emacs.bugs:175053 Archived-At: In the .elc files on my machine, I see the following: ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. I have the following suggestions/questions: 1. Is it still correct that the byte compiled file can be loaded on Emacs 22? We have (at least) one new opcode not supported by Emacs 22 (see e.g. commit 88549ec38). And AFAIK, Emacs crashes on incorrect opcodes. If the comment is incorrect, we should consider removing or changing it. 2. Change the first line to no longer mention Emacs 19.29. Emacs versions before 19.29 are no longer relevant, so there is need to say this. 3. Following up on point 2, I also see: "\n;;; This file uses " (if dynamic-docstrings "dynamic docstrings, first added in Emacs 19.29" "opcodes that do not exist in Emacs 18") I'm not sure what to do here, but it doesn't seem to make sense to mention Emacs 18 in any case. Of course, this file might use opcodes that do not exist in Emacs 23, or perhaps an even later version. Or, these points are all moot because no one cares what these files says, and it should anyways be kept for hysterical reasons. I just don't know. :-) So WDYT? Best regards, Stefan Kangas