From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jai Dayal Newsgroups: gmane.emacs.help Subject: emacs + ansi-term on OSX Date: Fri, 24 Jan 2014 01:19:10 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1390549640 23067 80.91.229.3 (24 Jan 2014 07:47:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jan 2014 07:47:20 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 24 08:47:28 2014 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 1W6bU7-0008MU-Lg for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Jan 2014 08:47:27 +0100 Original-Received: from localhost ([::1]:44934 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6bU7-0007Ie-3b for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Jan 2014 02:47:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6a72-0002wb-Vc for help-gnu-emacs@gnu.org; Fri, 24 Jan 2014 01:19:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W6a72-0002QU-3C for help-gnu-emacs@gnu.org; Fri, 24 Jan 2014 01:19:32 -0500 Original-Received: from mail-vc0-x236.google.com ([2607:f8b0:400c:c03::236]:52656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W6a71-0002QM-UY for help-gnu-emacs@gnu.org; Fri, 24 Jan 2014 01:19:32 -0500 Original-Received: by mail-vc0-f182.google.com with SMTP id id10so1665715vcb.27 for ; Thu, 23 Jan 2014 22:19:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=EPVPjoE9Ej2q8zChDNSDHQ6vdJQNBCenJTXWSkVwr1Y=; b=G3NxYEabtSAC4Qlj4xRCuGZQtO1bkLk3a65YnEMvfPOji37lsd6mG0neM92oYcQbM7 JgAK1o1n82X+GIMn+iKLccswzP27FmdTrvJVuDSPHy+FNKn4yUIVsXFE5yE4xAm9Q1Re 0/tE0B4FALqTgmn2MBX4Jci8R+yyjvBY76Gsp7IZ9NXbQb5gCkI/rJv/ZaFPjzdlkm9s H/K5on5fDxJlV9WdqE028xdsMuWFE0JSDvHXIQuOf66YKasCKp7R4IIomyZgp0yH04BY 1bB/BDyLYkMRHT/o0m9yd28XI1oVakjPHqMHXuSMH9SHzLM+9hP9vTTKlcA7r4d403Oq zN7w== X-Received: by 10.58.12.132 with SMTP id y4mr33936veb.66.1390544370296; Thu, 23 Jan 2014 22:19:30 -0800 (PST) Original-Received: by 10.221.42.10 with HTTP; Thu, 23 Jan 2014 22:19:10 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c03::236 X-Mailman-Approved-At: Fri, 24 Jan 2014 02:47:11 -0500 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:95605 Archived-At: Hi, I have compiled and installed gnu emacs from source (I am not using Aquamacs or EmacsForMac), however, when I run M-x ansi-term, it does not run my .profile script (Mac doesn't use .bashrc). How can I setup the ansi-term to run my .profile for each bash shell it runs? I typically have multiple ansi-shells. I also do something like this to make spawning ansi-shells and renaming them easier: (defun aterm (buffer-name) "Start a terminal and rename buffer." (interactive "sbuffer name: ") (ansi-term "/bin/bash") (rename-buffer buffer-name t)) Thanks much, Jai