unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Phillip Lord <p.lord@cs.man.ac.uk>
Subject: Re: Running bash inside emacs
Date: 04 May 2005 11:11:55 +0100	[thread overview]
Message-ID: <vf3bt3uwpg.fsf@rpc71.cs.man.ac.uk> (raw)
In-Reply-To: 4277c7c8$0$79454$14726298@news.sunsite.dk


>>>>> "Madhusudan" == Madhusudan Singh <spammers-go-here@spam.invalid> writes:

  Madhusudan> Thanks for your response. I posted this question because
  Madhusudan> I am not comfortable with the solution you showed.

  Madhusudan> Typing in sort commands, etc. when you can just open up
  Madhusudan> a native bash shell and use up/down keys to your heart's
  Madhusudan> content, does not make any sense at all. 

You can access a history with C-p and C-n. Why these are not bound to
up and down arrow by default, I really never understood. 

  Madhusudan> This is especially important when you are debugging some
  Madhusudan> code and need access to the shell, repeatedly. The
  Madhusudan> solution you list would be a horrendous waste of typing
  Madhusudan> and time in that case.

You're debugging bash code? I normally use mode-compile.el for
this. Basically, it runs bash with lots of debug output. 

I wonder whether GUD works on bash, that would be nice. 

  Madhusudan> Maybe it is time for a M-x bash RET.

It requires that you have bash. M-x shell also works with DOS, or many
other shells. 

Phil

  parent reply	other threads:[~2005-05-04 10:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-03 16:47 Running bash inside emacs Madhusudan Singh
2005-05-03 18:29 ` Pascal Bourguignon
2005-05-03 18:52   ` Madhusudan Singh
2005-05-03 19:13     ` Walker Pendleton
2005-05-03 19:57       ` Madhusudan Singh
2005-05-03 19:24     ` J. David Boyd
2005-05-03 22:53     ` Tim X
2005-05-04 10:11     ` Phillip Lord [this message]
2005-05-05 17:08       ` Kevin Rodgers
2005-05-03 19:06 ` Adrian Aichner

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=vf3bt3uwpg.fsf@rpc71.cs.man.ac.uk \
    --to=p.lord@cs.man.ac.uk \
    /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.
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).