From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: edgar@openmail.cc Newsgroups: gmane.emacs.help Subject: dir-locals.el process-environment Date: Mon, 26 Feb 2018 04:30:02 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1519619346 1006 195.159.176.226 (26 Feb 2018 04:29:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Feb 2018 04:29:06 +0000 (UTC) User-Agent: Roundcube Webmail/1.2.4 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 26 05:29:02 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqAPO-0008Nz-Gr for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Feb 2018 05:29:02 +0100 Original-Received: from localhost ([::1]:57123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqARQ-00008B-Jh for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Feb 2018 23:31:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqAQp-000082-Q5 for help-gnu-emacs@gnu.org; Sun, 25 Feb 2018 23:30:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqAQm-0000BK-Ie for help-gnu-emacs@gnu.org; Sun, 25 Feb 2018 23:30:31 -0500 Original-Received: from onethreetwo.vfemail.net ([199.16.11.132]:56376 helo=vfemail.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eqAQm-0000Aa-Bk for help-gnu-emacs@gnu.org; Sun, 25 Feb 2018 23:30:28 -0500 Original-Received: (qmail 61430 invoked by uid 89); 26 Feb 2018 04:30:25 -0000 Original-Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 26 Feb 2018 04:30:24 -0000 Original-Received: (qmail 60506 invoked by uid 89); 26 Feb 2018 04:30:07 -0000 Original-Received: by simscan 1.4.0 ppid: 60493, pid: 60495, t: 0.1009s scanners:none Original-Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 26 Feb 2018 04:30:07 -0000 Original-Received: (qmail 22717 invoked by uid 89); 26 Feb 2018 04:30:02 -0000 Original-Received: by simscan 1.4.0 ppid: 22709, pid: 22713, t: 0.0681s scanners:none Original-Received: from unknown (HELO www.vfemail.net) (ZWRnYXJAb3Blbm1haWwuY2M=@172.16.100.93) by 172.16.100.62 with ESMTPA; 26 Feb 2018 04:30:02 -0000 Original-Received: from H4Ve9lblB886hKaXxj6rIevfE/jPqS/VhsPm4hZ34eXn4bet6rGYe1pGXW9xSvK6 (PPycTvZMKSA9XB7d6PGY/gTjVfLH3lYt) by www.vfemail.net with HTTP (HTTP/1.1 POST); Sun, 25 Feb 2018 22:30:02 -0600 X-Sender: edgar@openmail.cc X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x [fuzzy] X-Received-From: 199.16.11.132 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116086 Archived-At: Did someone receive my question? Is this the right mailing list? Thanks! Hi, I am trying to customise my building environment (debugging included). I have this in my .dir-locals.el (("src" ;https://stackoverflow.com/a/19521152 . ((c++-mode ;https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html . ((eval ;https://emacs.stackexchange.com/a/35965 . (progn (make-local-variable 'process-environment) (setq process-environment (copy-sequence process-environment)) (setenv "CC" "mpicc")))))))) However, if I printf "$CC" I get nothing. How can I achieve this? Thanks. ------------------------------------------------- ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!