From xemacs-m  Tue Mar 25 12:28:07 1997
Received: from palrel1.hp.com (palrel1.hp.com [15.253.72.10])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA06169
	for <xemacs-beta@xemacs.org>; Tue, 25 Mar 1997 12:28:06 -0600 (CST)
Received: from rlab24.rsn.hp.com (rlab24.rsn.hp.com [15.99.219.24]) by palrel1.hp.com with ESMTP (8.7.5/8.7.3) id KAA03950 for <xemacs-beta@xemacs.org>; Tue, 25 Mar 1997 10:28:06 -0800 (PST)
Received: by rlab24.rsn.hp.com
	(1.38.193.4/16.2) id AA012444486; Tue, 25 Mar 1997 12:28:06 -0600
Sender: holder@rlab24.rsn.hp.com
To: xemacs-beta@xemacs.org
Subject: Re: j-shell and efs don't get along
References: <199703241918.LAA08226@palrel3.hp.com> <rvend59eyo.fsf@sdnp5.ucsd.edu>
From: Shane Holder <holder@rsn.hp.com>
Date: 25 Mar 1997 12:28:05 -0600
In-Reply-To: David Moore's message of 24 Mar 1997 13:07:11 -0800
Message-Id: <fawend3n7wq.fsf@rlab24.rsn.hp.com>
Lines: 44

>>>>> "David" == David Moore <dmoore@ucsd.edu> writes:

  David> Shane Holder <holder@rsn.hp.com> writes:
  >> xemacs -q
  >> load-file <path>/j-shell.elc
  >> load-lib efs-auto
  >> M-x j-shell
  >> % rlogin <another machine>
  >> % cd <partial directory name>TAB   <- This should try to expand the
  >> file name on the remote machine
  >> 
  >> This will result in
  >> Lisp nesting exceeds `max-lisp-eval-depth'

  David> Since not all of us have j-shell, can you set debug-on-error
  David> to t, and send in the bottom part of the stacktrace up to the
  David> point where it looks like it's improperly recursively calling
  David> itself?

I'd love too, but unfortunately debug-on-error doesn't do anything for
this problem.  (Maybe another bug?)  I set debug-on-error to nil, and
I get max-lisp-eval-depth, I set it to true, and nothing.  But I was
able to come up with a simple case that fails.

(defun messup ()
  (load-library "efs-auto")

  # Set default directory to system that exists.
  (setq default-directory "/mordor.rsn.hp.com:/home/holder")

  # The ftp program in my path won't work with efs
  (setq efs-ftp-program-name "/usr/bin/ftp")

  # "vq" is the beginning of the name vquery in /home/holder.
  (file-name-all-completions "vq" ""))

Also, when I get max-lisp-eval-depth, and I exit emacs, it coredumps
every time?

-- 
Shane Holder                                 e-mail: holder@rsn.hp.com
Hewlett Packard                               phone:     (214)497-4182
3000 Waterview
Richardson, TX 75083

