From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: n179911 Newsgroups: gmane.emacs.help Subject: how to specify the current directory when I start a shell in aquamacs Date: Tue, 7 Jul 2009 17:18:24 -0700 Message-ID: <3b9893450907071718yfcd7caela7b30ac65f0ea802@mail.gmail.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 1247027108 11168 80.91.229.12 (8 Jul 2009 04:25:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jul 2009 04:25:08 +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 Jul 08 06:25:02 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 1MOOiL-00030u-Hx for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Jul 2009 06:25:01 +0200 Original-Received: from localhost ([127.0.0.1]:47161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOOiK-0000CK-WE for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Jul 2009 00:25:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOKri-0004iJ-O8 for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 20:18:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOKrh-0004hA-Ri for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 20:18:26 -0400 Original-Received: from [199.232.76.173] (port=49547 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOKrh-0004h7-OV for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 20:18:25 -0400 Original-Received: from qw-out-1920.google.com ([74.125.92.146]:30021) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOKrh-000092-33 for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 20:18:25 -0400 Original-Received: by qw-out-1920.google.com with SMTP id 5so2621427qwf.24 for ; Tue, 07 Jul 2009 17:18:24 -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:content-transfer-encoding; bh=3t85w9C4mQX/1f22Ep6l/W6Jd4/WbNLw0qOTcNn5MKg=; b=as4VT9OIuvEI2YnfOJg8oZsVh6vCoLp7CuVKUcEDw91RD7bFAbYFsMcffxl/XOUHrb U1rMHsrq5rYoh2x4VXZMCdZm4Fgj7UeADBq4hO2uZh+U8yZAcBLMSKCmMOIjOAAS+PFN cVrcDLaTeL0obFw1pga0O0rxiIGfU5GVf8bFo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Hc5Gzx5nKp2/d4jyzVEMFCkqaZRrtrlabPeFPTyhdRAQ2OB0Ml1hJxZcbSPtkAbJAo DJuwqiHYhs38ArpzfjgdfYZxq6r0RtnOQjCu/jSPR1gJpKMp2h6htT/E0HtTt1V2v3pu rCwZ2px6HN/ffOEpw5JmBrYDx9pky0A2wlvl0= Original-Received: by 10.224.28.130 with SMTP id m2mr7292890qac.52.1247012304332; Tue, 07 Jul 2009 17:18:24 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 08 Jul 2009 00:22:50 -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:65827 Archived-At: Hi, I start aquamacs in a directory, say '~/dir1/dir2' and then in aquamacs, i do 'M-x shell' and it launches a shell, but why when I do 'pwd' in the shell, it goes back to my HOME, i.e ~? Is there anyway to configure aquamacs to start a shell when I do M-x shell to the directory of where I launched aquamacs? In my above example, it would be ~/dir1/dir2? Thank you.