bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EFS overrides require and breaks NOERROR


From: Richard . G . Bielawski
Subject: EFS overrides require and breaks NOERROR
Date: Tue, 8 Jun 2004 17:48:24 -0500

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:
<up> <prior> <prior> <prior> <menu-bar> <x-buf> <help-echo> 
<down-mouse-2> <mouse-2> <mouse-wheel> <mouse-wheel> 
<mouse-wheel> <mouse-wheel> <down-mouse-2> <mouse-2> 
<mouse-wheel> <mouse-wheel> <mouse-wheel> <mouse-wheel> 
<mouse-wheel> <mouse-wheel> <mouse-wheel> <mouse-wheel> 
<mouse-wheel> <mouse-wheel> <mouse-wheel> <mouse-1> 
<menu-bar> <buffer> "*Messages*" <mouse-wheel> <mouse-wheel> 
<mouse-wheel> <mouse-wheel> <mouse-wheel> <mouse-wheel> 
<mouse-wheel> <mouse-wheel> <menu-bar> <options> <truncate-lines> 
<mouse-wheel> <mouse-wheel> <mouse-wheel> <mouse-wheel> 
<mouse-wheel> <mouse-wheel> <mouse-wheel> <menu-bar> 
<help-menu> <report-emacs-bug>

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]