GNU bug report logs - #20867
24.5; Change behavior of `batch-byte-compile' for directory arguments

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Sun, 21 Jun 2015 19:26:01 UTC

Severity: minor

Tags: fixed

Found in version 24.5

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 20867 <at> debbugs.gnu.org
Subject: bug#20867: 24.5; Change behavior of `batch-byte-compile' for directory arguments
Date: Thu, 01 Aug 2019 23:17:35 +0200
Philipp Stephani <p.stephani2 <at> gmail.com> writes:

> The behavior of `batch-byte-compile' differs between file name and
> directory arguments: For file name arguments, compilation happens if
> NOFORCE is not set, if the destination file doesn't exist, or if it is
> older than the source file.  For directories, however, compilations
> happens if the destination file already exists *and* it is older than
> the source file; NOFORCE is ignored.  This behavior is not documented,
> and I find it quite unintuitive.  Please change the behavior for
> directories to match the behavior for files.

Yes, that's pretty odd behaviour, but I don't think it makes sense to
change it now -- it's been like this for decades.

Instead I've now just explained what it does in the doc string in Emacs
27.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 5 years and 296 days ago.

Previous Next


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