unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39233: .elc file - possibly outdated backward compatibility comments
@ 2020-01-22  8:44 Stefan Kangas
  2020-01-22 17:13 ` Eli Zaretskii
  2020-01-23 16:26 ` Stefan Monnier
  0 siblings, 2 replies; 15+ messages in thread
From: Stefan Kangas @ 2020-01-22  8:44 UTC (permalink / raw)
  To: 39233

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





^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-09-21 12:56 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-22  8:44 bug#39233: .elc file - possibly outdated backward compatibility comments Stefan Kangas
2020-01-22 17:13 ` Eli Zaretskii
2020-01-23 16:26 ` Stefan Monnier
2020-01-24  9:20   ` Eli Zaretskii
2020-01-24 14:22     ` Stefan Monnier
2020-01-24 14:36       ` Lars Ingebrigtsen
2020-01-24 16:08         ` Stefan Kangas
2020-01-24 15:23       ` Eli Zaretskii
2020-01-24 17:29         ` Stefan Monnier
2020-01-24 18:45           ` Stefan Monnier
2020-01-24 19:06             ` Stefan Kangas
2020-01-24 19:14               ` Stefan Monnier
2020-01-24 19:19             ` Glenn Morris
2020-01-24 20:08             ` Eli Zaretskii
2020-09-21 12:56             ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).