help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cd: No such directory found via CDPATH environment variable


From: Pascal A. Dupuis
Subject: Re: cd: No such directory found via CDPATH environment variable
Date: Fri, 19 Aug 2005 09:04:52 -0500
User-agent: Mutt/1.5.9i

On Fri, Aug 19, 2005 at 09:50:38AM -0400, John W. Eaton wrote:
> 
>   inferior-octave-directory-tracker
>   inferior-octave-resync-dirs
> 
> defined in octave-inf.el.
> 
I also found that doing M-x inferior-octave-resync-dirs before the
offending "cd subdir" solves the problem.

So, maybe at the end of inferior-octave-startup in octave-inf.el, 
we could have:

  (set-process-filter proc 'inferior-octave-output-filter)
  (run-hooks 'inferior-octave-startup-hook)
  (inferior-octave-resync-dirs) % <- just in case, to be sure a cd in
                                % the startup file won't have detrimental 
effects
))


Pascal

-- 
Dr. ir. Pascal Dupuis
K. U. Leuven, ESAT/ELECTA (formerly ELEN):  http://www.esat.kuleuven.ac.be/
Kasteelpark Arenberg, 10; B-3001 Leuven-Heverlee, Belgium
Tel. +32-16-32 10 21 -- Fax +32-16-32 19 85



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]