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: Stefan Monnier
Subject: Re: address@hidden: Re: comint's directory tracking doesn't understand \( or \)]
Date: Mon, 05 Mar 2007 21:23:32 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

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

Wouldn't it be better to move it to shell.el?
I.e. create a new function shell-argument?


        Stefan




reply via email to

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