From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Jorge P. de Morais Neto" Newsgroups: gmane.emacs.help Subject: The function =?utf-8?Q?=E2=80=98cl-set-difference=E2=80=99?= might not be defined at runtime Date: Tue, 14 Apr 2020 14:53:43 -0300 Message-ID: <877dyi2btk.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="15436"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 14 19:54:30 2020 Return-path: Envelope-to: geh-help-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 1jOPlW-0003sO-KE for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 14 Apr 2020 19:54:30 +0200 Original-Received: from localhost ([::1]:36762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOPlV-0002nl-NR for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 14 Apr 2020 13:54:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52992) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOPl7-0002nW-Oz for help-gnu-emacs@gnu.org; Tue, 14 Apr 2020 13:54:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOPl6-00032D-FJ for help-gnu-emacs@gnu.org; Tue, 14 Apr 2020 13:54:05 -0400 Original-Received: from knopi.disroot.org ([178.21.23.139]:56344) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jOPl6-00030O-1V for help-gnu-emacs@gnu.org; Tue, 14 Apr 2020 13:54:04 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 2F67223EF2 for ; Tue, 14 Apr 2020 19:54:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7QWMzst91GOL for ; Tue, 14 Apr 2020 19:53:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1586886839; bh=KBhLXkX6XDgSB+mEeyfkuTih05UYtRgk/XA+mA6q5/8=; h=From:To:Subject:Date; b=C/UwIkMU9OuWJPY4W7p+L3SYUGh9wZ6MXe3K3p3C7eRh1gPyoSK5jKaGweAejK2w/ las8zYemS5TpwB/u4PNAu0psld8RPQvfFlxTpXcomrrUdj/e9wYbd6m2oxKxaTqs+2 6SiolRpN2fJZ2akjRBwp2q9Kh/3QGzLc816NEiMZ63Zx/6WtX6IrehYBkf63duwz2y eVl0ph7X1+QgZO/6l5nnjg6FpkwQQLDQQ8e81t1B2a/wuEme6EafKuXHDBGxsuh/1B XVlSF5wZeN7e+4j4putyrhXm4Rt0vNMIqta95sBAw7JMCyhmLnwyrRx1rJ8hLVXpa9 xRshavuNsFLbQ== Mail-Followup-To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 178.21.23.139 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122806 Archived-At: Hi. I have a small Elisp file that calls `cl-set-difference'. Flycheck complains the function =E2=80=98cl-set-difference=E2=80=99 might not be defined a= t runtime. (emacs-lisp) This complaint makes no sense to me, because cl-set-difference is autoloaded, according to `describe-function'. I verified this by looking at its definition in the file cl-seq.el. It does have the autoload cookie. I then read more about autoload and found about the function `autloadp'. To my surprise, `(describe-function #'cl-set-difference)` returns nil. Then I checked a few other autoloads: (autoloadp #'markdown-mode) (autoloadp #'js-mode) All of them return nil! What gives? I am using Spacemacs develop (and just before testing I updated the Spacemacs code and all packages), but the autoloadp invocations happened within vanilla Emacs: emacs -q. And I invoked `autoloadp` just after invoking emacs -q. Emacs is version 27.0.90, compiled from an updated checkout of the emacs-27 branch some minutes ago. Regards --=20 - - I am Brazilian. I hope my English is correct and I welcome feedback. - -