From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Setting TZ in set_time_zone_rule Date: Thu, 29 Nov 2012 13:39:24 -0800 Message-ID: <50B7D60C.7070306@cs.ucla.edu> References: <83624pwq8z.fsf@gnu.org> <50B67266.1000509@cs.ucla.edu> <50B6B886.9020309@cs.ucla.edu> <83zk21ul87.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1354225174 10118 80.91.229.3 (29 Nov 2012 21:39:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Nov 2012 21:39:34 +0000 (UTC) Cc: schwab@linux-m68k.org, fabrice.popineau@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 29 22:39:45 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 1TeBpe-0001Vt-N9 for ged-emacs-devel@m.gmane.org; Thu, 29 Nov 2012 22:39:42 +0100 Original-Received: from localhost ([::1]:57803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeBpT-0002aE-8l for ged-emacs-devel@m.gmane.org; Thu, 29 Nov 2012 16:39:31 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeBpQ-0002Z5-9h for emacs-devel@gnu.org; Thu, 29 Nov 2012 16:39:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TeBpP-0004uO-IG for emacs-devel@gnu.org; Thu, 29 Nov 2012 16:39:28 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:59604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeBpO-0004u6-8d; Thu, 29 Nov 2012 16:39:26 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 803B1A6000A; Thu, 29 Nov 2012 13:39:25 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A1nE0ivwZ0Vf; Thu, 29 Nov 2012 13:39:25 -0800 (PST) Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id DC34AA6000F; Thu, 29 Nov 2012 13:39:24 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: <83zk21ul87.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 131.179.128.62 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:155131 Archived-At: On 11/28/12 19:44, Eli Zaretskii wrote: > So would it be a problem to use 'setenv' in that function? I think setenv could be used. It'd be a tiny bit tricky, though, as I expect unsetenv would also need to be used, in some cases. There's a gnulib module for unsetenv too, so the only real problem would be in the Emacs code proper.