From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: No coding system used for environment variables Date: Wed, 23 Jul 2008 20:30:20 -0400 Message-ID: <87bq0o6s4j.fsf@stupidchicken.com> References: <87y73s1765.fsf@stupidchicken.com> <4887C867.3060602@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216859356 18284 80.91.229.12 (24 Jul 2008 00:29:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jul 2008 00:29:16 +0000 (UTC) Cc: 38@emacsbugs.donarmstrong.com, YAMAMOTO Mitsuharu , emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 24 02:30:05 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KLoiZ-0003Jj-LI for ged-emacs-devel@m.gmane.org; Thu, 24 Jul 2008 02:30:03 +0200 Original-Received: from localhost ([127.0.0.1]:35489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLohg-0001Uw-9K for ged-emacs-devel@m.gmane.org; Wed, 23 Jul 2008 20:29:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLoha-0001RR-QE for emacs-devel@gnu.org; Wed, 23 Jul 2008 20:29:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLohZ-0001Q6-RT for emacs-devel@gnu.org; Wed, 23 Jul 2008 20:29:02 -0400 Original-Received: from [199.232.76.173] (port=59824 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLohZ-0001Pr-MY for emacs-devel@gnu.org; Wed, 23 Jul 2008 20:29:01 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:53539 helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLohV-00034x-TE; Wed, 23 Jul 2008 20:28:57 -0400 Original-Received: by cyd (Postfix, from userid 1000) id 06A5857E32C; Wed, 23 Jul 2008 20:30:21 -0400 (EDT) In-Reply-To: <4887C867.3060602@gnu.org> (Jason Rumney's message of "Thu, 24 Jul 2008 01:10:15 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:101352 Archived-At: Jason Rumney writes: >> Two objections were made to Jason's patch: (i) some coding systems are >> not ready until some .elc files get loaded (relevant for special cases, >> such as the EMACS_LOAD_PATH variable), and (ii) DECODE_FILE causes GC, >> so variables such as `nm' in Fexpand_file_name may not point to valid >> data after that. >> >> If no elegant solution is forthcoming, I'd suggest simply documenting >> (i) as a limitation, and dealing with (ii) by simply turning off GC in >> the affected part of the function. > > I think the GC part can be handled the same way as in bug #93 Okay. Could you put your patch back in, with the proper GC handling? >> I noticed that the patch posted at >> >> http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-05/msg00115.html >> >> has not been checked into the trunk either. > > I think the bug reported there is the same as #93, which is fixed in the > trunk, but not the branch AFAIK. Could you port this fix to the branch? Thanks.