[Top][All Lists]

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

Re: Don't change default-directory in gud.el?

From: Stefan
Subject: Re: Don't change default-directory in gud.el?
Date: Tue, 02 Nov 2004 22:37:00 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin)

> Currently, in gud.el, the default-directory of the GUD buffer gets set from
> the pathname (if any) of the program to be debugged. This is not consistent
> what happens if gdb is invoked from the command line, where the working
> directory remains unchanged. As a general rule, I find it more annoying if
> Emacs does something that I don't want than if it doesn't do something I do
> want (Another example is Jan Nieuwenhuizen's grumble about M-x gdb guessing
> the name of the executable).

I think the problem is not so much about whether Emacs does or doesn't do
something, but about how much work is needed to get the other behavior.
In the case of the chdir, it's actually surprisingly difficult to undo the
chdir, so I completely agree that it should be removed.


reply via email to

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