[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cd: No such directory found via CDPATH environment variable
From: 
John W. Eaton 
Subject: 
cd: No such directory found via CDPATH environment variable 
Date: 
Fri, 19 Aug 2005 09:50:38 0400 
On 19Aug2005, Pascal A. Dupuis wrote:
 It seems it's an old problem, but it stills bite me (see
 http://www.octave.org/octavelists/archive/bugoctave.2000/msg00334.html)

 ~/matlab is a symbolic link: matlab > .secure/matlab
 .secure is a mount point for a encrypted partition
 my ~/.octaverc contains: cd ~/matlab;

 typical session: Mx runoctave
 octave> pwd
 /users/pdupuis/matlab
 octave> cd somedir
 cd: No such directory found via CDPATH environment variable
 octave> cd; pwd
 /users/pdupuis/
 octave> cd matlab/somedir
 octave>

 I got it on two machines, emacs21.4, one debian etch, one Red Hat
 Enterprise Linux release 4. It looks like 'cd' must first be called
 once without argument to work correctly afterwads. For instance, the
 following still does not work: "cd ..; cd matlab/subdir" altough the
 'trajectory' is the same. And I don't use CDPATH

 Any clue ?
WHat happens if you are running Octave from the shell instead of
inside Emacs? Does it work properly then? If so, then I suspect the
bug is in one of the Emacs functions for the Octave interaction mode
inferioroctavedirectorytracker
inferioroctaveresyncdirs
defined in octaveinf.el.
jwe

Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
