unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Don't change default-directory in gud.el?
Date: Tue, 02 Nov 2004 22:37:00 -0500	[thread overview]
Message-ID: <m1pt2vehb5.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <16776.11051.715258.594965@farnswood.snap.net.nz> (Nick Roberts's message of "Wed, 3 Nov 2004 13:49:47 +1300")

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


        Stefan

  reply	other threads:[~2004-11-03  3:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-03  0:49 Don't change default-directory in gud.el? Nick Roberts
2004-11-03  3:37 ` Stefan [this message]
2004-11-03  7:29   ` Klaus Zeitler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1pt2vehb5.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).