emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: Re: comint's directory tracking doesn't understand \


From: Richard Stallman
Subject: Re: address@hidden: Re: comint's directory tracking doesn't understand \( or \)]
Date: Mon, 05 Mar 2007 16:50:45 -0500

    shell-mode watches your input for commands that change the directory
    (mainly the shells `cd' command but also `popd', `pushd' and maybe
    others).

    shell-mode then just use the first argument - (comint-arguments 1 1) -
    to this command to keep track of the working dir of the shell process.

This patch would be safer if you add a new function comint-dir-argument
which does the new thing, and is used only for dir tracking.
Then you could leave comint-arguments unchanged, and avoid the risk
of breaking something else with some other shell.

With that alteration, I think we could install it now.




reply via email to

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