From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Inferior process mystery Date: Wed, 25 Apr 2012 11:32:58 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335367997 28449 80.91.229.3 (25 Apr 2012 15:33:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2012 15:33:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dave Abrahams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 25 17:33:15 2012 Return-path: Envelope-to: ged-emacs-devel@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 1SN4DS-0004BY-R3 for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2012 17:33:14 +0200 Original-Received: from localhost ([::1]:44559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN4DR-0007Y4-PN for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2012 11:33:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN4DL-0007Wh-2V for emacs-devel@gnu.org; Wed, 25 Apr 2012 11:33:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SN4DE-0002ic-5g for emacs-devel@gnu.org; Wed, 25 Apr 2012 11:33:06 -0400 Original-Received: from ironport-out.teksavvy.com ([206.248.143.162]:57868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN4DE-0002iB-1H for emacs-devel@gnu.org; Wed, 25 Apr 2012 11:33:00 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApYIACxOgk/O+LN8/2dsb2JhbABDuCMDgQyBCIIJAQEEAVYjBQsLNBIUGA0kiBwFtjKLYYR5BKRFgV2DAw X-IronPort-AV: E=Sophos;i="4.75,391,1330923600"; d="scan'208";a="176629477" Original-Received: from 206-248-179-124.dsl.teksavvy.com (HELO pastel.home) ([206.248.179.124]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 25 Apr 2012 11:32:58 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 1F9AE58FE4; Wed, 25 Apr 2012 11:32:58 -0400 (EDT) In-Reply-To: (Dave Abrahams's message of "Wed, 25 Apr 2012 10:46:11 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.143.162 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:150002 Archived-At: > Any of the following will launch /opt/local/bin/python, which is in my > PATH: > * `M-! python RET' > * `M-! python& RET' > * `M-x shell RET python RET' > * `C-u M-x run-python RET env python RET' > However, although the variable `python-command' has the value "python", > either of these will launch /usr/bin/python: > * `M-x run-python' > * `C-u M-x run-python RET python RET' > I'm at a loss to explain why python-command is not selecting the same > Python that's in my PATH and run by env. Can someone explain why this > is happening? Could it be that your PATH and your `exec-path' don't hold the same list of directories? Stefan