From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Daniel (Youngwhan)" Newsgroups: gmane.emacs.help Subject: how to use bash alias in emacs compile Date: Wed, 2 May 2012 14:28:40 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1335994222 22289 80.91.229.3 (2 May 2012 21:30:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 May 2012 21:30:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 02 23:30:21 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SPh7m-0000Dn-NI for geh-help-gnu-emacs@m.gmane.org; Wed, 02 May 2012 23:30:14 +0200 Original-Received: from localhost ([::1]:46231 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPh7l-0001jo-VB for geh-help-gnu-emacs@m.gmane.org; Wed, 02 May 2012 17:30:13 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!v1g2000yqm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: 173.36.196.9 Original-X-Trace: posting.google.com 1335994120 4825 127.0.0.1 (2 May 2012 21:28:40 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 2 May 2012 21:28:40 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v1g2000yqm.googlegroups.com; posting-host=173.36.196.9; posting-account=1n6WnAoAAACbXH3nD5I7RQWqdkbTxZki User-Agent: G2/1.0 X-HTTP-Via: 1.1 sjce-dmz-wsa-4-mgmt.cisco.com:80 (IronPort-WSA/7.1.3-021) X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20100101 Firefox/11.0,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:192295 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84704 Archived-At: 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.