[<<][emacs][>>][..]
Wed Dec 12 11:15:11 EST 2018

CDPATH problem

It seems to happen only when the focus is on an Erlang interaction
buffer.  

tom@panda:/usr/share/emacs/24.5$ zcat `find -name '*.el.gz'` | grep CDPATH
    "CDPATH=" "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH=" "PAGER=cat"
        "apid" "cdpath" "CDPATH" "history" "home" "ifs" "noexport" "path"
        "apid" "apids" "cdpath" "CDPATH" "history" "home" "ifs" "path" "pid"
        "CDPATH" "IFS" "OPTARG" "OPTIND" "PS1" "PS2")
  "Value of the CDPATH environment variable, as a list.
If your environment includes a `CDPATH' variable, try each one of
        (setq cd-path (or (parse-colon-path (getenv "CDPATH"))
    (setq cd-path (or (parse-colon-path (getenv "CDPATH"))
       (error "No such directory found via CDPATH environment variable"))))


./files.el.gz
  "Value of the CDPATH environment variable, as a list.
If your environment includes a `CDPATH' variable, try each one of
        (setq cd-path (or (parse-colon-path (getenv "CDPATH"))
    (setq cd-path (or (parse-colon-path (getenv "CDPATH"))
       (error "No such directory found via CDPATH environment variable"))))

/usr/share/emacs/24.5/lisp/files.el.gz

Added a print statement in the 'cd' function and found the path that way.
A directory that did not exist.

The eventual error was that default-directory local buffer variable
was set to a directory that did not exist.




[Reply][About]
[<<][emacs][>>][..]