From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Allow hiding stashes from vc-dir Date: Fri, 18 Oct 2019 15:22:46 +0300 Message-ID: <83ftjq8cq1.fsf@gnu.org> References: <831rvegnub.fsf@gnu.org> <871rvex9ue.fsf@mail.linkov.net> <87eezdpjh4.fsf@gnus.org> <87ftjqlp7w.fsf@gnus.org> <83imom8m1y.fsf@gnu.org> <83h8468knc.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="29655"; mail-complaints-to="usenet@blaine.gmane.org" Cc: larsi@gnus.org, juri@linkov.net, emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 18 14:25:34 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iLRK1-0007Pp-97 for ged-emacs-devel@m.gmane.org; Fri, 18 Oct 2019 14:25:33 +0200 Original-Received: from localhost ([::1]:39148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLRJz-0004Xf-VD for ged-emacs-devel@m.gmane.org; Fri, 18 Oct 2019 08:25:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40395) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLRHZ-0003r9-BT for emacs-devel@gnu.org; Fri, 18 Oct 2019 08:23:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iLRHY-0008BI-LY; Fri, 18 Oct 2019 08:23:00 -0400 Original-Received: from [176.228.60.248] (port=1717 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iLRHY-00062w-2T; Fri, 18 Oct 2019 08:23:00 -0400 In-reply-to: (message from Robert Pluim on Fri, 18 Oct 2019 12:18:19 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241199 Archived-At: > From: Robert Pluim > Cc: larsi@gnus.org, emacs-devel@gnu.org, juri@linkov.net > Date: Fri, 18 Oct 2019 12:18:19 +0200 > > >>>>> On Fri, 18 Oct 2019 12:31:35 +0300, Eli Zaretskii said: > > >> (provide 'cl-lib) > >> (unless (load "cl-loaddefs" 'noerror 'quiet) > >> ;; When bootstrapping, cl-loaddefs hasn't been built yet! > >> (require 'cl-macs) > >> (require 'cl-seq)) > > Eli> Does this happen during byte-compilation? > > I think so. With the following patch: > > diff --git a/lisp/emacs-lisp/cl-lib.el b/lisp/emacs-lisp/cl-lib.el > index ff09691817..4238f09c1b 100644 > --- a/lisp/emacs-lisp/cl-lib.el > +++ b/lisp/emacs-lisp/cl-lib.el > @@ -627,7 +627,7 @@ substring > ;;; Miscellaneous. > > (provide 'cl-lib) > -(unless (load "cl-loaddefs" 'noerror 'quiet) > +(unless (load "cl-loaddefs" 'noerror) > ;; When bootstrapping, cl-loaddefs hasn't been built yet! > (require 'cl-macs) > (require 'cl-seq)) > > I get: > > make[2]: Nothing to be done for `all'. > ELC emacs-lisp/cl-lib.elc > Loading /Users/rpluim/repos/emacs-real-master/lisp/emacs-lisp/cl-loaddefs.el (source)... Then it sounds like more debugging is needed to understand why autoloading seems to not work in this case. Thanks.