From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Allow hiding stashes from vc-dir Date: Fri, 18 Oct 2019 23:16:42 -0400 Message-ID: References: <831rvegnub.fsf@gnu.org> <871rvex9ue.fsf@mail.linkov.net> <87eezdpjh4.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="76988"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Eli Zaretskii , Juri Linkov , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 19 05:17:14 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 1iLfEl-000JNr-Qt for ged-emacs-devel@m.gmane.org; Sat, 19 Oct 2019 05:17:03 +0200 Original-Received: from localhost ([::1]:47918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLfEe-00054P-Le for ged-emacs-devel@m.gmane.org; Fri, 18 Oct 2019 23:16:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48487) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLfEX-00054J-Ur for emacs-devel@gnu.org; Fri, 18 Oct 2019 23:16:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLfEW-0004eB-3s for emacs-devel@gnu.org; Fri, 18 Oct 2019 23:16:48 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:34578) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iLfEU-0004cx-Es; Fri, 18 Oct 2019 23:16:46 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D41988109E; Fri, 18 Oct 2019 23:16:44 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 8958B80726; Fri, 18 Oct 2019 23:16:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1571455003; bh=p3wAX13g9R5m8tAq6K+ZKM4J326aodgTJBsApfjTbSs=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=lASJIzfzpCe7CD7hdO1QMzjYpkBJSuEeGQKlnYpBI7LObS2xWXKtx27xjUDa2HwUg VT6iunQetP69MtTv9GpVDOWXwTXTOGFLNmu/xoBJZM2JaAs8BA3Y2CXK1lVEmd/t6I kUzgjAsvC6xicfm+EswjBZEfQ+lvnDny+t4GBUN+LS+nzSeXxEi5Q7If+rNrKI+K3b iCU9gsKtqe6/AHc/QHxv2DckgT6lLi6zx8NCPTjLbPc4Hn2zu3Dnj2UJ+mkOslNnaP mYjWbskVKJQYyRG5oHD+Zc+aIg9qpdN9CTuVIgYqeBlNKnjNPg24BUrZrfSly94XV8 eRiVMq5BoZqkw== Original-Received: from pastel (unknown [216.154.15.203]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 130B11204BD; Fri, 18 Oct 2019 23:16:43 -0400 (EDT) In-Reply-To: (Robert Pluim's message of "Fri, 18 Oct 2019 16:07:33 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 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:241215 Archived-At: > I believe you [1]. Although in my mind the whole point of the autoload > cookies is that you don=CA=BCt need to require the whole of cl-lib just to > use one of its functions. The autoload cookies in cl-extra.el are setup such that it means "once cl-lib is loaded, those functions get autoloaded". Which is why you still need to load cl-lib in order to setup the autoload. But really, you don't need to know any of that. cl-subseq is a function exported by cl-lib, so you need to load cl-lib to use the function (the fact that it uses an autoload is a detail internal to cl-lib, just like the fact that it's not defined in cl-lib.el but in cl-extra.el). Stefan