From unknown Fri Jun 20 19:58:15 2025
X-Loop: help-debbugs@gnu.org
Subject: bug#20867: 24.5; Change behavior of `batch-byte-compile' for directory arguments
Resent-From: Philipp Stephani
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sun, 21 Jun 2015 19:26:01 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 20867
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 20867@debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.143491472930901
(code B ref -1); Sun, 21 Jun 2015 19:26:01 +0000
Received: (at submit) by debbugs.gnu.org; 21 Jun 2015 19:25:29 +0000
Received: from localhost ([127.0.0.1]:53591 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.80)
(envelope-from )
id 1Z6krw-00082J-Im
for submit@debbugs.gnu.org; Sun, 21 Jun 2015 15:25:28 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40755)
by debbugs.gnu.org with esmtp (Exim 4.80)
(envelope-from ) id 1Z6kru-000826-LW
for submit@debbugs.gnu.org; Sun, 21 Jun 2015 15:25:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1Z6kro-0002fJ-M5
for submit@debbugs.gnu.org; Sun, 21 Jun 2015 15:25:21 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,
FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled
version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:43934)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1Z6kro-0002fF-In
for submit@debbugs.gnu.org; Sun, 21 Jun 2015 15:25:20 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54261)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1Z6krn-0004JI-EA
for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2015 15:25:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1Z6krm-0002eh-6Z
for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2015 15:25:19 -0400
Received: from mail-wg0-x232.google.com ([2a00:1450:400c:c00::232]:34826)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1Z6krm-0002eb-0D
for bug-gnu-emacs@gnu.org; Sun, 21 Jun 2015 15:25:18 -0400
Received: by wgbhy7 with SMTP id hy7so125322913wgb.2
for ; Sun, 21 Jun 2015 12:25:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=from:to:subject:date:message-id:mime-version:content-type;
bh=f1Kt6jbAfgLmQm8g84jSwdteE3Mw9nGhD7a5m1GU304=;
b=TD7PfXAhuwKErssC12rhtDEM5daRFwn4A9ApvFDxqOCC9y/ofwUmdJUFAZy6dD/NiX
9GXPGbZ4yMND8lNwLEE5gwyB8DwFvAmduqdJo6ZhQ6YKSNrRDoL6fICKnZvsrMOYH6Da
2KLRLFJTWRIyaxsEj2NY5lw/11oQ+2UnwBiWK2vpKRQp8c1tK0rvZUC72WIQUQaQZOkN
4KoJRdHxMP0wsYyqESwzxfYKl/fXiWMNlc6rQIG72EBbeMsdCaQ5H9oCb3fAY4vo6+HR
/+9iEd8g86pVXvPsJIgcViN+ZWcEA+kUPaaTPQfXVajsrFMTtRRPvKWbK05OAdGdTr5E
VSnQ==
X-Received: by 10.180.95.163 with SMTP id dl3mr25285794wib.30.1434914717511;
Sun, 21 Jun 2015 12:25:17 -0700 (PDT)
Received: from p ([2001:4c50:32e:6b00:b925:ce68:99e3:6fd9])
by mx.google.com with ESMTPSA id jy6sm22084903wjc.4.2015.06.21.12.25.16
for
(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Sun, 21 Jun 2015 12:25:16 -0700 (PDT)
From: Philipp Stephani
Date: Sun, 21 Jun 2015 21:25:04 +0200
Message-ID:
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
(bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
(bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -3.8 (---)
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.
In GNU Emacs 24.5.1 (x86_64-apple-darwin14.1.0, NS apple-appkit-1344.72)
of 2015-04-12 on p
Windowing system distributor `Apple', version 10.3.1347
Configured using:
`configure --prefix=/usr/local/Cellar/emacs/24.5
--enable-locallisppath=/usr/local/share/emacs/site-lisp
--infodir=/usr/local/Cellar/emacs/24.5/share/info/emacs
--with-file-notification=gfile --with-dbus --with-gnutls --with-rsvg
--with-imagemagick --without-popmail --with-ns
--disable-ns-self-contained'
Important settings:
value of $LANG: de_DE.UTF-8
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-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
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils time-date tooltip electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer 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 make-network-process
dbusbind gfilenotify cocoa ns multi-tty emacs)
Memory information:
((conses 16 72026 5248)
(symbols 48 17540 0)
(miscs 40 36 128)
(strings 32 9865 4736)
(string-bytes 1 263432)
(vectors 16 9022)
(vector-slots 8 377079 14438)
(floats 8 55 147)
(intervals 56 184 0)
(buffers 960 11))
From unknown Fri Jun 20 19:58:15 2025
X-Loop: help-debbugs@gnu.org
Subject: bug#20867: 24.5; Change behavior of `batch-byte-compile' for directory arguments
Resent-From: Lars Ingebrigtsen
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Thu, 01 Aug 2019 21:18:01 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 20867
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Philipp Stephani
Cc: 20867@debbugs.gnu.org
Received: via spool by 20867-submit@debbugs.gnu.org id=B20867.156469426529358
(code B ref 20867); Thu, 01 Aug 2019 21:18:01 +0000
Received: (at 20867) by debbugs.gnu.org; 1 Aug 2019 21:17:45 +0000
Received: from localhost ([127.0.0.1]:55512 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1htISH-0007dS-Ad
for submit@debbugs.gnu.org; Thu, 01 Aug 2019 17:17:45 -0400
Received: from quimby.gnus.org ([80.91.231.51]:46648)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1htISC-0007d5-6r
for 20867@debbugs.gnu.org; Thu, 01 Aug 2019 17:17:41 -0400
Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy)
by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.89) (envelope-from )
id 1htIS7-000400-OM; Thu, 01 Aug 2019 23:17:38 +0200
From: Lars Ingebrigtsen
References:
Date: Thu, 01 Aug 2019 23:17:35 +0200
In-Reply-To: (Philipp Stephani's message of "Sun,
21 Jun 2015 21:25:04 +0200")
Message-ID: <871ry4d1qo.fsf@mouse.gnus.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview: Philipp Stephani 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, [...]
Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
0.0 TVD_RCVD_IP Message was received from an IP address
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -1.0 (-)
Philipp Stephani 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
From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 01 17:17:46 2019
Received: (at control) by debbugs.gnu.org; 1 Aug 2019 21:17:46 +0000
Received: from localhost ([127.0.0.1]:55514 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1htISI-0007db-Ja
for submit@debbugs.gnu.org; Thu, 01 Aug 2019 17:17:46 -0400
Received: from quimby.gnus.org ([80.91.231.51]:46662)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1htISG-0007dL-Is
for control@debbugs.gnu.org; Thu, 01 Aug 2019 17:17:44 -0400
Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy)
by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.89) (envelope-from ) id 1htISD-000407-Vx
for control@debbugs.gnu.org; Thu, 01 Aug 2019 23:17:44 +0200
Date: Thu, 01 Aug 2019 23:17:41 +0200
Message-Id: <87zhksbn62.fsf@mouse.gnus.org>
To: control@debbugs.gnu.org
From: Lars Ingebrigtsen
Subject: control message for bug #20867
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview: tags 20867 fixed close 20867 27.1 quit
Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
0.0 TVD_RCVD_IP Message was received from an IP address
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -1.0 (-)
tags 20867 fixed
close 20867 27.1
quit