From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lucius Fox Newsgroups: gmane.emacs.help Subject: Re: How to configure emacs so that it run my '.profile' when I start a shell inside emacs? Date: Sun, 19 Apr 2009 15:09:23 -0700 Message-ID: <528a76e70904191509j27b04079jb34af11e6c312f31@mail.gmail.com> References: <528a76e70904191451o410f0586w39a198d9884086c8@mail.gmail.com> <650C106C-06F4-4545-85D4-5B4E4BF120C4@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1240179035 7821 80.91.229.12 (19 Apr 2009 22:10:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Apr 2009 22:10:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 20 00:11:54 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 1LvfEH-0003dl-0y for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Apr 2009 00:11:13 +0200 Original-Received: from localhost ([127.0.0.1]:45200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvfCr-00040V-Hd for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Apr 2009 18:09:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvfCX-0003zN-6q for help-gnu-emacs@gnu.org; Sun, 19 Apr 2009 18:09:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvfCW-0003yp-MT for help-gnu-emacs@gnu.org; Sun, 19 Apr 2009 18:09:24 -0400 Original-Received: from [199.232.76.173] (port=37066 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvfCW-0003yh-Iu for help-gnu-emacs@gnu.org; Sun, 19 Apr 2009 18:09:24 -0400 Original-Received: from yw-out-1718.google.com ([74.125.46.153]:19336) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LvfCW-0006BL-6Y for help-gnu-emacs@gnu.org; Sun, 19 Apr 2009 18:09:24 -0400 Original-Received: by yw-out-1718.google.com with SMTP id 9so2640378ywk.66 for ; Sun, 19 Apr 2009 15:09:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=LW4ksPsZswcS0TevGFin/bzZQpxVItRL41a0Fc5QKIw=; b=CXb1Kmah56PefUjUmSGGNiQYfPih9eDMlkxrWsL+wss7W5Q4NgLHiUhYq1WgCWxkQd WvIXSwrMsPcFzQpiyxfsaP7rGtuI/k/BifooyQ+tfVlPKrifz8JTwDgMtke3+180qxWZ H0TzFlIKl0A2POWANorPgOEBPb47WniniXv20= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=KY0UMf1XTzARqwYcpWGDUnbM+KLEvmVtfb4ZEF6O9mBUsPjqgVOpJjhaDqV3+PeCwp 14rCD6zNEHoR4u9rY5G5VBnhy/ZoObFTu7cfPIOUfPAcjBLJ2y7c99kq5B0cbig+Nrdf RP1Xi8qjkKQqHHmVy+JWVm6sC9S54Mdf49gBA= Original-Received: by 10.151.41.21 with SMTP id t21mr7217756ybj.117.1240178963676; Sun, 19 Apr 2009 15:09:23 -0700 (PDT) In-Reply-To: <650C106C-06F4-4545-85D4-5B4E4BF120C4@Web.DE> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:63886 Archived-At: Thanks. But how can I do that automatically? This is because right now, when I start a shell, it source in my '.profile' automatically. But when I start a shell within emacs, it does not source in my .profile. Thank you. On Sun, Apr 19, 2009 at 3:03 PM, Peter Dyballa wrote= : > > Am 19.04.2009 um 23:51 schrieb Lucius Fox: > >> How to configure emacs so that it run my '.profile' when I start a >> shell inside emacs? > > > It depends on your login shell's syntax. You can put into the file > ~/.emacs_ a command like > > =A0 =A0 =A0 =A0. ~/.profile > > for Bourne like shells or > > =A0 =A0 =A0 =A0source ~/.profile > > for csh like shells. Other shells will also have their syntax. > > -- > Greetings > > =A0Pete > > Bigamy is having one wife too many. Monogamy is the same. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=96 Oscar = Wilde > > > >