GNU bug report logs - #27956
26.0.50; Setting load-prefer-newer breaks Emacs startup

Previous Next

Package: emacs;

Reported by: Fabrice Popineau <fabrice.popineau <at> gmail.com>

Date: Fri, 4 Aug 2017 18:54:01 UTC

Severity: normal

Found in version 26.0.50

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27956 in the body.
You can then email your comments to 27956 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#27956; Package emacs. (Fri, 04 Aug 2017 18:54:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fabrice Popineau <fabrice.popineau <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 04 Aug 2017 18:54:01 GMT) Full text and rfc822 format available.

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

From: Fabrice Popineau <fabrice.popineau <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.50; Setting load-prefer-newer breaks Emacs startup
Date: Fri, 4 Aug 2017 20:52:45 +0200
[Message part 1 (text/plain, inline)]
;; Eval:
(setq load-prefer-newer t)
;; and then for example:
(delete-selection-mode t)

results in an error and the following in the *Messages* buffer:

insert-file-contents: Recursive load:
"c:/MSys64/MingW64/share/emacs/26.0.50/lisp/jka-compr.el.gz",
"c:/MSys64/MingW64/share/emacs/26.0.50/lisp/emacs-lisp/debug.el.gz",
"c:/MSys64/MingW64/share/emacs/26.0.50/lisp/jka-compr.el.gz",
"c:/MSys64/MingW64/share/emacs/26.0.50/lisp/jka-compr.el.gz",
"c:/MSys64/MingW64/share/emacs/26.0.50/lisp/jka-compr.el.gz",
"c:/MSys64/MingW64/share/emacs/26.0.50/lisp/jka-compr.el.gz",
"c:/MSys64/MingW64/share/emacs/26.0.50/lisp/delsel.el.gz"


In GNU Emacs 26.0.50 (build 5, x86_64-w64-mingw32)
 of 2017-08-04 built on LOBSANG
Repository revision: 6127f5901726740dad461b7b08c0095a65c737d5
Windowing system distributor 'Microsoft Corp.', version 10.0.16251
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
about-emacs: Wrong type argument: number-or-marker-p, nil
Type C-x 1 to delete the help window.

Configured using:
 'configure --prefix=/MingW64 --with-jpeg --with-xpm --with-png
 --with-tiff --with-rsvg --with-xml2 --with-gnutls --with-imagemagick
 --without-dbus --enable-checking=no 'CFLAGS=-I/mingw64/include
 -fomit-frame-pointer -O3 -g0 -mtune=corei7' CPPFLAGS=-I/mingw64/include
 LDFLAGS=-L/mingw64/lib'

Configured features:
JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS

Important settings:
  value of $LANG: fr_FR
  locale-coding-system: cp1252

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv
bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml
mml-sec password-cache epa derived epg epg-config gnus-util rmail
rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils apropos help-fns radix-tree help-mode
easymenu cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp
disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote w32notify w32 multi-tty
make-network-process emacs)

Memory information:
((conses 16 101172 9279)
 (symbols 56 20314 1)
 (miscs 48 54 140)
 (strings 32 30898 815)
 (string-bytes 1 803193)
 (vectors 16 14252)
 (vector-slots 8 485738 7358)
 (floats 8 56 88)
 (intervals 56 898 13)
 (buffers 992 13))
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27956; Package emacs. (Sat, 05 Aug 2017 06:23:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Fabrice Popineau <fabrice.popineau <at> gmail.com>
Cc: 27956 <at> debbugs.gnu.org
Subject: Re: bug#27956: 26.0.50; Setting load-prefer-newer breaks Emacs startup
Date: Sat, 05 Aug 2017 09:22:03 +0300
> From: Fabrice Popineau <fabrice.popineau <at> gmail.com>
> Date: Fri, 4 Aug 2017 20:52:45 +0200
> 
> ;; Eval:
> (setq load-prefer-newer t)
> ;; and then for example:
> (delete-selection-mode t)
> 
> results in an error and the following in the *Messages* buffer:
> 
> insert-file-contents: Recursive load: "c:/MSys64/MingW64/share/emacs/26.0.50/lisp/jka-compr.el.gz",
> "c:/MSys64/MingW64/share/emacs/26.0.50/lisp/emacs-lisp/debug.el.gz",
> "c:/MSys64/MingW64/share/emacs/26.0.50/lisp/jka-compr.el.gz",
> "c:/MSys64/MingW64/share/emacs/26.0.50/lisp/jka-compr.el.gz",
> "c:/MSys64/MingW64/share/emacs/26.0.50/lisp/jka-compr.el.gz",
> "c:/MSys64/MingW64/share/emacs/26.0.50/lisp/jka-compr.el.gz",
> "c:/MSys64/MingW64/share/emacs/26.0.50/lisp/delsel.el.gz"

I don't see this in Emacs 25.2, and I don't have the current master
installed to test there.  So maybe this is a new thing on master.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27956; Package emacs. (Sat, 05 Aug 2017 07:15:01 GMT) Full text and rfc822 format available.

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

From: Fabrice Popineau <fabrice.popineau <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 27956 <at> debbugs.gnu.org
Subject: Re: bug#27956: 26.0.50; Setting load-prefer-newer breaks Emacs startup
Date: Sat, 5 Aug 2017 09:14:05 +0200
[Message part 1 (text/plain, inline)]
I had to "touch /path/to/emacs/lisp/files/*.elc" after installation to fix
it.



2017-08-05 8:22 GMT+02:00 Eli Zaretskii <eliz <at> gnu.org>:

> > From: Fabrice Popineau <fabrice.popineau <at> gmail.com>
> > Date: Fri, 4 Aug 2017 20:52:45 +0200
> >
> > ;; Eval:
> > (setq load-prefer-newer t)
> > ;; and then for example:
> > (delete-selection-mode t)
> >
> > results in an error and the following in the *Messages* buffer:
> >
> > insert-file-contents: Recursive load: "c:/MSys64/MingW64/share/
> emacs/26.0.50/lisp/jka-compr.el.gz",
> > "c:/MSys64/MingW64/share/emacs/26.0.50/lisp/emacs-lisp/debug.el.gz",
> > "c:/MSys64/MingW64/share/emacs/26.0.50/lisp/jka-compr.el.gz",
> > "c:/MSys64/MingW64/share/emacs/26.0.50/lisp/jka-compr.el.gz",
> > "c:/MSys64/MingW64/share/emacs/26.0.50/lisp/jka-compr.el.gz",
> > "c:/MSys64/MingW64/share/emacs/26.0.50/lisp/jka-compr.el.gz",
> > "c:/MSys64/MingW64/share/emacs/26.0.50/lisp/delsel.el.gz"
>
> I don't see this in Emacs 25.2, and I don't have the current master
> installed to test there.  So maybe this is a new thing on master.
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27956; Package emacs. (Sat, 05 Aug 2017 07:31:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Fabrice Popineau <fabrice.popineau <at> gmail.com>
Cc: 27956 <at> debbugs.gnu.org
Subject: Re: bug#27956: 26.0.50; Setting load-prefer-newer breaks Emacs startup
Date: Sat, 05 Aug 2017 10:30:02 +0300
> From: Fabrice Popineau <fabrice.popineau <at> gmail.com>
> Date: Sat, 5 Aug 2017 09:14:05 +0200
> Cc: 27956 <at> debbugs.gnu.org
> 
> I had to "touch /path/to/emacs/lisp/files/*.elc" after installation to fix it.

??? Do you mean that compressing files with gzip doesn't preserve
their time stamps?  It does here.  The gzip manual specifically says:

     `gzip' reduces the size of the named files using Lempel-Ziv coding
  (LZ77).  Whenever possible, each file is replaced by one with the
  extension `.gz', while keeping the same ownership modes, access and
  modification times.

What version of gzip did you use?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27956; Package emacs. (Sat, 05 Aug 2017 07:47:02 GMT) Full text and rfc822 format available.

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

From: Fabrice Popineau <fabrice.popineau <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 27956 <at> debbugs.gnu.org
Subject: Re: bug#27956: 26.0.50; Setting load-prefer-newer breaks Emacs startup
Date: Sat, 5 Aug 2017 09:46:11 +0200
[Message part 1 (text/plain, inline)]
2017-08-05 9:30 GMT+02:00 Eli Zaretskii <eliz <at> gnu.org>:

> > From: Fabrice Popineau <fabrice.popineau <at> gmail.com>
> > Date: Sat, 5 Aug 2017 09:14:05 +0200
> > Cc: 27956 <at> debbugs.gnu.org
> >
> > I had to "touch /path/to/emacs/lisp/files/*.elc" after installation to
> fix it.
>
> ??? Do you mean that compressing files with gzip doesn't preserve
> their time stamps?  It does here.  The gzip manual specifically says:
>
>      `gzip' reduces the size of the named files using Lempel-Ziv coding
>   (LZ77).  Whenever possible, each file is replaced by one with the
>   extension `.gz', while keeping the same ownership modes, access and
>   modification times.
>
> What version of gzip did you use?
>

Ok, you are right. There is a version 1.6 of gzip.exe  distributed with
TeXLive that has interfered here.
It doesn't preserve timestamps when compressing files. This is definitely a
problem, but not in emacs.

The 1.8 gzip.exe from MSYS2 does preserve timestamps.

Sorry for the noise.
[Message part 2 (text/html, inline)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 05 Aug 2017 07:53:02 GMT) Full text and rfc822 format available.

Notification sent to Fabrice Popineau <fabrice.popineau <at> gmail.com>:
bug acknowledged by developer. (Sat, 05 Aug 2017 07:53:02 GMT) Full text and rfc822 format available.

Message #22 received at 27956-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Fabrice Popineau <fabrice.popineau <at> gmail.com>
Cc: 27956-done <at> debbugs.gnu.org
Subject: Re: bug#27956: 26.0.50; Setting load-prefer-newer breaks Emacs startup
Date: Sat, 05 Aug 2017 10:51:52 +0300
> From: Fabrice Popineau <fabrice.popineau <at> gmail.com>
> Date: Sat, 5 Aug 2017 09:46:11 +0200
> Cc: 27956 <at> debbugs.gnu.org
> 
>  `gzip' reduces the size of the named files using Lempel-Ziv coding
>  (LZ77). Whenever possible, each file is replaced by one with the
>  extension `.gz', while keeping the same ownership modes, access and
>  modification times.
> 
>  What version of gzip did you use?
> 
> Ok, you are right. There is a version 1.6 of gzip.exe distributed with TeXLive that has interfered here.
> It doesn't preserve timestamps when compressing files. This is definitely a problem, but not in emacs.
> 
> The 1.8 gzip.exe from MSYS2 does preserve timestamps.

Heh, I have MSYS Gzip 1.3.5 and GnuWin32 Gzip 1.2.4 here, and they
both preserve timestamps.  So I guess what you have is some botched
port of Gzip.

> Sorry for the noise.

No sweat.  Closing.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 02 Sep 2017 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 352 days ago.

Previous Next


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