From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: hector Newsgroups: gmane.emacs.help Subject: (require 'filename) doesn't find the file Date: Fri, 10 Mar 2017 10:17:37 +0100 Message-ID: <20170310091737.GA3727@workstation> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1489137719 22642 195.159.176.226 (10 Mar 2017 09:21:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Mar 2017 09:21:59 +0000 (UTC) User-Agent: Mutt/1.5.20 (2009-06-14) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 10 10:21:56 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmGkF-0005a4-Oa for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Mar 2017 10:21:55 +0100 Original-Received: from localhost ([::1]:38123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmGkL-0002xc-Pr for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Mar 2017 04:22:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cmGjm-0002xW-Pd for help-gnu-emacs@gnu.org; Fri, 10 Mar 2017 04:21:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cmGji-0002eV-Jj for help-gnu-emacs@gnu.org; Fri, 10 Mar 2017 04:21:26 -0500 Original-Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:35377) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cmGji-0002e3-Co for help-gnu-emacs@gnu.org; Fri, 10 Mar 2017 04:21:22 -0500 Original-Received: by mail-wm0-x242.google.com with SMTP id z63so1267188wmg.2 for ; Fri, 10 Mar 2017 01:21:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:subject:message-id:mime-version:content-disposition :user-agent; bh=R4fUmH7QuZRNMoPP483y94bwy4kgt9rmxGHNNxGmpx8=; b=DM1n3ABsP+4kYIUbLiXKlzQVtCxlw1nsBBTLlWaXtlfmD5CnGJCRzYtxUhC5LAIKXn OA+vLH1VdiVMzSIo76PewDIwS0cVRrUWcjIfUe/+XT+ztTo7CTUJcDDBuiYJAzRZO5x5 EtkbPHcKtZkP+Ivj6xL2B6VmW4zu6+D/gLzxEzbVXKLVZJHwOT0m00yFqP4qInZ4C+i0 mk5/Fnq7xpTeGW4WBzRKks/v8RdnQDX6mogDz1qTxajPZso9cWCVYivMtKTwEwCiWGFF dqCV/Z48p74TlYOaMSsU4HJaoC6cPnQNb/xokM7QK3p3w0nryHq94Ux64SYZY+7lTwj8 QfmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:mime-version :content-disposition:user-agent; bh=R4fUmH7QuZRNMoPP483y94bwy4kgt9rmxGHNNxGmpx8=; b=e7ffD1BBelHu8zdNk48l3Ku4AOGCaODWNKndMNkbb/X99hFkTL4VS64pzJe40smjsT 7qMU4dJqMTEF1F6kAfJj5j4aJ1LVjr4d7ripoUKvSrrAFIb12rJNAE2ix+/QHKiA3EA8 V54qELn5Dy/gCIfSfHr2xvw+Snuqu4MfEXJHHrLnR750YCwb0/hRnpKRgQa14+BORgBZ NfTykpcg9NSpMuvmwSIE4q1d8xYIIg0G0GCe0VqMTboqIFkGmCjZIZssgses8AERr1Jw NlvkWIm2OWjTjVlIcgdXkp3Vbm87JxHv4MVEJO8x4+8unKs8OMA72MJ6LihjTRBV0KM0 zddQ== X-Gm-Message-State: AFeK/H1+CTKERCPJjWHVUvphlKse8Z8bRCwE9OC1ZA3tJ7L48msDxhUly8oRfLj7YLoEEw== X-Received: by 10.28.69.194 with SMTP id l63mr1379976wmi.23.1489137679410; Fri, 10 Mar 2017 01:21:19 -0800 (PST) Original-Received: from workstation ([148.3.93.202]) by smtp.gmail.com with ESMTPSA id g45sm11911889wrd.11.2017.03.10.01.21.18 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 10 Mar 2017 01:21:18 -0800 (PST) X-Google-Original-From: hector Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::242 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:112509 Archived-At: The file called BASENAME.el that I want to (require) is in the load-path. If I add to it the line (provide 'basename) it works. But if I remove the line when I try to compile it says: syntax.el:26:1:Error: Required feature `basename' was not provided The part that I think isn't working: If FEATURE is not a member of the list `features', then the feature is not loaded; so load the file FILENAME. Why doesn't it find the file even if it does not contain a (provide)? I searched for an answer in the list but couldn't find it. The topic "Requiring elisp that comes with Emacs" comes close but not to the point.