unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
Cc: Klaus Zeitler <kzeitler@lucent.com>, Eli Zaretskii <eliz@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: gdb call with core
Date: Sun, 14 May 2006 09:45:23 +1200	[thread overview]
Message-ID: <17510.21363.703854.259173@farnswood.snap.net.nz> (raw)
In-Reply-To: <878xp5sxvp.fsf-monnier+emacs@gnu.org>

 > > In that case, if you just did M-x gdb, which most people would, you would
 > > start in default-directory which can be fairly unintuitive at times, e.g
 > > /usr/share/info if you are viewing Info.
 > 
 > Under Unix and in Emacs as well, normally things are run in the
 > default-directory.  So I'd find it hard to believe that people would find it
 > counter-intuitive.
 > But maybe it wouldn't always be convenient.

I guess you are likening the current working directory in Unix to the
default-directory in Emacs.  However the user has to change the former
explicitly so is generally more aware of what it is. In Emacs its done behind
the users back so, for example, when I use Info its /usr/share/info when I
look at the Info directory node, and ~/emacs/info when I view the Emacs Info
manual.

 > > The GDB manual also describes the current behaviour so that would need to
 > > be updated.  Despite its faults, people are used to the current bahaviour
 > > and I think you would get more complaints by changing it.
 > 
 > How 'bout the following:
 > M-x gdb first prompts for a directory to which to `cd', and then for
 > the command to run there?

Well I guess we could make C-u M-x gdb to this...

 > Even if some people find it less convnient, at least they won't get
 > confused, since it makes the behavior more explicit.

...or the Emacs tried and test way of adding yet another user option.

-- 
Nick                                           http://www.inet.net.nz/~nickrob

  reply	other threads:[~2006-05-13 21:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-12  9:57 gdb call with core Klaus Zeitler
2006-05-12 11:25 ` Eli Zaretskii
2006-05-12 11:50   ` Klaus Zeitler
2006-05-12 13:36     ` Eli Zaretskii
2006-05-12 14:26       ` Stefan Monnier
2006-05-13  6:59         ` Nick Roberts
2006-05-13 16:25           ` Stefan Monnier
2006-05-13 21:45             ` Nick Roberts [this message]
2006-05-15  6:14       ` Klaus Zeitler
2006-05-15 20:37         ` Eli Zaretskii
     [not found] ` <17509.46549.5651.16043@localhost.localdomain>
2006-05-12 12:03   ` 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=17510.21363.703854.259173@farnswood.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=kzeitler@lucent.com \
    /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).