[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Message "Source file newer than byte-compiled file" not logged
From: |
David PONCE |
Subject: |
Message "Source file newer than byte-compiled file" not logged |
Date: |
Fri, 21 Feb 2003 14:24:10 +0100 (MET) |
Hi,
When loading a source file newer than byte-compiled file, using:
`(load "LIBRARY" nil t)' or (require 'LIBRARY) the message:
"Source file `LIBRARY.el' newer than byte-compiled file" is not
written to the message log.
This is particularly annoying when loading a lot of libraries at
startup because that important information is lost.
I checked that Emacs 20.7 and pretest 21.2.92.1 log that message.
I applied the following patch to lread.c that seems to fix the
problem.
Index: src/lread.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/lread.c,v
retrieving revision 1.309
diff -c -r1.309 lread.c
*** src/lread.c 18 Feb 2003 22:45:32 -0000 1.309
--- src/lread.c 21 Feb 2003 13:03:32 -0000
***************
*** 844,850 ****
Lisp_Object file;
file = Fsubstring (found, make_number (0), make_number (-1));
message_with_string ("Source file `%s' newer than
byte-compiled file",
! file, STRING_MULTIBYTE (file));
}
}
}
--- 844,850 ----
Lisp_Object file;
file = Fsubstring (found, make_number (0), make_number (-1));
message_with_string ("Source file `%s' newer than
byte-compiled file",
! file, 1);
}
}
}
Hope it will help.
David
In GNU Emacs 21.3.50.1 (i386-mingw-nt4.0.1381)
of 2003-02-21 on EBAT311
configured using `configure --with-gcc (3.2)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ENU
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Recent input:
( a d d - t o - l i s t SPC ' l o a d - p a t h SPC
" c : / t m p " ) C-j ( r e q u i r e SPC ' <backspace>
' m y - t e s t ) C-j <help-echo> <help-echo> <help-echo>
<menu-bar> <buffer> "*Messages*" <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<help-menu> <report-emacs-bug>
Recent messages:
(C:\opt\emacs\bin\emacs.exe -q --no-site-file)
Loading tool-bar...done
Loading image...done
Loading tooltip...done
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...done
- Message "Source file newer than byte-compiled file" not logged,
David PONCE <=