unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24428: 25.1; batch-byte-recompile-directory no longer works as it should
@ 2016-09-13 17:48 John Wiegley
  2016-09-14 17:34 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: John Wiegley @ 2016-09-13 17:48 UTC (permalink / raw)
  To: 24428

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





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

* bug#24428: 25.1; batch-byte-recompile-directory no longer works as it should
  2016-09-13 17:48 bug#24428: 25.1; batch-byte-recompile-directory no longer works as it should John Wiegley
@ 2016-09-14 17:34 ` Eli Zaretskii
  2016-09-14 18:16   ` John Wiegley
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2016-09-14 17:34 UTC (permalink / raw)
  To: John Wiegley; +Cc: 24428

> From: John Wiegley <jwiegley@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?






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

* bug#24428: 25.1; batch-byte-recompile-directory no longer works as it should
  2016-09-14 17:34 ` Eli Zaretskii
@ 2016-09-14 18:16   ` John Wiegley
  0 siblings, 0 replies; 3+ messages in thread
From: John Wiegley @ 2016-09-14 18:16 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 24428-done

[-- Attachment #1: Type: text/plain, Size: 564 bytes --]

>>>>> Eli Zaretskii <eliz@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 629 bytes --]

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

end of thread, other threads:[~2016-09-14 18:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-13 17:48 bug#24428: 25.1; batch-byte-recompile-directory no longer works as it should John Wiegley
2016-09-14 17:34 ` Eli Zaretskii
2016-09-14 18:16   ` John Wiegley

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).