Package: octave2.1-emacsen Version: 2.1.69-1 Severity: minor Tags: patch Hello,
having a cd() in .octaverc leads to annoyances in octave-emacs buffer, because subsequent cd() at octave prompt fails "cd: No such directory found via CDPATH environment variable" until you perform a cd to some absolute location. The problem is to resync the internal buffer idea of path after the .octaverc invocation. The enclosed patch solves it. Best regards Pascal Dupuis -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12.3 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages octave2.1-emacsen depends on: ii debianutils 2.14.1 Miscellaneous utilities specific t ii emacs21 [emacsen] 21.4a-1 The GNU Emacs editor ii octave2.1 2.1.69-1 GNU Octave language for numerical octave2.1-emacsen recommends no packages. -- no debconf information
--- octave-inf.el.orig 2005-08-22 11:34:57.000000000 +0200 +++ octave-inf.el 2005-08-22 11:38:05.000000000 +0200 @@ -234,7 +234,10 @@ ;; And finally, everything is back to normal. (set-process-filter proc 'inferior-octave-output-filter) - (run-hooks 'inferior-octave-startup-hook))) + (run-hooks 'inferior-octave-startup-hook) + ;; just in case, to be sure a cd in the startup file + ;; won't have detrimental effects + (inferior-octave-resync-dirs))) (defun inferior-octave-complete ()