Lennart Borgman wrote:

Can you please explain more exactly what problems you see with my patch? It autocompletes in the shell buffer with "\" if the shell used has w32-shell-dos-semantics. When do you not want this?

Why do you think it has to be customizable?

After taking a pause I see that you are right. There are problems with my patch. I was somehow assuming that the buffer local value of shell-file-name could not be propagated further. I just thought about the command you send to the shell, but you can of course do other things.

However an easy way to fix this would be to have a new variable, buffer-shell-file-name, that is always buffer local and with a global value that is always nil. Setting this whenever starting a shell process and checking for this in w32-shell-dos-semantics would be enough.

The reason I prefer this way is that there might more problems with this. Because of this I believe that it would be a buffer local variable holding the value that shell-file-name had when the buffer was setup.


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to