EFS 1.12 bug: Getting ls of remote root

Adrian Phillips (adrian.phillips@dnmi.no)
Thu, 6 Oct 94 14:50:17 +0100


Ciao bugsters!

Spot the following debug stack. When you do a find-file for example,
on root's home directory (on machines where root's home is /)
somewhere along the line ~/ gets translated to //, which, as I have
found out before causes emacs problem (the //), in
read-file-name-internal (?). Is this a problem with emacs or efs/dired
?


* efs-ls("/" "-al" t parse nil)
  efs-get-files("/")
  efs-file-name-completion(".X" "/root@breeze://")
  apply(efs-file-name-completion (".X" "/root@breeze://"))
  efs-file-handler-function(file-name-completion ".X" "/root@breeze://")
  file-name-completion(".X" "/root@breeze://")
  apply(file-name-completion (".X" "/root@breeze://"))
  dired-handler-fn(file-name-completion ".X" "/root@breeze://")
  read-file-name-internal("/root@breeze:~/.X" "/root@breeze:~/" nil)
  minibuffer-complete()
* call-interactively(minibuffer-complete)
  read-file-name("Find file: " "/root@breeze:~/")
  (expand-file-name (read-file-name "Find file: " (default-directory)))
  (list (expand-file-name (read-file-name "Find file: " ...)))
* call-interactively(find-file)


Emacs  : GNU Emacs 19.27.1 (mips-sgi-irix5.2, X toolkit) of Thu Sep 29 1994 on freeze
Package: efs

current state:
==============
(setq
 efs-19.23-version "1.12/1.8"
 efs-cp-p-version "1.12/1.3"
 efs-cu-version "1.12/1.7"
 efs-defun-version "1.12/1.3"
 efs-dired-version "1.12/1.25"
 efs-fnh-version "1.12/1.1"
 efs-netrc-version "1.12/1.7"
 efs-ovwrt-version "1.12/1.5"
 efs-pc-version "1.12/1.11"
 efs-report-version "1.12/1.7"
 efs-version "1.12/1.43"
 efs-36-bit-binary-file-name-regexp nil
 efs-anonymous-umask nil
 efs-auto-save 0
 efs-auto-save-remotely nil
 efs-backup-by-copying nil
 efs-binary-file-host-regexp nil
 efs-binary-file-name-regexp "\\.\\([zZ]\\|t?gz\\|lzh\\|arc\\|zip\\|zoo\\|ta[rz]\\|dvi\\|sit\\|ps\\|elc\\|gif\\|Z-part-..\\|tpz\\|exe\\|[jm]pg\\|TZ[a-z]?\\|lib\\)\\(~\\|~[0-9]+~\\)?$\\|\\.\\(ARC\\|ELC\\|TAGS\\|EXE\\|ZIP\\|DVI|ZOO\\|GIF\\|T?GZ\\|[JM]PG\\)\\([.#;][0-9]+\\)?$"
 efs-buffer-name-case nil
 efs-compute-remote-buffer-file-truename nil
 efs-debug-ftp-connection nil
 efs-ding-on-chmod-failure t
 efs-ding-on-umask-failure t
 efs-disable-netrc-security-check nil
 efs-expire-ftp-buffers t
 efs-ftp-buffer-expire-time nil
 efs-ftp-program-args '("-i" "-n" "-g" "-v")
 efs-ftp-prompt-regexp "^\\(ftp\\|Ftp\\|FTP\\)> *"
 efs-gateway-ftp-prompt-regexp "^\\(ftp\\|Ftp\\|FTP\\)> *"
 efs-gateway-hash-mark-size nil
 efs-gateway-incoming-binary-hm-size nil
 efs-generate-anonymous-password t
 efs-hash-mark-size 1024
 efs-high-security-hosts nil
 efs-incoming-binary-hm-size nil
 efs-local-apollo-unix nil
 efs-ls-cache-max 5
 efs-make-backup-files '(unix sysV-unix bsd-unix next-unix apollo-unix dumb-unix super-dumb-unix)
 efs-max-ftp-buffer-size 3000
 efs-maximize-idle nil
 efs-message-interval 0
 efs-nlist-cmd "ls"
 efs-nslookup-on-connect nil
 efs-nslookup-program "nslookup"
 efs-prompt-for-transfer-type nil
 efs-pty-check-retry-time 5
 efs-pty-check-threshold 1000
 efs-retry-time 5
 efs-root-umask nil
 efs-send-hash t
 efs-short-circuit-to-remote-root nil
 efs-suppress-abort-recursive-edit-and-then nil
 efs-text-file-name-regexp ".*"
 efs-treat-crlf-as-nl nil
 efs-umask nil
 efs-verbose t
 efs-verify-anonymous-modtime nil
 efs-verify-modtime-host-regexp ".*"
 efs-ftp-program-name "ftp"
 efs-ftp-program-args '("-i" "-n" "-g" "-v")
 efs-local-host-regexp ".*"
 efs-ftp-local-host-regexp ".*"
 efs-gateway-host nil
 efs-gateway-type nil
 reporter-version "2.12"
 features '(mailalias
	    sendmail
	    reporter
	    efs-report
	    dired-rgxp
	    calc
	    info
	    python-mode
	    dired-grep
	    dired-shell
	    tar-mode
	    shell
	    efs-pc
	    efs-cp-p
	    dired-cmpr
	    efs-dired
	    dired-fsf
	    dired
	    rsz-mini
	    jka-compr
	    view
	    default-dir
	    efs-19\.23
	    efs-fnh
	    passwd
	    efs-ovwrt
	    efs-cu
	    efs-netrc
	    efs-defun
	    comint
	    ring
	    backquote
	    efs
	    font-lock
	    server
	    disp-table
	    vc-hooks
	    lisp-float-type
	    lisp-mode
	    page
	    select
	    scroll-bar
	    menu-bar
	    faces
	    mouse
	    frame
	    x-toolkit
	    )
 )


-- 
-------------------------------------------------------------------------
= Adrian Phillips at            | BUT any thoughts in this are purely    =
= The Norwegian Meteorological  | my own and have nothing to do with     =
= Institute   	    	        | this establishment, thankfully.        =
= Net: adrian.phillips@dnmi.no  | Phone: 47 22 96 32 09 Fax: 47 22 96 30 50