From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Riel Newsgroups: gmane.emacs.help Subject: Elint and require Date: Sun, 31 Mar 2013 11:44:53 -0700 Message-ID: <20130331114453.52daa145@gauss> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1364755515 1062 80.91.229.3 (31 Mar 2013 18:45:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 Mar 2013 18:45:15 +0000 (UTC) To: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 31 20:45:41 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UMNG8-0000vD-Ib for geh-help-gnu-emacs@m.gmane.org; Sun, 31 Mar 2013 20:45:40 +0200 Original-Received: from localhost ([::1]:49736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMNFj-0004lU-Ax for geh-help-gnu-emacs@m.gmane.org; Sun, 31 Mar 2013 14:45:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMNFY-0004kH-CE for help-gnu-emacs@gnu.org; Sun, 31 Mar 2013 14:45:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMNFW-0008ID-I0 for help-gnu-emacs@gnu.org; Sun, 31 Mar 2013 14:45:04 -0400 Original-Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:44452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMNFW-0008Bx-Dl for help-gnu-emacs@gnu.org; Sun, 31 Mar 2013 14:45:02 -0400 X-Authority-Analysis: v=2.0 cv=TO3HuiZa c=1 sm=0 a=GGzZdJT2oJO+GUpSCk/8YQ==:17 a=A67dEwaWxOsA:10 a=05ChyHeVI94A:10 a=kj9zAlcOel0A:10 a=ayC55rCoAAAA:8 a=ze6IIc0Ny1sA:10 a=9_VH8AkUAAAA:8 a=UIUZdJFMEQS8rTFYUjIA:9 a=CjuIK1q_8ugA:10 a=KOcQliBlLDkA:10 a=GGzZdJT2oJO+GUpSCk/8YQ==:117 X-Cloudmark-Score: 0 X-Authenticated-User: X-Originating-IP: 66.75.5.27 Original-Received: from [66.75.5.27] ([66.75.5.27:45995] helo=gauss) by cdptpa-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 66/BE-06772-B2488515; Sun, 31 Mar 2013 18:44:59 +0000 X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.4; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 75.180.132.120 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89845 Archived-At: Does elint use the require statements. Consider two files --- dummy.el --- (require 'required) (defun junk () (garbage)) --- end dummy.el --- --- required.el ---- (defun garbage () (message "hello")) (provide 'required) --- end required.el --- If I run elint-directory on the directory containing just these two files, the elint buffer contains: Linting file /home/joe/emacs/elint-testing/dummy.el at Sun Mar 31 11:42:43 2013 In function junk: dummy.el:3:Error: Call to undefined function: garbage Linting file /home/joe/emacs/elint-testing/required.el at Sun Mar 31 11:42:43 2013 Why is that error generated? -- Joe Riel