> At 02:10 PM 4/27/01 +0100, Tony Beaumont wrote:
> >
> >[EMAIL PROTECTED] said:
> >> I believe that the problem occurs when the JDE is searching upwards
> >> from the source directory, looking for a project file. The samba mount
> >> makes it appear to Emacs as though there is no root directory on the
> >> filesystem. Hence, if there is no project file, the JDE's search for a
> >> project file ends only when it exceeds Emacs recursion limit.
> >
> >I've tried that.  It didn't fix the problem (made it worse in fact) but its 
> >definately something related to the project files.
> >
> 
> Actually, I forgot that the new hierarchical feature of the project system
> invalidates this fix. The reason is that the JDE no longer stops its search
> at the first project file it finds. Now it tries to find all the project
> files in the directory tree so that it can apply them successively. On an
> apparenly rootless tree like a samba-mounded filesystem, this obviously
> causes a problem. One fix might be for the user to create a file named
> #jde_filesystem_root_dir# in the directory that the user wants to be
> considered the root directory of the mounted filesystem. The JDE prj file
> searching mechanism could then be modified to stop its upwards search if it
> finds this file.
> 
> What do you think?
> 
> - Paul

It looks like this kind of workaround is necessary.  It might be cleaner
if you added a variable to the prj.el file that could be set to t to mark the 
root project file rather than introduce an external file.  Then you
can include it in your customization settings.  

Dave F

Reply via email to