bug#4410: 23.1.50; copy-file get wrong number of args with url-handler-mode

Lennart Borgman <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
Turn on url-handler-mode and evaluate

  (copy-file
   "http://www.w3.org/QA/Tools/css-validator/css-validator.jar"
   "temp.tmp")

This gives the error

Debugger entered--Lisp error: (wrong-number-of-arguments #[(url newname
&optional ok-if-already-exists keep-time) "binary data removed..."
[newname ok-if-already-exists url handle buffer file-exists-p error
"Opening output file: File already exists, %s"
url-retrieve-synchronously nil "Opening input file: No such file or
directory, %s" mm-dissect-buffer t mm-save-part-to-file kill-buffer
mm-destroy-parts] 4
("c:/emacs/u/090911/emacs/lisp/url/url-handlers.elc" . 6235)] 5)
  url-copy-file("http://www.w3.org/QA/Tools/css-validator/css-validator.jar"
"c:/emacs/p/090804/EmacsW32/nxhtml/util/temp.tmp" nil nil nil)
  apply(url-copy-file
("http://www.w3.org/QA/Tools/css-validator/css-validator.jar"
"c:/emacs/p/090804/EmacsW32/nxhtml/util/temp.tmp" nil nil nil))
  url-file-handler(copy-file
"http://www.w3.org/QA/Tools/css-validator/css-validator.jar"
"c:/emacs/p/090804/EmacsW32/nxhtml/util/temp.tmp" nil nil nil)
  copy-file("http://www.w3.org/QA/Tools/css-validator/css-validator.jar"
"temp.tmp")



If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/emacs/u/090911/emacs/etc/DEBUG for instructions.


In GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600)
 of 2009-09-11
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/g/include -fno-crossjumping'
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.