From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard.G.Bielawski@wellsfargo.com Newsgroups: gmane.emacs.bugs Subject: EFS overrides require and breaks NOERROR Date: Tue, 8 Jun 2004 17:48:24 -0500 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1AEB225D138D814A80B4285627F3DED7010B7150@msgsc55mnmsp16.wellsfargo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1086735004 9030 80.91.224.253 (8 Jun 2004 22:50:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 8 Jun 2004 22:50:04 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 09 00:49:56 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BXpPo-0001Oo-00 for ; Wed, 09 Jun 2004 00:49:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BXpQQ-0005ou-0k for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Jun 2004 18:50:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BXpQM-0005oj-Cy for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2004 18:50:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BXpQK-0005oK-EJ for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2004 18:50:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BXpQK-0005oH-AF for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2004 18:50:28 -0400 Original-Received: from [159.37.7.78] (helo=ds9-rm1.wellsfargo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1BXpOS-00080R-ET for bug-gnu-emacs@gnu.org; Tue, 08 Jun 2004 18:48:32 -0400 Original-Received: from adred.wellsfargo.com by ds9-rm1.wellsfargo.com via smtpd (for mail.gnu.org [199.232.76.166]) with SMTP; 8 Jun 2004 22:48:31 UT Original-Received: from kush.wellsfargo.com (kush.wellsfargo.com [10.12.104.9]) by adred.wellsfargo.com (8.12.9-20030924/8.12.10) with ESMTP id i58MmUWp020721 for ; Tue, 8 Jun 2004 15:48:30 -0700 (MST) Original-Received: from kush.wellsfargo.com (localhost [127.0.0.1]) by kush.wellsfargo.com (Switch-3.0.5/Switch-3.0.0) with ESMTP id i58MmSii027113 for ; Tue, 8 Jun 2004 15:48:29 -0700 (PDT) Original-Received: from msgic55iadsm01.wellsfargo.com (msgic55iadsm01.wellsfargo.com [10.30.3.78]) by kush.wellsfargo.com (Switch-3.0.5/Switch-3.0.0) with ESMTP id i58MmRii027046 for ; Tue, 8 Jun 2004 15:48:27 -0700 (PDT) Original-Received: by msgic55iadsm01.wellsfargo.com with Internet Mail Service (5.5.2657.72) id ; Tue, 8 Jun 2004 17:48:27 -0500 Original-To: bug-gnu-emacs@gnu.org X-Mailer: Internet Mail Service (5.5.2657.72) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list 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.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:8156 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8156 To: bug-gnu-emacs@gnu.org Subject: EFS overrides require and breaks NOERROR --text follows this line-- This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.2.1 (i386-msvc-nt5.0.2195) of 2002-03-19 on buffy configured using `configure --with-msvc (12.00)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: There are 2 manifestations. If I have the following code in my foo-mode.el file (if foo-bar-setup (if (require 'bar () t) (bar-setup) (message "foo-bar-setup true but bar feature not available.") ) ) This compiles and works fine UNLESS I have used EFS. After using EFS I get the following error during compile. Compiling file c:/Program Files/emacs/emacs-21.2/site-lisp/foo-mode.el at Tue Jun 08 17:33:45 2004 ** require called with 3 arguments, but accepts only 1-2 ** require called with 3 arguments, but accepts only 1-2 If I try to enter foo-mode after having used EFS I will SOMETIMES get the following error. I'm not sure exactly what circumstances determine when this error occurs and when it doesn't. It usually doesn't. File mode specification error: (wrong-number-of-arguments #[(feature &optional filename) "\306=\203 ;; there is about 200 characters in the *message* buffer at this point that won't paste so I've left them out. It continues: \"))\207" [feature filename efs-load-lisp-extensions fullpath parsed temp ange-ftp efs-require-scream-and-yell featurep symbol-name efs-load-openp signal file-error "Cannot open load file: %s" efs-ftp-path efs-make-tmp-name nil ((efs-del-tmp-name temp)) efs-copy-file-internal t format "Getting %s" file-readable-p "efs-require: temp file %s is unreadable" efs-real-require] 11 "If feature FEATURE is not loaded, load it from FILENAME. If FEATURE is not a member of the list `features', then the feature is not loaded; so load the file FILENAME. If FILENAME is omitted, the printname of FEATURE is used as the file name, and `load' will try to load this name appended with the suffix `.elc', `.el' or the unmodified name, in that order. If the optional third argument NOERROR is non-nil, then return nil if the file is not found instead of signaling an error. Normally the return value is FEATURE. The normal messages at start and end of loading FILENAME are suppressed. (require FEATURE &optional FILENAME NOERROR) Note: This function has been modified to work with efs."] 3) Recent input: "*Messages*" Recent messages: Note: This function has been modified to work with efs."] 3) Scanning buffer for index ( 0%) Scanning buffer for index ( 25%) Scanning buffer for index ( 39%) Scanning buffer for index ( 82%) Scanning buffer for index ( 89%) Scanning buffer for index ( 99%) Scanning buffer for index (100%) Long Line Truncation disabled Loading emacsbug...done Richard Bielawski 612-667-5039