unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Philipp Stephani <p.stephani2@gmail.com>
Cc: 20867@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	[thread overview]
Message-ID: <871ry4d1qo.fsf@mouse.gnus.org> (raw)
In-Reply-To: <m2bng8ampb.fsf@gmail.com> (Philipp Stephani's message of "Sun, 21 Jun 2015 21:25:04 +0200")

Philipp Stephani <p.stephani2@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





      reply	other threads:[~2019-08-01 21:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-21 19:25 bug#20867: 24.5; Change behavior of `batch-byte-compile' for directory arguments Philipp Stephani
2019-08-01 21:17 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871ry4d1qo.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=20867@debbugs.gnu.org \
    --cc=p.stephani2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).