From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: hap 497 Newsgroups: gmane.emacs.help Subject: How to make emacs to run my ~/.bash_profile Date: Fri, 18 Sep 2009 16:24:54 -0700 Message-ID: <5ff1d48c0909181624w301d5c0dh1f33fdd19dea02d1@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1253342580 16807 80.91.229.12 (19 Sep 2009 06:43:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Sep 2009 06:43:00 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 19 08:42:53 2009 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 1Motem-0002uo-Ni for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Sep 2009 08:42:53 +0200 Original-Received: from localhost ([127.0.0.1]:35422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Motel-0006EE-VK for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Sep 2009 02:42:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Momp7-0001jf-2g for help-gnu-emacs@gnu.org; Fri, 18 Sep 2009 19:25:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Momp1-0001iL-Fq for help-gnu-emacs@gnu.org; Fri, 18 Sep 2009 19:25:03 -0400 Original-Received: from [199.232.76.173] (port=48036 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Momp1-0001iH-4m for help-gnu-emacs@gnu.org; Fri, 18 Sep 2009 19:24:59 -0400 Original-Received: from mail-bw0-f220.google.com ([209.85.218.220]:60647) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Momoz-0001g8-Gq for help-gnu-emacs@gnu.org; Fri, 18 Sep 2009 19:24:57 -0400 Original-Received: by bwz20 with SMTP id 20so1367873bwz.42 for ; Fri, 18 Sep 2009 16:24:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=LjZOC/rok2DDYugqV4z52e2AUVWERqnDo+OyUJTE1H0=; b=dyK6H2IGHtWdfSdTaTDrxC+7dDEW9kwt+GmE8TaWn9Xr96zlFpISCF40fQ+dvPRtjd BYUY3Hf0CwzocgwnMJz5/dWSFIgAnLmgr+CPvn4MmupwCyj0XSyDZve0GoTM9pzu/eo6 6H76NeC7XIXqYSM68B2xVd8ngINW0jORgL72s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=i8vY4UUFtb9+5H632zA8eYIg3h9IPkfUwJmnXa/o4mLEmuBpmkhb2Fz+ickWIkcn+2 vOoi4tI5PEhf5qahgH4qUF8A2nYSNJaBC+p7rqcRUmOA/zYGwWrQ2YR03eoU0SYhm6K3 1Hsu3Get8yM57YFnxJXyuwlDMeYzjDTtB5kiA= Original-Received: by 10.204.10.135 with SMTP id p7mr1976782bkp.69.1253316294863; Fri, 18 Sep 2009 16:24:54 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 19 Sep 2009 02:06:59 -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:68300 Archived-At: Hi, I often start a shell in emacs using 'M-shell'. But what i find out it emacs does not execute my ~/.bash_profile. Therefore my alias does not work in emacs shell. Can you please tell me how can I make emacs run my ~/.bash_profile whenever I do a 'M-shell'? Thank you.