From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: etay.meiri@gmail.com Newsgroups: gmane.emacs.help Subject: how to make emacs aware of bash aliases Date: Tue, 9 Sep 2008 01:46:44 -0700 (PDT) Organization: http://groups.google.com Message-ID: <43f12347-4102-4636-b034-d08158ec8ed3@j22g2000hsf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220967898 15360 80.91.229.12 (9 Sep 2008 13:44:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Sep 2008 13:44:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 09 15:45:50 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kd3X8-0003tM-9Y for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Sep 2008 15:45:30 +0200 Original-Received: from localhost ([127.0.0.1]:55360 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kd3W8-0008FP-AK for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Sep 2008 09:44:28 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!j22g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 217.132.131.2 Original-X-Trace: posting.google.com 1220950004 18470 127.0.0.1 (9 Sep 2008 08:46:44 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 9 Sep 2008 08:46:44 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j22g2000hsf.googlegroups.com; posting-host=217.132.131.2; posting-account=aYPwpgoAAABJuXxIZDkDtoDErg2phi4C User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.1) Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:162015 X-Mailman-Approved-At: Tue, 09 Sep 2008 09:44:11 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57364 Archived-At: Hi, I have the following aliases in my .bashrc: alias remake="make clean && make" alias makedebug="make CXXFLAGS=\"-g -DDEBUG\"" alias makerelease="make CXXFLAGS=\"-g -O3\"" They work fine from a regular bash shell. I'm trying to use them via emacs compile command and get the following result: -*- mode: compilation; default-directory: "~/workspace/demo_12_1/" -*- Compilation started at Tue Sep 9 11:40:15 cd ~/workspace/demo_12_1/ && makedebug /bin/bash: makedebug: command not found Compilation exited abnormally with code 127 at Tue Sep 9 11:40:15 How can I make the emacs shell aware of the aliases I defined? Thanks a lot, -Etay