From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39823: 26.3; update-directory-autoloads regression from Emacs 26 to Emacs 27 Date: Thu, 01 Oct 2020 20:54:07 +0300 Message-ID: <83blhlhlxc.fsf@gnu.org> References: <87zhd2lpad.fsf@gmail.com> <87o8t16q5e.fsf@gmail.com> <87y2rz4tgb.fsf@gmail.com> <87blo2k4wp.fsf@gmail.com> <83369eqyij.fsf@gnu.org> <87wo6qhqvd.fsf@gmail.com> <835ze9pzfq.fsf@gnu.org> <87mu78jhgz.fsf@gmail.com> <868sir8y85.fsf@gmail.com> <87mu4vn3kz.fsf@gmail.com> <87a6x747bq.fsf@gnus.org> <87h7rdq2wu.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19391"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39823@debbugs.gnu.org, rms@gnu.org, maxim.cournoyer@gmail.com, npostavs@gmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 01 20:10:28 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kO32B-0004vt-R0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 20:10:27 +0200 Original-Received: from localhost ([::1]:54450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kO32A-0003cP-OD for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 01 Oct 2020 14:10:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kO2nG-0005WD-7X for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 13:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54913) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kO2nF-0007qN-Sr for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 13:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kO2nF-0002eD-SE for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2020 13:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2020 17:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39823 X-GNU-PR-Package: emacs Original-Received: via spool by 39823-submit@debbugs.gnu.org id=B39823.160157488010146 (code B ref 39823); Thu, 01 Oct 2020 17:55:01 +0000 Original-Received: (at 39823) by debbugs.gnu.org; 1 Oct 2020 17:54:40 +0000 Original-Received: from localhost ([127.0.0.1]:38226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO2mp-0002dU-TN for submit@debbugs.gnu.org; Thu, 01 Oct 2020 13:54:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kO2mm-0002dH-H8 for 39823@debbugs.gnu.org; Thu, 01 Oct 2020 13:54:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58586) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kO2md-0007he-Jj; Thu, 01 Oct 2020 13:54:26 -0400 Original-Received: from [176.228.60.248] (port=2357 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kO2mS-0002HW-N7; Thu, 01 Oct 2020 13:54:13 -0400 In-Reply-To: <87h7rdq2wu.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 01 Oct 2020 19:20:01 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189546 Archived-At: > From: Lars Ingebrigtsen > Date: Thu, 01 Oct 2020 19:20:01 +0200 > Cc: 39823@debbugs.gnu.org, rms@gnu.org, Noam Postavsky > > Lars Ingebrigtsen writes: > > > I think it would make more sense to introduce a new function, say, > > `make-directory-autoloads' (because it doesn't so much update the > > autoloads as create an autoload file, I think?) with a sane function > > signature, and then deprecate update-directory-autoloads (which is only > > used a handful of place in the Emacs tree). > > Man, that was a lot more invasive than I thought, because the > dynamically bound variable was used all over the place. > > But with the following patch > > (make-directory-autoloads "~/src/emacs/trunk/lisp/calc" "/tmp/autofoo.el") > > works. Emacs builds after applying the patch, and starts, and no tests > fail. > > Does this look OK to everybody? Before we go and make all these changes, how about considering the solution I proposed up-thread, i.e. leave this alone? I mean, is it really worth all this? It's an obscure use case with a very easy solution/workaround. But feel free to ignore me.