GNU bug report logs - #78983
30.1; Strange reference to "Emacs 10.31" in fileio.c

Previous Next

Package: emacs;

Reported by: Ulrich Müller <ulm <at> gentoo.org>

Date: Wed, 9 Jul 2025 16:45:05 UTC

Severity: normal

Found in version 30.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 78983 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ulrich Müller <ulm <at> gentoo.org>
Cc: 78983 <at> debbugs.gnu.org
Subject: Re: bug#78983: 30.1; Strange reference to "Emacs 10.31" in fileio.c
Date: Wed, 09 Jul 2025 20:41:45 +0300
> From: Ulrich Müller <ulm <at> gentoo.org>
> Date: Wed, 09 Jul 2025 18:43:36 +0200
> 
> Fexpand_file_name has another copy below it in an #if 0 ... #endif
> block, with the following comment:
> 
> /* PLEASE DO NOT DELETE THIS COMMENTED-OUT VERSION!
>    This is the old version of expand-file-name, before it was thoroughly
>    rewritten for Emacs 10.31.  We leave this version here commented-out,
>    because the code is very complex and likely to have subtle bugs.  If
>    bugs _are_ found, it might be of interest to look at the old code and
>    see what did it do in the relevant situation.
> 
>    Don't remove this code: it's true that it will be accessible
>    from the repository, but a few years from deletion, people will
>    forget it is there.  */
> 
> Maybe I am missing something, but I believe there never was an
> Emacs 10.31. Version numbers went from 1.1 to 1.12; then the first
> component was dropped and versions continued from 13.
> 
> So I looked into the history: The commented-out code existed already
> in version 19.7 (but not in 18.59). It was then removed on 2001-10-22
> and restored on 2001-10-25 in commit 4887597a1c52 by Eli, who also
> added the above comment.
> 
> tl;dr Could the version reference be changed to "Emacs 19"?

Why is the version important?




This bug report was last modified 35 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.