[Top][All Lists]

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

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

From: David Hansen
Subject: Re: address@hidden: Re: comint's directory tracking doesn't understand \( or \)]
Date: Mon, 05 Mar 2007 00:13:35 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

On Sun, 04 Mar 2007 14:26:30 -0500 Chong Yidong wrote:

> I don't think we should make the proposed change to comint.el.  AFAIK,
> the detailed rules for how backslash escape works is, in principle,
> different from shell to shell, and even if we choose to obey (e.g.)
> bash semantics for backslash escapes, we might still be incompatible
> with other shells.

It's an *sh* semantic, not bash.  Do you know of any non sh
compatible interactive shell that is widely used?

> This might also introduce subtle bugs into non-shell uses of comint
> mode.

Valid objection but i can't even imagine a case (where do "command
line arguments" make sense except in a shell?) and a grep on the emacs
sources suggests that it's pretty safe.

> It seems there will always be *some* way of confusing the directory
> tracker: that's what `M-x dirs' is for.

But none that is as easy as typing some non special characters and
hitting TAB.

Anyway, will try to remember that and send it again after Emacs 22 is


reply via email to

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