From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 20 14:05:00 2011 Received: (at submit) by debbugs.gnu.org; 20 Sep 2011 18:05:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R64gk-0001uD-36 for submit@debbugs.gnu.org; Tue, 20 Sep 2011 14:04:59 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R64as-0000vy-Gh for submit@debbugs.gnu.org; Tue, 20 Sep 2011 13:58:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R64Vt-0007bw-NX for submit@debbugs.gnu.org; Tue, 20 Sep 2011 13:53:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:45718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R64Vt-0007bs-Lu for submit@debbugs.gnu.org; Tue, 20 Sep 2011 13:53:45 -0400 Received: from eggs.gnu.org ([140.186.70.92]:40549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R64Vs-0000lR-Cg for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2011 13:53:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R64Vq-0007ag-Ox for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2011 13:53:44 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:56973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R64Vq-0007aK-GA for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2011 13:53:42 -0400 Received: by eye13 with SMTP id 13so476833eye.0 for ; Tue, 20 Sep 2011 10:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=Uote6fWogRZ+uNPIAmiOhs7xM7tXdI3Uv0b/F0wbJVw=; b=m+al87No08WdpWrWZffjOdzPOQpMNVs5fjcjEGfQl/wlMCcZU1Oj6IBxgz4COupnHy t7PIT92j7twgUR+cNT7mBJvHw5m7ZSf4ALOzegxD0Y7zn63IRwbHtEaIMjUUpwW30kI7 7yn03Jc/xgenUMxf11qHPDchxrFmCsninOwGk= Received: by 10.223.46.89 with SMTP id i25mr1722756faf.34.1316541221091; Tue, 20 Sep 2011 10:53:41 -0700 (PDT) Received: from ami.localhost ([31.43.91.76]) by mx.google.com with ESMTPS id b21sm1995144fab.8.2011.09.20.10.53.38 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Sep 2011 10:53:39 -0700 (PDT) From: Yury Bulka To: bug-gnu-emacs@gnu.org Subject: 23.3; Dired and recursive copy from ftp Date: Tue, 20 Sep 2011 21:04:49 +0300 Message-ID: <864o0784zi.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 20 Sep 2011 14:04:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) Dear Emacs developers, I'm not sure if it's a real bug, but there's some problem with copying directories recursively from ftp in dired. Imagine a directory tree: parent \- child1 \- some files \- child2 \- some files If I try to copy the 'parent' directory from server, it copies the 'child1' directory and then stops with error "Wrong type argument: integerp, nil". The same situation if I mark the 'child1' and 'child2' directories and try copy them. Hope it's not hard to fix... Thanks. In GNU Emacs 23.3.1 (i486-pc-linux-gnu, GTK+ Version 2.24.3) of 2011-04-10 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11003000 configured using `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.3/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.3/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' 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: uk_UA.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Dired by name Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-n C-n q C b a c k u p y e s M-x b r r e b p p o r t Recent messages: Getting PWD...done Doing CD...done Listing /ftp:budlilam26@ftp.netfirms.com:/...done Doing CD...done Listing /ftp:budlilam26@ftp.netfirms.com:/blainemailbox/...done Doing CD...done Listing blainemailbox/Paypal Script/...done Copying blainemailbox/Paypal Script/index.html to /home/yurb/amnis/bmail/backup/Paypal Script/...done Copying blainemailbox/Paypal Script/paypalscript021409.txt to /home/yurb/amnis/bmail/backup/Paypal Script/...done byte-code: Wrong type argument: integerp, nil Load-path shadows: /usr/share/emacs/23.3/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.3/lisp/textmodes/flyspell /usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.3/lisp/textmodes/ispell Features: (shadow sort mail-extr message sendmail ecomplete rfc822 mailabbrev gmm-utils mailheader canlock sha1 hex-util hashcash emacsbug dired-aux ange-ftp tramp-imap assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source shell comint format-spec tramp-compat trampver dired bbdb timezone diary-lib diary-loaddefs cal-iso org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp org-exp-blocks org-info org-gnus org-bibtex org-bbdb cal-menu calendar cal-loaddefs org-agenda org byte-opt warnings bytecomp byte-compile advice help-fns advice-preload org-footnote org-src org-list org-faces org-compat org-macs noutline outline easy-mmode mediawiki derived regexp-opt url-cache cl cl-19 ring mm-url gnus gnus-ems nnheader mail-utils wid-edit mml easymenu mml-sec password-cache mm-decode gnus-util netrc mm-bodies mm-encode url-http tls url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums time-date url-cookie url-util url-parse url-gw url-vars mm-util mail-prsvr server bbdb-autoloads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 21 14:48:43 2011 Received: (at 9565) by debbugs.gnu.org; 21 Sep 2011 18:48:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R6Rqd-00013U-3O for submit@debbugs.gnu.org; Wed, 21 Sep 2011 14:48:43 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R6Rqb-00013N-6Z for 9565@debbugs.gnu.org; Wed, 21 Sep 2011 14:48:42 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R6RqK-00027N-Co; Wed, 21 Sep 2011 14:48:24 -0400 From: Glenn Morris To: 9565@debbugs.gnu.org Subject: Re: bug#9565: 23.3; Dired and recursive copy from ftp References: <864o0784zi.fsf@gmail.com> X-Spook: RSA Hugo Chavez CDC Gazprom Sears Tower EuroFed Vince X-Ran: 8#X/RjO2zw^C-@22\T`RR'Z4r='$\BU9iGQ]7&{HEBF^iqUQxhqN+{lv*]_R=hP23sB0vT X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 21 Sep 2011 14:48:24 -0400 Message-ID: <727h51ag07.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9565 Cc: Yury Bulka X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) This still happens with the current Emacs trunk. Here is a backtrace: Debugger entered--Lisp error: (wrong-type-argument integerp nil) signal(wrong-type-argument (integerp nil)) (cond ((and completion (zerop (length localname)) (memq operation (quote (file-exists-p file-directory-p)))) t) ((and completion (zerop (length localname)) (memq operation (quote (expand-file-name file-name-as-directory)))) filename) (t (signal (car err) (cdr err)))) (condition-case err (let ((sf (symbol-function foreign))) (when (and (listp sf) (eq (car sf) (quote autoload))) (let ((default-directory (tramp-compat-temporary-file-directory))) (load (cadr sf) (quote noerror)))) (apply foreign operation args)) (quit (let (tramp-message-show-message) (tramp-message v 1 "Interrupt received in operation %s" (append (list operation) args))) (signal (car err) (cdr err))) (error (cond ((and completion (zerop (length localname)) (memq operation (quote (file-exists-p file-directory-p)))) t) ((and completion (zerop (length localname)) (memq operation (quote (expand-file-name file-name-as-directory)))) filename) (t (signal (car err) (cdr err)))))) (if foreign (condition-case err (let ((sf (symbol-function foreign))) (when (and (listp sf) (eq (car sf) (quote autoload))) (let ((default-directory (tramp-compat-temporary-file-directory))) (load (cadr sf) (quote noerror)))) (apply foreign operation args)) (quit (let (tramp-message-show-message) (tramp-message v 1 "Interrupt received in operation %s" (append (list operation) args))) (signal (car err) (cdr err))) (error (cond ((and completion (zerop (length localname)) (memq operation (quote ...))) t) ((and completion (zerop (length localname)) (memq operation (quote ...))) filename) (t (signal (car err) (cdr err)))))) (tramp-run-real-handler operation args)) (let* ((v (tramp-dissect-file-name filename)) (method (tramp-file-name-method v)) (user (tramp-file-name-user v)) (host (tramp-file-name-host v)) (localname (tramp-file-name-localname v))) (if foreign (condition-case err (let ((sf (symbol-function foreign))) (when (and (listp sf) (eq (car sf) (quote autoload))) (let ((default-directory ...)) (load (cadr sf) (quote noerror)))) (apply foreign operation args)) (quit (let (tramp-message-show-message) (tramp-message v 1 "Interrupt received in operation %s" (append (list operation) args))) (signal (car err) (cdr err))) (error (cond ((and completion (zerop ...) (memq operation ...)) t) ((and completion (zerop ...) (memq operation ...)) filename) (t (signal (car err) (cdr err)))))) (tramp-run-real-handler operation args))) (with-parsed-tramp-file-name filename nil (if foreign (condition-case err (let ((sf (symbol-function foreign))) (when (and (listp sf) (eq (car sf) (quote autoload))) (let ((default-directory ...)) (load (cadr sf) (quote noerror)))) (apply foreign operation args)) (quit (let (tramp-message-show-message) (tramp-message v 1 "Interrupt received in operation %s" (append (list operation) args))) (signal (car err) (cdr err))) (error (cond ((and completion (zerop ...) (memq operation ...)) t) ((and completion (zerop ...) (memq operation ...)) filename) (t (signal (car err) (cdr err)))))) (tramp-run-real-handler operation args))) (let* ((filename (tramp-replace-environment-variables (apply (quote tramp-file-name-for-operation) operation args))) (completion (tramp-completion-mode-p)) (foreign (tramp-find-foreign-file-name-handler filename))) (with-parsed-tramp-file-name filename nil (if foreign (condition-case err (let ((sf (symbol-function foreign))) (when (and (listp sf) (eq ... ...)) (let (...) (load ... ...))) (apply foreign operation args)) (quit (let (tramp-message-show-message) (tramp-message v 1 "Interrupt received in operation %s" (append ... args))) (signal (car err) (cdr err))) (error (cond ((and completion ... ...) t) ((and completion ... ...) filename) (t (signal ... ...))))) (tramp-run-real-handler operation args)))) (progn (let* ((filename (tramp-replace-environment-variables (apply (quote tramp-file-name-for-operation) operation args))) (completion (tramp-completion-mode-p)) (foreign (tramp-find-foreign-file-name-handler filename))) (with-parsed-tramp-file-name filename nil (if foreign (condition-case err (let ((sf ...)) (when (and ... ...) (let ... ...)) (apply foreign operation args)) (quit (let (tramp-message-show-message) (tramp-message v 1 "Interrupt received in operation %s" ...)) (signal (car err) (cdr err))) (error (cond (... t) (... filename) (t ...)))) (tramp-run-real-handler operation args))))) (unwind-protect (progn (let* ((filename (tramp-replace-environment-variables (apply (quote tramp-file-name-for-operation) operation args))) (completion (tramp-completion-mode-p)) (foreign (tramp-find-foreign-file-name-handler filename))) (with-parsed-tramp-file-name filename nil (if foreign (condition-case err (let (...) (when ... ...) (apply foreign operation args)) (quit (let ... ...) (signal ... ...)) (error (cond ... ... ...))) (tramp-run-real-handler operation args))))) (set-match-data save-match-data-internal (quote evaporate))) (let ((save-match-data-internal (match-data))) (unwind-protect (progn (let* ((filename (tramp-replace-environment-variables (apply ... operation args))) (completion (tramp-completion-mode-p)) (foreign (tramp-find-foreign-file-name-handler filename))) (with-parsed-tramp-file-name filename nil (if foreign (condition-case err (let ... ... ...) (quit ... ...) (error ...)) (tramp-run-real-handler operation args))))) (set-match-data save-match-data-internal (quote evaporate)))) (save-match-data (let* ((filename (tramp-replace-environment-variables (apply (quote tramp-file-name-for-operation) operation args))) (completion (tramp-completion-mode-p)) (foreign (tramp-find-foreign-file-name-handler filename))) (with-parsed-tramp-file-name filename nil (if foreign (condition-case err (let ((sf ...)) (when (and ... ...) (let ... ...)) (apply foreign operation args)) (quit (let (tramp-message-show-message) (tramp-message v 1 "Interrupt received in operation %s" ...)) (signal (car err) (cdr err))) (error (cond (... t) (... filename) (t ...)))) (tramp-run-real-handler operation args))))) (if tramp-mode (save-match-data (let* ((filename (tramp-replace-environment-variables (apply (quote tramp-file-name-for-operation) operation args))) (completion (tramp-completion-mode-p)) (foreign (tramp-find-foreign-file-name-handler filename))) (with-parsed-tramp-file-name filename nil (if foreign (condition-case err (let (...) (when ... ...) (apply foreign operation args)) (quit (let ... ...) (signal ... ...)) (error (cond ... ... ...))) (tramp-run-real-handler operation args))))) (tramp-run-real-handler operation args)) tramp-file-name-handler(copy-directory "/anonymous@ftp.host.name:/users/xxx/dir" "/tmp/dir" t nil) copy-directory("/anonymous@ftp.host.name:/users/xxx/dir" "/tmp/dir" t) dired-copy-file-recursive("/anonymous@ftp.host.name:/users/xxx/dir" "/tmp/dir" nil t t top) dired-copy-file("/anonymous@ftp.host.name:/users/xxx/dir" "/tmp/dir" nil) From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 22 06:04:47 2011 Received: (at 9565-done) by debbugs.gnu.org; 22 Sep 2011 10:04:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R6g98-0003KL-Kx for submit@debbugs.gnu.org; Thu, 22 Sep 2011 06:04:47 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1R6g96-0003KD-OR for 9565-done@debbugs.gnu.org; Thu, 22 Sep 2011 06:04:45 -0400 Received: (qmail invoked by alias); 22 Sep 2011 10:04:23 -0000 Received: from p57BB962B.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.150.43] by mail.gmx.net (mp017) with SMTP; 22 Sep 2011 12:04:23 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18InYdAco8I+f9Xl8hnW/9kb8gdORi9t/3OuRlRI3 hyCb8bex0JtSiF From: Michael Albinus To: Glenn Morris Subject: Re: bug#9565: 23.3; Dired and recursive copy from ftp In-Reply-To: <727h51ag07.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 21 Sep 2011 14:48:24 -0400") References: <864o0784zi.fsf@gmail.com> <727h51ag07.fsf@fencepost.gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Date: Thu, 22 Sep 2011 12:04:19 +0200 Message-ID: <87litgx598.fsf@gmx.de> MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 9565-done Cc: Yury Bulka , 9565-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Glenn Morris writes: > This still happens with the current Emacs trunk. Here is a backtrace: I've fixed this in the trunk. Best regards, Michael. From unknown Fri Aug 15 20:55:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 20 Oct 2011 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator