all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Daniel (Youngwhan)" <breadncup@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: how to use bash alias in emacs compile
Date: Wed, 2 May 2012 14:28:40 -0700 (PDT)	[thread overview]
Message-ID: <a0a22d31-830a-4488-96c8-2846e47fcff4@v1g2000yqm.googlegroups.com> (raw)

Hi,

I have alias like this:

alias dm='cd ~/XYZ && ./mycompile.sh'

I typed M-x compile, and tried to run by just typing "dm", but it
doesn't recognize.

I searched and some suggest BASH_ENV, so I tried, but not working.

I'm using GNU emacs 23.4.1 running on Linux (Ubuntu 2.6.38 kernel),
and GNU Bash version is 4.1.5.

When I type "alias" in M-x compile, it shows dm in right way, but it
looks the "compile" in emacs does not recognize bash alias.

Is there anyone who resolve this problem? Or it is impossible to use
bash alias in emacs compile.



             reply	other threads:[~2012-05-02 21:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-02 21:28 Daniel (Youngwhan) [this message]
2012-05-02 21:42 ` how to use bash alias in emacs compile Peter Dyballa
2012-05-02 22:55 ` Barry Margolin
2012-05-03  8:35 ` Pascal J. Bourguignon
2012-05-07 19:48   ` Daniel (Youngwhan)
2012-05-07 20:04     ` ken
2012-05-07 20:18     ` Pascal J. Bourguignon

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

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

  git send-email \
    --in-reply-to=a0a22d31-830a-4488-96c8-2846e47fcff4@v1g2000yqm.googlegroups.com \
    --to=breadncup@gmail.com \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.