From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#27006: 26.0.50; Elint reports false 'undefined function' errors Date: Sat, 12 Dec 2020 14:14:57 +0100 Message-ID: <87ft4b414e.fsf@gnus.org> References: <87o9un3ccq.fsf@calancha-pc> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7254"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 27006@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 12 19:54:27 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 1koA2E-0001np-Nf for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Dec 2020 19:54:26 +0100 Original-Received: from localhost ([::1]:44654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koA2D-00081p-OK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Dec 2020 13:54:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ko9kv-0006Av-BF for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 13:36:33 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ko9kv-0008Iy-0j for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 13:36:33 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ko4kk-0000Gm-CH for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 08:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Dec 2020 13:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27006 X-GNU-PR-Package: emacs Original-Received: via spool by 27006-submit@debbugs.gnu.org id=B27006.1607778911791 (code B ref 27006); Sat, 12 Dec 2020 13:16:02 +0000 Original-Received: (at 27006) by debbugs.gnu.org; 12 Dec 2020 13:15:11 +0000 Original-Received: from localhost ([127.0.0.1]:44158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko4jv-0000Ch-8S for submit@debbugs.gnu.org; Sat, 12 Dec 2020 08:15:11 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:46976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko4jt-0000Bz-Vd for 27006@debbugs.gnu.org; Sat, 12 Dec 2020 08:15:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=yb23kUjjkQ/mgsAfdkg31OziJceVn8SZHyqsDB8OoXI=; b=HQRiKjRivD6WNxbeYV3vpad2AC Y5hqsBxZdrp70HPEsjyfgpkxPfXbPQnR68OdP+ZO6d7V7dtEXQ6Cn685R4bnkLFoVAmnN/XojD0CY jT0gqoSGFf1QXgdykMYBo9+PFNpxOo+G7/kUFDA+gwA2idRllq80GDaO5uCJF4Ftn3M8=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ko4ji-0006EC-N3; Sat, 12 Dec 2020 14:15:03 +0100 X-Now-Playing: Squarepusher's _Be Up A Hello_: "Mekrev Bass" In-Reply-To: <87o9un3ccq.fsf@calancha-pc> (Tino Calancha's message of "Sat, 20 May 2017 22:08:05 +0900") 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:195850 Archived-At: Tino Calancha writes: > Write a file /tmp/foo.el with contents: > > (defun foo-find () > (require 'find-lisp) > (find-lisp-find-files default-directory "\\`foo.*")) > > emacs -Q /tmp/foo.el > > M-x elint-current-buffer RET > ;; It shows: > foo-fail.el:1:Error: Call to undefined function: find-lisp-find-files I've now made elint in Emacs 28 load files that are `require'd, which seems to fix this problem. I've next to no experience using elint, though, so somebody please let me know if the leads to any problems. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no