From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.devel Subject: Inferior process mystery Date: Wed, 25 Apr 2012 10:46:11 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335366007 12085 80.91.229.3 (25 Apr 2012 15:00:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Apr 2012 15:00:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 25 17:00:07 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 1SN3hO-0006sZ-Il for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2012 17:00:06 +0200 Original-Received: from localhost ([::1]:48961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN3hN-0001jl-OS for ged-emacs-devel@m.gmane.org; Wed, 25 Apr 2012 11:00:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN3hG-0001hI-P3 for emacs-devel@gnu.org; Wed, 25 Apr 2012 11:00:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SN3hE-0004f2-Qo for emacs-devel@gnu.org; Wed, 25 Apr 2012 10:59:58 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:50730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SN3hE-0004ek-Jc for emacs-devel@gnu.org; Wed, 25 Apr 2012 10:59:56 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SN3hA-0006hn-RH for emacs-devel@gnu.org; Wed, 25 Apr 2012 16:59:52 +0200 Original-Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com ([207.172.223.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Apr 2012 16:59:52 +0200 Original-Received: from dave by 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Apr 2012 16:59:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.94 (darwin) Cancel-Lock: sha1:D17XB1VyfzosIniP5j+AWAGLnuo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:149990 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? Many thanks in advance, -- Dave Abrahams BoostPro Computing http://www.boostpro.com