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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20867 in the body.
You can then email your comments to 20867 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#20867; Package emacs. (Sun, 21 Jun 2015 19:26:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Philipp Stephani <p.stephani2 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 21 Jun 2015 19:26:02 GMT) Full text and rfc822 format available.

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

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.5; Change behavior of `batch-byte-compile' for directory arguments
Date: Sun, 21 Jun 2015 21:25:04 +0200
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))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20867; Package emacs. (Thu, 01 Aug 2019 21:18:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 20867 <at> debbugs.gnu.org
Subject: Re: 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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 01 Aug 2019 21:18:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 20867 <at> debbugs.gnu.org and Philipp Stephani <p.stephani2 <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 01 Aug 2019 21:18:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 30 Aug 2019 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 234 days ago.

Previous Next


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