GNU bug report logs - #24428
25.1; batch-byte-recompile-directory no longer works as it should

Previous Next

Package: emacs;

Reported by: John Wiegley <jwiegley <at> gmail.com>

Date: Tue, 13 Sep 2016 17:50:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 25.1

Done: John Wiegley <jwiegley <at> gmail.com>

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 24428 in the body.
You can then email your comments to 24428 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#24428; Package emacs. (Tue, 13 Sep 2016 17:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to John Wiegley <jwiegley <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 13 Sep 2016 17:50:02 GMT) Full text and rfc822 format available.

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

From: John Wiegley <jwiegley <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; batch-byte-recompile-directory no longer works as it should
Date: Tue, 13 Sep 2016 10:48:05 -0700
It seems that `batch-byte-recompile-directory' now doubles the argument
somehow.  I was unable to track down the commit where this was introduced, but
this is happening in a Makefile that worked for years until recently:

--8<---------------cut here---------------start------------->8---
10:42:49 Vulcan:~/.emacs.d $ emacs -Q -batch -L . --eval '(batch-byte-recompile-directory 0)' lib
Checking /Users/johnw/.emacs.d/lib/lib...
Error: Opening directory: no such file or directory, /Users/johnw/.emacs.d/lib/lib
Done (Total of 0 files compiled)
--8<---------------cut here---------------end--------------->8---

Notice the 'lib/lib' there.  Using `byte-recompile-directory' interactively
from within a running Emacs works fine, however.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#24428; Package emacs. (Wed, 14 Sep 2016 17:36:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: John Wiegley <jwiegley <at> gmail.com>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#24428: 25.1;
 batch-byte-recompile-directory no longer works as it should
Date: Wed, 14 Sep 2016 20:34:49 +0300
> From: John Wiegley <jwiegley <at> gmail.com>
> Date: Tue, 13 Sep 2016 10:48:05 -0700
> 
> It seems that `batch-byte-recompile-directory' now doubles the argument
> somehow.  I was unable to track down the commit where this was introduced, but
> this is happening in a Makefile that worked for years until recently:
> 
> --8<---------------cut here---------------start------------->8---
> 10:42:49 Vulcan:~/.emacs.d $ emacs -Q -batch -L . --eval '(batch-byte-recompile-directory 0)' lib
> Checking /Users/johnw/.emacs.d/lib/lib...
> Error: Opening directory: no such file or directory, /Users/johnw/.emacs.d/lib/lib
> Done (Total of 0 files compiled)
> --8<---------------cut here---------------end--------------->8---
> 
> Notice the 'lib/lib' there.  Using `byte-recompile-directory' interactively
> from within a running Emacs works fine, however.

I cannot reproduce this, FWIW.  It works here as expected.  Can you
look deeper, e.g. what arguments does batch-byte-recompile-directory
get invoked with?





Reply sent to John Wiegley <jwiegley <at> gmail.com>:
You have taken responsibility. (Wed, 14 Sep 2016 18:17:02 GMT) Full text and rfc822 format available.

Notification sent to John Wiegley <jwiegley <at> gmail.com>:
bug acknowledged by developer. (Wed, 14 Sep 2016 18:17:02 GMT) Full text and rfc822 format available.

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

From: John Wiegley <jwiegley <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 24428-done <at> debbugs.gnu.org
Subject: Re: bug#24428: 25.1;
 batch-byte-recompile-directory no longer works as it should
Date: Wed, 14 Sep 2016 11:16:01 -0700
[Message part 1 (text/plain, inline)]
>>>>> Eli Zaretskii <eliz <at> gnu.org> writes:

> I cannot reproduce this, FWIW. It works here as expected. Can you look
> deeper, e.g. what arguments does batch-byte-recompile-directory get invoked
> with?

Hi Eli, I'm sorry I forgot to follow up on this.  It doesn't happen with Emacs
25, but only the very old Emacs that came with my Mac, which was somehow on my
path ahead of the good one yesterday.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 13 Oct 2016 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 254 days ago.

Previous Next


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