From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add shell-quasiquote. Date: Thu, 22 Oct 2015 18:20:06 +0300 Message-ID: <83a8rbszfd.fsf@gnu.org> References: <87si59wj42.fsf@T420.taylan> <87zizdijbp.fsf@T420.taylan> <56267302.7050606@yandex.ru> <87io61igyu.fsf@T420.taylan> <56267CDF.6010201@yandex.ru> <87wpuhh15s.fsf@T420.taylan> <562683B9.1060305@yandex.ru> <83y4exe71v.fsf@gnu.org> <87y4ewoqbs.fsf@fastmail.com> <83si54e2qx.fsf@gnu.org> <87y4ew8fue.fsf@fastmail.com> <83zizcurco.fsf@gnu.org> <87k2qgw3q1.fsf@fastmail.com> <83lhawuny4.fsf@gnu.org> <8737x4vyyg.fsf@fastmail.com> <83bnbsujqd.fsf@gnu.org> <87y4ewujf8.fsf@fastmail.com> <837fmguixu.fsf@gnu.org> <87twpkhugn.fsf@fastmail.com> <8337x3vd8d.fsf@gnu.org> <871tcnz8or.fsf@fencepost.gnu.org> <87611zuikf.fsf@fastmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1445527254 25236 80.91.229.3 (22 Oct 2015 15:20:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Oct 2015 15:20:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Random832 Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 22 17:20:47 2015 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 1ZpHfM-0003JQ-5a for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 17:20:32 +0200 Original-Received: from localhost ([::1]:60664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpHfL-0007db-Fo for ged-emacs-devel@m.gmane.org; Thu, 22 Oct 2015 11:20:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpHf1-00076H-CZ for emacs-devel@gnu.org; Thu, 22 Oct 2015 11:20:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpHey-0003Y2-3s for emacs-devel@gnu.org; Thu, 22 Oct 2015 11:20:11 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:43636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpHex-0003Wj-T0 for emacs-devel@gnu.org; Thu, 22 Oct 2015 11:20:08 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NWM00B00NT0EW00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Thu, 22 Oct 2015 18:20:06 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWM00BUTNXGCP30@a-mtaout23.012.net.il>; Thu, 22 Oct 2015 18:20:05 +0300 (IDT) In-reply-to: <87611zuikf.fsf@fastmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:192400 Archived-At: > From: Random832 > Date: Thu, 22 Oct 2015 09:41:20 -0400 > > David Kastrup writes: > > Eli Zaretskii writes: > >> OK, but that still boils down to binding some more variables. If we > >> want to help users with these factoids, we could have a small database > >> of the known Posix shells and their requirements. > > I couldn't find an easy way to do let-style binding of environment > variables, though I didn't look very hard. Something like this: (let ((process-environment process-environment)) (setq process-environment (cons "FOO=bar" process-environment)) ... or like this: (let ((process-environment (nconc (list "FOO=bar" "OTHER=no") process-environment))) ...