EFS 1.15 bug: Does not cooperate with comint.

Roy Dragseth (Roy.Dragseth@cc.uit.no)
Fri, 11 Sep 1998 16:16:00 +0200 (METDST)


To whom it may concern:

File name completion on remote hosts opened with ssh (or rlogin for
that matter) does not work.

Scenario:
M-x ssh victorio.uit.no
M-x ssh-directory-tracking-mode

Gives the following error:
/royd@victorio.uit.no:/royd@victorio.uit.no:~/ is not a directory

This I can work around by hacking shell-cd-1 to ignore
comint-file-name prefix. But still after this hack I get errors that
files/directories don't exist when I use TAB on the shell prompt.
Again, I can hack around this by making efs-barf-if-not-directory use
efs-file-directory-p instead of file-directory-p, but this seems
somewhat inelegant.  I thought efs would wrap its own functions around
the file handler functions, but that seems not to be the case.

The whole thing works if I invoke the following lisp statements

(efs-overwrite-fn "efs" 'file-name-completion)
(efs-overwrite-fn "efs" 'file-directory-p)

but after doing this I cannot open files locally, get the error:

Attempt to get a remote listing for the local file
/opt/xemacs/lib/xemacs-20.4/etc/gnus/ 

I reported this problem to the comint people first, but they don't
seem to be very interested in xemacs problems.

Any hints is appreciated.



Emacs  : XEmacs 20.4 "Emerald" [Lucid] (hppa1.1-hp-hpux10.20) of Thu Mar 12 1998 on paiute.cc.uit.no
Package: efs

efs believes that the host type of victorio.uit.no is unknown.

current state:
==============
(setq
 efs-cu-version "1.15/1.12"
 efs-defun-version "1.15/1.1"
 efs-fnh-version "1.15/1.3"
 efs-netrc-version "1.15/1.2"
 efs-ovwrt-version "1.15/1.2"
 efs-report-version "1.15/1.9"
 efs-version "1.15/1.56"
 efs-x19.15-version "1.15/1.2"
 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 nil
 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 dumb-apollo-unix super-dumb-unix)
 efs-max-ftp-buffer-size 3000
 efs-maximize-idle nil
 efs-message-interval 0
 efs-nlist-cmd "nlist"
 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-set-modtimes-synchronously nil
 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-use-passive-mode 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 "3.2"
 features '(tm-edit signature tm-ew-e tm-partial tm-image images mule-sysdp
	    tm-pgp tm-play tm-view tm-text tm-parse mail-utils tm-ew-d tm-def
	    mel std11 mail-abbrevs sendmail reporter efs-x19\.15 efs-fnh
	    passwd efs-ovwrt efs-cu efs-netrc efs-defun comint ring efs
	    efs-report time cus-face paren blink-paren font-lock pending-del
	    mime-setup tm-setup tl-misc tl-str tl-atype atype tl-seq tl-list
	    alist cless file-detect path-util emu emu-e19 emu-xemacs overlay
	    tex-site setnu filladapt x11-autoloads w3-autoloads vm-autoloads
	    viper-autoloads vc-autoloads utils-autoloads tm-autoloads
	    tl-autoloads rmail-autoloads psgml-autoloads prim-autoloads
	    pcl-cvs-autoloads packages-autoloads modes-autoloads
	    mh-e-autoloads mel-autoloads mailcrypt-autoloads iso-autoloads
	    hm--html-menus-autoloads gnus-autoloads gnats-autoloads
	    games-autoloads eterm-autoloads emulators-autoloads
	    electric-autoloads efs-autoloads ediff-autoloads edebug-autoloads
	    custom-autoloads comint-autoloads cc-mode-autoloads
	    calendar-autoloads bytecomp-autoloads auctex-autoloads
	    apel-autoloads auto-show fontl-hooks ediff-hook x-iso8859-1
	    x-menubar mouse mode-motion itimer lisp-mode easymenu iso8859-1
	    page buff-menu lib-complete help-nomule derived frame text-props
	    cus-start custom widget cl-autoloads cl-extra mini-cl cl cl-19
	    packages backquote tooltalk lucid-scrollbars cut-buffer
	    lucid-menubars xface xpm png gif jpeg motif-dialogs x tty-frames
	    tty toolbar scrollbar network-streams subprocesses menubar
	    berkeley-db dbm md5 xemacs cde lisp-float-type hpux dialog
	    window-system c-balloon-help)
 )