From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: Getting Python system paths for CEDET Date: Sat, 13 Oct 2012 14:26:08 +0200 Message-ID: <87fw5id0db.fsf@engster.org> References: <87obk6d8m0.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1350131176 2966 80.91.229.3 (13 Oct 2012 12:26:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Oct 2012 12:26:16 +0000 (UTC) Cc: =?iso-8859-1?Q?Fabi=E1n_E=2E_Gallina?= , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 13 14:26:22 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 1TN0nO-0000iu-B0 for ged-emacs-devel@m.gmane.org; Sat, 13 Oct 2012 14:26:22 +0200 Original-Received: from localhost ([::1]:60774 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN0nH-0001QO-LN for ged-emacs-devel@m.gmane.org; Sat, 13 Oct 2012 08:26:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40820) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN0nE-0001Ie-6T for emacs-devel@gnu.org; Sat, 13 Oct 2012 08:26:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TN0nD-0003e8-6a for emacs-devel@gnu.org; Sat, 13 Oct 2012 08:26:12 -0400 Original-Received: from randomsample.de ([83.169.19.17]:38836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN0nC-0003dn-Ue for emacs-devel@gnu.org; Sat, 13 Oct 2012 08:26:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=+FIkd6krphMSgOsVWGxdgpEW63F+D+76v4f6S1eBZK4=; b=ZH7lq1zRQ9I4+ZQQA2MxILg3lHKeDF12zuTHStiChdMf3yJr21G93kv8fSfB7W0qcKJSrro0D9I2NBJR7nGZMwnYgskad3lgDWZiYN1WWA4iCByp0FLD0FxwdZuvqAUL; Original-Received: from dslc-082-083-038-062.pools.arcor-ip.net ([82.83.38.62] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TN0nA-0007rS-PT; Sat, 13 Oct 2012 14:26:09 +0200 In-Reply-To: (Andreas Schwab's message of "Sat, 13 Oct 2012 14:14:44 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) Mail-Followup-To: Andreas Schwab , emacs-devel@gnu.org, =?iso-8859-1?Q?Fabi=E1n_E=2E_Gallina?= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 83.169.19.17 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:154303 Archived-At: Andreas Schwab writes: > David Engster writes: > >> So here's my question: What is The Right Way to send and parse the >> command above? > > How about shell-command-to-string? That's what I thought, too. But people told me that it is better to go through the python-mode layer, so that its configuration settings can be reused (the Python version to use, for example). -David