From unknown Thu Aug 14 18:32:24 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#38 <38@debbugs.gnu.org> To: bug#38 <38@debbugs.gnu.org> Subject: Status: No coding system used for environment variables Reply-To: bug#38 <38@debbugs.gnu.org> Date: Fri, 15 Aug 2025 01:32:24 +0000 retitle 38 No coding system used for environment variables reassign 38 emacs submitter 38 Jason Rumney severity 38 normal thanks From jasonr@gnu.org Tue Mar 4 16:24:39 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,IMPRONONCABLE_2, SPF_HELO_PASS autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 5 Mar 2008 00:24:40 +0000 Received: from mk-outboundfilter-4.mail.uk.tiscali.com (mk-outboundfilter-4.mail.uk.tiscali.com [212.74.114.32]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m250OXmC003617 for ; Tue, 4 Mar 2008 16:24:35 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAALV2zUdTQxds/2dsb2JhbAAIrj8 X-IronPort-AV: E=McAfee;i="5200,2160,5244"; a="19420566" X-IronPort-AV: E=Sophos;i="4.25,444,1199664000"; d="scan'208";a="19420566" X-IP-Direction: OUT Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Mar 2008 00:24:15 +0000 Message-ID: <47CDE82D.2020302@gnu.org> Date: Wed, 05 Mar 2008 00:24:13 +0000 From: Jason Rumney User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: submit@debbugs.gnu.org Subject: No coding system used for environment variables Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit -------- Original Message -------- Subject: No coding system used for environment variables Date: Thu, 21 Feb 2008 22:40:40 +0100 From: Göran Uddeborg To: bug-gnu-emacs@gnu.org It seems there is no coding system applied to values of environment variables. I'm running a system using UTF-8. My locale is sv_SE.utf8. And emacs uses UTF-8 as default most of the time. When I open a new file for example. I do have issues with strings coming from environment variables though. I first discovered this in the vm mail system, since it misinterpreted the variable MAIL which has the value /var/spool/mail/göran encoded in UTF-8. (In case your mailer mangles it, the last file name component is g ö r a n.) But it also causes problems in various places, for example with functions relating to the home directory. $HOME is /home/göran (same last component as before). As an example, I start emacs in my home directory, and do a few experiments in the scratch buffer (which has a "u" for coding system in the mode line): default-directory "/home/göran/" Looks good. I see my ö. (expand-file-name "") "/home/göran" Ok too. (expand-file-name "~") "/home/g\303\266ran" Here the octal codes for a UTF-8 encoded ö is shown instead of the ö itself. The source of ~ is the environment variable HOME. But if I explicitly ask for that variable: (getenv "HOME") "/home/göran" Here I see the ö. Let's have a bit more fun. Here I try to expand a FILE with my own name: (expand-file-name "göran") "/home/göran/göran" Looks the way I expected it. Now the same thing, explicitly saying to put it in the home directory: (expand-file-name "~/göran") "/home/g\xc3\xb6ran/göran" The ö in the file name is ok. The ö in the directory name is strange again, only this time it is shown in hex rather than octal. I asked about this on gnu.emacs.help first, (http://groups.google.se/group/gnu.emacs.help/browse_thread/thread/80258d0a17e37138/75411fce63db9b2c#75411fce63db9b2c) I was unsure if it was a bug or my lack of understanding. But two other posters have suggested I report it as a bug. In GNU Emacs 22.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.12.1) of 2007-11-06 on xenbuilder2.fedora.redhat.com Windowing system distributor `The X.Org Foundation', version 11.0.70101000 configured using `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-pop' '--with-sound' '--with-gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -DSYSTEM_PURESIZE_EXTRA=16777216 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: sv_SE.utf8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: which-function-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t transient-mark-mode: t Recent input: ? M-< C-n C-k C-k C-y p C-j C-x 4 C-f . e m C-s v m - s p o o M-< C-x C-f . v m C-g C-x C-f ~ / . v m C-s C-g C-_ C-s v m - s p o o l - f i l e s C-a ; C-x C-s q C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-c C-g C-x M q q C-x M n n n n n n n M-< C-s S E C C-a SPC C-x C-f ~ / N C-x c C-a C-k r p m g r e p SPC l h a ! d C-u C-u C-u C-x o C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p M-> C-x o C-x C-f u p d M-> C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p SPC n n d d d e = C-c C-c SPC SPC n s I q d SPC M-x r e p o r Recent messages: End of message 1059 from Göran Uddeborg Loading vm-digest...done Decoding MIME message... done End of message 1 from Gunilla Christensson 1 message saved to buffer INBOX Quitting... Decoding MIME message... done End of message 1060 from Göran Uddeborg Making completion list... Loading emacsbug...done From jasonr@gnu.org Tue Mar 4 16:40:52 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.5 required=4.0 tests=AWL,SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 38-done) by emacsbugs.donarmstrong.com; 5 Mar 2008 00:40:52 +0000 Received: from mk-outboundfilter-3.mail.uk.tiscali.com (mk-outboundfilter-3.mail.uk.tiscali.com [212.74.114.23]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m250elUt006064 for <38-done@emacsbugs.donarmstrong.com>; Tue, 4 Mar 2008 16:40:49 -0800 X-Trace: 54604578/mk-outboundfilter-1.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAMd6zUdTQxds/2dsb2JhbAAIriw X-IP-Direction: OUT Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Mar 2008 00:40:30 +0000 Message-ID: <47CDEBFD.1060603@gnu.org> Date: Wed, 05 Mar 2008 00:40:29 +0000 From: Jason Rumney User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: =?UTF-8?B?R8O2cmFuIFVkZGVib3Jn?= CC: bug-gnu-emacs@gnu.org, 38-done@debbugs.gnu.org Subject: Re: No coding system used for environment variables References: <200802212140.m1LLeebW008878@freddi.uddeborg.se> In-Reply-To: <200802212140.m1LLeebW008878@freddi.uddeborg.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Version: 22.1.92 Göran Uddeborg wrote: > It seems there is no coding system applied to values of environment > variables. > Thank you for your report. This should be now fixed for 22.2. From mituharu@math.s.chiba-u.ac.jp Tue Mar 4 18:22:24 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.0 required=4.0 tests=MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 38-done) by emacsbugs.donarmstrong.com; 5 Mar 2008 02:22:24 +0000 Received: from mathmail.math.s.chiba-u.ac.jp (mathmail.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m252MGOK019797 for <38-done@emacsbugs.donarmstrong.com>; Tue, 4 Mar 2008 18:22:17 -0800 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 8065E2C4A; Wed, 5 Mar 2008 11:22:03 +0900 (JST) Date: Wed, 05 Mar 2008 11:22:03 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Jason Rumney Cc: =?ISO-8859-1?Q?G=F6ran?= Uddeborg , bug-gnu-emacs@gnu.org, 38-done@debbugs.gnu.org Subject: Re: No coding system used for environment variables In-Reply-To: <47CDEBFD.1060603@gnu.org> References: <200802212140.m1LLeebW008878@freddi.uddeborg.se> <47CDEBFD.1060603@gnu.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable >>>>> On Wed, 05 Mar 2008 00:40:29 +0000, Jason Rumney sai= d: > Version: 22.1.92 G=F6ran Uddeborg wrote: >> It seems there is no coding system applied to values of environment >> variables. >>=20 > Thank you for your report. This should be now fixed for 22.2. I think you mean the latest changes for fileio.c below: 2008-03-05 Jason Rumney * fileio.c (Fexpand_file_name): Decode home directory names. (Fsubstitute_in_file_name): Decode substituted variables. But I'd strongly suggest to revert this changes at this timing of pretest for upcoming Emacs 22.2. First, some coding systems are not ready until some .elc files get loaded (a chicken-and-egg problem). Second, as DECODE_FILE causes GC and string compaction in general, some variables such as `nm' in Fexpand_file_name may not point to valid data after that. You may also want to see a related patch in http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-05/msg00115.html YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From jasonr@gnu.org Wed Mar 5 00:58:01 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.3 required=4.0 tests=AWL,MURPHY_DRUGS_REL8, SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 38) by emacsbugs.donarmstrong.com; 5 Mar 2008 08:58:01 +0000 Received: from mk-outboundfilter-4.mail.uk.tiscali.com (mk-outboundfilter-4.mail.uk.tiscali.com [212.74.114.32]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m258vqgw007778 for <38@emacsbugs.donarmstrong.com>; Wed, 5 Mar 2008 00:57:54 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAACvvzUdTQxds/2dsb2JhbAAIqzU X-IronPort-AV: E=McAfee;i="5200,2160,5244"; a="19559184" X-IP-Direction: OUT Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Mar 2008 08:57:34 +0000 Message-ID: <47CE607B.1000708@gnu.org> Date: Wed, 05 Mar 2008 08:57:31 +0000 From: Jason Rumney User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: YAMAMOTO Mitsuharu CC: =?ISO-8859-1?Q?G=F6ran_Uddeborg?= , bug-gnu-emacs@gnu.org, 38@debbugs.gnu.org Subject: Re: No coding system used for environment variables References: <200802212140.m1LLeebW008878@freddi.uddeborg.se> <47CDEBFD.1060603@gnu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit YAMAMOTO Mitsuharu wrote: > 2008-03-05 Jason Rumney > * fileio.c (Fexpand_file_name): Decode home directory names. > (Fsubstitute_in_file_name): Decode substituted variables. > > But I'd strongly suggest to revert this changes at this timing of > pretest for upcoming Emacs 22.2. It fixes a serious bug. Users with non-ASCII names in their user names get strange behaviour of filename expansion. > First, some coding systems are not > ready until some .elc files get loaded (a chicken-and-egg problem). > It should not present a chicken and egg problem, as no files are loaded during bootstrap that require expansion of ~ or environment variables. > Second, as DECODE_FILE causes GC and string compaction in general, > some variables such as `nm' in Fexpand_file_name may not point to > valid data after that. This is a problem on some systems that still do not support stack marking for GC protection of such variables. But I think this bug is important enough to fix those problems rather than revert the patch. > You may also want to see a related patch in > http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-05/msg00115.html > Was there a problem with that patch? Why was it not installed at the time? From mituharu@math.s.chiba-u.ac.jp Wed Mar 5 01:17:04 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.0 required=4.0 tests=MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 38) by emacsbugs.donarmstrong.com; 5 Mar 2008 09:17:04 +0000 Received: from mathmail.math.s.chiba-u.ac.jp (ntp.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m259GvOb011010 for <38@emacsbugs.donarmstrong.com>; Wed, 5 Mar 2008 01:16:59 -0800 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 816332C4A; Wed, 5 Mar 2008 18:16:45 +0900 (JST) Date: Wed, 05 Mar 2008 18:16:45 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Jason Rumney Cc: =?ISO-8859-1?Q?G=F6ran?= Uddeborg , bug-gnu-emacs@gnu.org, 38@debbugs.gnu.org Subject: Re: No coding system used for environment variables In-Reply-To: <47CE607B.1000708@gnu.org> References: <200802212140.m1LLeebW008878@freddi.uddeborg.se> <47CDEBFD.1060603@gnu.org> <47CE607B.1000708@gnu.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII >>>>> On Wed, 05 Mar 2008 08:57:31 +0000, Jason Rumney said: > YAMAMOTO Mitsuharu wrote: >> 2008-03-05 Jason Rumney * fileio.c >> (Fexpand_file_name): Decode home directory names. >> (Fsubstitute_in_file_name): Decode substituted variables. >> >> But I'd strongly suggest to revert this changes at this timing of >> pretest for upcoming Emacs 22.2. > It fixes a serious bug. Users with non-ASCII names in their user > names get strange behaviour of filename expansion. I know, but your patch has a serious problem and leads to regression. >> First, some coding systems are not ready until some .elc files get >> loaded (a chicken-and-egg problem). >> > It should not present a chicken and egg problem, as no files are > loaded during bootstrap that require expansion of ~ or environment > variables. I meant the startup of the dumped executable. Users may set EMACS_LOAD_PATH and so on. >> Second, as DECODE_FILE causes GC and string compaction in general, >> some variables such as `nm' in Fexpand_file_name may not point to >> valid data after that. > This is a problem on some systems that still do not support stack > marking for GC protection of such variables. But I think this bug is > important enough to fix those problems rather than revert the patch. Relocation of string data caused by GC has nothing to do with (semi-obsolete) GCPROs. Believe me, it causes a real problem. >> You may also want to see a related patch in >> http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-05/msg00115.html >> > Was there a problem with that patch? Why was it not installed at the time? Because no expert in this area made a response about the patch. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From jasonr@gnu.org Wed Mar 5 01:26:28 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.2 required=4.0 tests=AWL,SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 5 Mar 2008 09:26:29 +0000 Received: from mk-outboundfilter-4.mail.uk.tiscali.com (mk-outboundfilter-4.mail.uk.tiscali.com [212.74.114.32]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m259QN3M012249 for ; Wed, 5 Mar 2008 01:26:25 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAH/2zUdTQxds/2dsb2JhbAAIq0A X-IronPort-AV: E=McAfee;i="5200,2160,5244"; a="19580504" X-IP-Direction: OUT Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Mar 2008 09:26:01 +0000 Message-ID: <47CE6724.4040305@gnu.org> Date: Wed, 05 Mar 2008 09:25:56 +0000 From: Jason Rumney User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: Re: No coding system used for environment variables References: <200802212140.m1LLeebW008878@freddi.uddeborg.se> <47CDEBFD.1060603@gnu.org> <47CE607B.1000708@gnu.org> In-Reply-To: <47CE607B.1000708@gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit reopen 38 From jasonr@gnu.org Wed Mar 5 01:51:03 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.1 required=4.0 tests=AWL,SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 5 Mar 2008 09:51:04 +0000 Received: from mk-outboundfilter-4.mail.uk.tiscali.com (mk-outboundfilter-4.mail.uk.tiscali.com [212.74.114.32]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m259ovMw015369 for ; Wed, 5 Mar 2008 01:50:59 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAB77zUdTQxds/2dsb2JhbAAIq1c X-IronPort-AV: E=McAfee;i="5200,2160,5244"; a="19601444" X-IP-Direction: OUT Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Mar 2008 09:50:39 +0000 Message-ID: <47CE6CEB.9060701@gnu.org> Date: Wed, 05 Mar 2008 09:50:35 +0000 From: Jason Rumney User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: bug #38 not fixed Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit found 38 22.1.92 From jasonr@gnu.org Wed Mar 5 02:12:12 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.1 required=4.0 tests=AWL,MURPHY_DRUGS_REL8, SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 38) by emacsbugs.donarmstrong.com; 5 Mar 2008 10:12:12 +0000 Received: from mk-outboundfilter-4.mail.uk.tiscali.com (mk-outboundfilter-4.mail.uk.tiscali.com [212.74.114.32]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m25AC5CK018604 for <38@emacsbugs.donarmstrong.com>; Wed, 5 Mar 2008 02:12:07 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAAYBzkdTQxds/2dsb2JhbAAIq2w X-IronPort-AV: E=McAfee;i="5200,2160,5244"; a="19622080" X-IP-Direction: OUT Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 05 Mar 2008 10:11:47 +0000 Message-ID: <47CE71DE.7070002@gnu.org> Date: Wed, 05 Mar 2008 10:11:42 +0000 From: Jason Rumney User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: YAMAMOTO Mitsuharu CC: =?ISO-8859-1?Q?G=F6ran_Uddeborg?= , bug-gnu-emacs@gnu.org, 38@debbugs.gnu.org Subject: Re: No coding system used for environment variables References: <200802212140.m1LLeebW008878@freddi.uddeborg.se> <47CDEBFD.1060603@gnu.org> <47CE607B.1000708@gnu.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit YAMAMOTO Mitsuharu wrote: >> Was there a problem with that patch? Why was it not installed at the time? >> > > Because no expert in this area made a response about the patch. > OK, I reverted my change. I'll let Chong and Stefan decide whether to fix the bug with your safer patch now (and a similar patch for Fsubstitute_in_file_name) or release 22.2 with this as a known bug. From schwab@suse.de Wed Mar 5 02:35:16 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=MURPHY_DRUGS_REL8, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 38) by emacsbugs.donarmstrong.com; 5 Mar 2008 10:35:16 +0000 Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m25AZ7io021149 for <38@emacsbugs.donarmstrong.com>; Wed, 5 Mar 2008 02:35:09 -0800 Received: from Relay2.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 26DD6396DB; Wed, 5 Mar 2008 11:34:55 +0100 (CET) From: Andreas Schwab To: Jason Rumney Cc: YAMAMOTO Mitsuharu , bug-gnu-emacs@gnu.org, 38@debbugs.gnu.org, =?iso-8859-1?Q?G?= =?iso-8859-1?Q?=F6ran?= Uddeborg Subject: Re: No coding system used for environment variables References: <200802212140.m1LLeebW008878@freddi.uddeborg.se> <47CDEBFD.1060603@gnu.org> <47CE607B.1000708@gnu.org> X-Yow: On SECOND thought, maybe I'll heat up some BAKED BEANS and watch REGIS PHILBIN.. It's GREAT to be ALIVE!! Date: Wed, 05 Mar 2008 11:34:53 +0100 In-Reply-To: <47CE607B.1000708@gnu.org> (Jason Rumney's message of "Wed\, 05 Mar 2008 08\:57\:31 +0000") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Jason Rumney writes: > YAMAMOTO Mitsuharu wrote: >> Second, as DECODE_FILE causes GC and string compaction in general, >> some variables such as `nm' in Fexpand_file_name may not point to >> valid data after that. > > This is a problem on some systems that still do not support stack marking > for GC protection of such variables. But I think this bug is important > enough to fix those problems rather than revert the patch. Only Lisp_Object variables are protected. Failing to protect non-Lisp_Object pointers can result in crashes. A crash is always the worst possible problem. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From mituharu@math.s.chiba-u.ac.jp Wed Mar 5 03:00:39 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.0 required=4.0 tests=MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 38) by emacsbugs.donarmstrong.com; 5 Mar 2008 11:00:40 +0000 Received: from mathmail.math.s.chiba-u.ac.jp (mathmail.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m25B0aiu024815 for <38@emacsbugs.donarmstrong.com>; Wed, 5 Mar 2008 03:00:37 -0800 Received: from localhost (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 86E5F2C40; Wed, 5 Mar 2008 20:00:22 +0900 (JST) Date: Wed, 05 Mar 2008 20:00:15 +0900 (JST) Message-Id: <20080305.200015.10931251.mituharu@math.s.chiba-u.ac.jp> To: jasonr@gnu.org Cc: goeran@uddeborg.se, bug-gnu-emacs@gnu.org, 38@debbugs.gnu.org Subject: Re: No coding system used for environment variables From: YAMAMOTO Mitsuharu In-Reply-To: <47CE71DE.7070002@gnu.org> References: <47CE607B.1000708@gnu.org> <47CE71DE.7070002@gnu.org> X-Mailer: Mew version 3.3 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit >>>>> On Wed, 05 Mar 2008 10:11:42 +0000, Jason Rumney said: >>> Was there a problem with that patch? Why was it not installed at >>> the time? >> >> Because no expert in this area made a response about the patch. > OK, I reverted my change. Thanks. > I'll let Chong and Stefan decide whether to fix the bug with your > safer patch now (and a similar patch for Fsubstitute_in_file_name) > or release 22.2 with this as a known bug. I understand the bug is annoying on certain environments, but I would like to defer any kinds of fixes for this bug to later versions, as the fixes involve nontrivial issues and may affect in unexpected ways. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From monnier@iro.umontreal.ca Wed Mar 5 08:26:25 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-1.0 required=4.0 tests=AWL,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 38-done) by emacsbugs.donarmstrong.com; 5 Mar 2008 16:26:25 +0000 Received: from ironport2-out.pppoe.ca (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m25GQHL6004728 for <38-done@emacsbugs.donarmstrong.com>; Wed, 5 Mar 2008 08:26:19 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAGdYzkfO+LKX/2dsb2JhbACrcIEC X-IronPort-AV: E=Sophos;i="4.25,451,1199682000"; d="scan'208";a="15618902" Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 05 Mar 2008 11:26:00 -0500 Received: from pastel.home ([206.248.178.151]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id LTF04500; Wed, 05 Mar 2008 11:26:00 -0500 Received: by pastel.home (Postfix, from userid 20848) id 069BF8359; Wed, 5 Mar 2008 11:26:00 -0500 (EST) From: Stefan Monnier To: YAMAMOTO Mitsuharu Cc: Jason Rumney , bug-gnu-emacs@gnu.org, =?iso-8859-1?Q?G=1FFFFFFFran?= Uddeborg , 38-done@debbugs.gnu.org Subject: Re: No coding system used for environment variables Message-ID: References: <200802212140.m1LLeebW008878@freddi.uddeborg.se> <47CDEBFD.1060603@gnu.org> Date: Wed, 05 Mar 2008 11:25:59 -0500 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Wed, 05 Mar 2008 11:22:03 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > But I'd strongly suggest to revert this changes at this timing of > pretest for upcoming Emacs 22.2. First, some coding systems are not > ready until some .elc files get loaded (a chicken-and-egg problem). > Second, as DECODE_FILE causes GC and string compaction in general, > some variables such as `nm' in Fexpand_file_name may not point to > valid data after that. You may also want to see a related patch in > http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-05/msg00115.html How 'bout installing this change on the trunk? Stefan From mituharu@math.s.chiba-u.ac.jp Fri Mar 7 04:13:02 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.0 required=4.0 tests=MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 38-done) by emacsbugs.donarmstrong.com; 7 Mar 2008 12:13:03 +0000 Received: from mathmail.math.s.chiba-u.ac.jp (mathmail.math.s.chiba-u.ac.jp [133.82.132.2]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m27CCouo004461 for <38-done@emacsbugs.donarmstrong.com>; Fri, 7 Mar 2008 04:12:52 -0800 Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id E81E82C4F; Fri, 7 Mar 2008 21:12:35 +0900 (JST) Date: Fri, 07 Mar 2008 21:12:35 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Stefan Monnier Cc: Jason Rumney , bug-gnu-emacs@gnu.org, =?ISO-8859-1?Q?G?= =?ISO-8859-1?Q?=F6ran?= Uddeborg , 38-done@debbugs.gnu.org Subject: Re: No coding system used for environment variables In-Reply-To: References: <200802212140.m1LLeebW008878@freddi.uddeborg.se> <47CDEBFD.1060603@gnu.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII >>>>> On Wed, 05 Mar 2008 11:25:59 -0500, Stefan Monnier said: >> But I'd strongly suggest to revert this changes at this timing of >> pretest for upcoming Emacs 22.2. First, some coding systems are >> not ready until some .elc files get loaded (a chicken-and-egg >> problem). Second, as DECODE_FILE causes GC and string compaction >> in general, some variables such as `nm' in Fexpand_file_name may >> not point to valid data after that. You may also want to see a >> related patch in >> http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-05/msg00115.html > How 'bout installing this change on the trunk? While I was looking at the code of Fsubstitute_in_file_name to make the patch for the trunk, I noticed that it contains a danger of destination buffer shortage in both the EMACS_22_BASE branch and the trunk. *** src/fileio.c.~1.580.2.10.~ Thu Mar 6 09:44:27 2008 --- src/fileio.c Fri Mar 7 20:55:26 2008 *************** *** 2227,2233 **** o = (unsigned char *) egetenv (target); if (o) { ! total += strlen (o); substituted = 1; } else if (*p == '}') --- 2227,2238 ---- o = (unsigned char *) egetenv (target); if (o) { ! if (STRING_MULTIBYTE (filename)) ! /* A unibyte character may occupy 2 bytes when converted ! to multibyte. */ ! total += strlen (o) * 2; ! else ! total += strlen (o); substituted = 1; } else if (*p == '}') As I can't install it too soon, please install it to EMACS_22_BASE if the next pretest is out shortly (and if the patch looks good, of course.) YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From monnier@iro.umontreal.ca Fri Mar 7 15:05:16 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.5 required=4.0 tests=AWL,ONEWORD autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 7 Mar 2008 23:05:16 +0000 Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m27N5Ap0027758 for ; Fri, 7 Mar 2008 15:05:12 -0800 Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 633E02CF6BD; Fri, 7 Mar 2008 18:04:55 -0500 (EST) Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 1326A3FE0; Fri, 7 Mar 2008 18:04:45 -0500 (EST) Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 0BB636C808; Fri, 7 Mar 2008 18:04:45 -0500 (EST) From: Stefan Monnier To: control@debbugs.gnu.org Subject: Re: testing Message-ID: References: Date: Fri, 07 Mar 2008 18:04:45 -0500 In-Reply-To: (Stefan Monnier's message of "Tue, 26 Feb 2008 14:17:18 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca reopen 38 thanks From jasonr@gnu.org Fri Apr 11 13:52:04 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.0 required=4.0 tests=AWL,SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 11 Apr 2008 20:52:05 +0000 Received: from mk-outboundfilter-5-a-2.mail.uk.tiscali.com (mk-outboundfilter-5-a-2.mail.uk.tiscali.com [212.74.114.4]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m3BKq0ro014144 for ; Fri, 11 Apr 2008 13:52:02 -0700 X-Trace: 4501991/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjoFAOxr/0dTQxds/2dsb2JhbACBXaoB X-IP-Direction: IN Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 11 Apr 2008 21:51:54 +0100 Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 2D8831C8 for ; Fri, 11 Apr 2008 21:51:58 +0100 (BST) Message-ID: <47FFCF59.6030501@gnu.org> Date: Fri, 11 Apr 2008 21:51:37 +0100 From: Jason Rumney User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: merge bugs X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit merge 93 38 From monnier@iro.umontreal.ca Fri May 23 15:03:35 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.0 required=4.0 tests=AWL,BAYES_00,ONEWORD, VALID_BTS_CONTROL autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 23 May 2008 22:03:35 +0000 Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4NM3VYM009799 for ; Fri, 23 May 2008 15:03:33 -0700 Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 611B42CFA5C; Fri, 23 May 2008 18:03:31 -0400 (EDT) Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 59F943FE0; Fri, 23 May 2008 18:03:22 -0400 (EDT) Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 1AA9E41BEC; Fri, 23 May 2008 18:03:22 -0400 (EDT) From: Stefan Monnier To: control@debbugs.gnu.org Subject: adg Message-ID: Date: Fri, 23 May 2008 18:03:17 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca reassign 310 aquamacs close 23 close 38 close 49 close 54 close 64 close 65 close 68 close 73 reassign 79 emacs,w32 close 87 close 90 reassign 92 gnus close 93 close 129 close 133 close 143 thanks From jasonr@gnu.org Tue Jun 3 02:34:43 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 3 Jun 2008 09:34:43 +0000 Received: from mk-outboundfilter-5-a-2.mail.uk.tiscali.com (mk-outboundfilter-5-a-2.mail.uk.tiscali.com [212.74.114.4]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m539YdvE026570 for ; Tue, 3 Jun 2008 02:34:40 -0700 X-Trace: 37764570/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEACytREhTQxds/2dsb2JhbACBVa1n X-IronPort-AV: E=Sophos;i="4.27,582,1204502400"; d="scan'208";a="37764570" X-IP-Direction: IN Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 03 Jun 2008 10:34:36 +0100 Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 8CDCA2EC for ; Tue, 3 Jun 2008 10:34:35 +0100 (BST) Message-ID: <48451026.4010307@gnu.org> Date: Tue, 03 Jun 2008 10:34:30 +0100 From: Jason Rumney User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: Reopen not fixed bug X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit reopen 93 From jasonr@gnu.org Tue Jun 3 02:41:39 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 3 Jun 2008 09:41:39 +0000 Received: from mk-outboundfilter-4.mail.uk.tiscali.com (mk-outboundfilter-4.mail.uk.tiscali.com [212.74.114.32]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m539fWOe028930 for ; Tue, 3 Jun 2008 02:41:33 -0700 X-Trace: 90753441/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEABKuREhTQxds/2dsb2JhbACBVa1r X-IronPort-AV: E=Sophos;i="4.27,582,1204502400"; d="scan'208";a="90753441" X-IP-Direction: IN Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 03 Jun 2008 10:41:31 +0100 Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id EED952EC for ; Tue, 3 Jun 2008 10:41:30 +0100 (BST) Message-ID: <484511C5.70602@gnu.org> Date: Tue, 03 Jun 2008 10:41:25 +0100 From: Jason Rumney User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: 93 fixed in trunk, but not 22 X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit tag 93 fixed 23.0.60 tag 93 found 22.2 From jasonr@gnu.org Tue Jun 3 02:47:04 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 3 Jun 2008 09:47:05 +0000 Received: from mk-outboundfilter-3.mail.uk.tiscali.com (mk-outboundfilter-3.mail.uk.tiscali.com [212.74.114.23]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m539l1Kk030112 for ; Tue, 3 Jun 2008 02:47:02 -0700 X-Trace: 124438926/mk-outboundfilter-1.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAAWwREhTQxds/2dsb2JhbACBVa1x X-IronPort-AV: E=Sophos;i="4.27,582,1204502400"; d="scan'208";a="124438926" X-IP-Direction: IN Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 03 Jun 2008 10:47:00 +0100 Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id D97C82EC for ; Tue, 3 Jun 2008 10:46:59 +0100 (BST) Message-ID: <4845130E.5080007@gnu.org> Date: Tue, 03 Jun 2008 10:46:54 +0100 From: Jason Rumney User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: Info about which versions contain the environment coding bugs X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit found 93 22.2 fixed 93 23.0.60 found 38 23.0.60 found 38 22.2 From jasonr@gnu.org Tue Jun 3 03:01:38 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 3 Jun 2008 10:01:38 +0000 Received: from mk-outboundfilter-5-a-2.mail.uk.tiscali.com (mk-outboundfilter-5-a-2.mail.uk.tiscali.com [212.74.114.4]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m53A1Zco001221 for ; Tue, 3 Jun 2008 03:01:36 -0700 X-Trace: 37783974/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAP6yREhTQxds/2dsb2JhbACBVa1u X-IronPort-AV: E=Sophos;i="4.27,582,1204502400"; d="scan'208";a="37783974" X-IP-Direction: IN Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 03 Jun 2008 11:01:34 +0100 Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id EA5492EC for ; Tue, 3 Jun 2008 11:01:33 +0100 (BST) Message-ID: <48451678.7010006@gnu.org> Date: Tue, 03 Jun 2008 11:01:28 +0100 From: Jason Rumney User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: split bugs, reset found/fixed info X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit unmerge 93 notfixed 38 found 93 22.2 fixed 93 23.0.60 From jasonr@gnu.org Tue Jun 3 03:15:46 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.0 required=4.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 3 Jun 2008 10:15:47 +0000 Received: from mk-outboundfilter-5-a-2.mail.uk.tiscali.com (mk-outboundfilter-5-a-2.mail.uk.tiscali.com [212.74.114.4]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m53AFh21005521 for ; Tue, 3 Jun 2008 03:15:44 -0700 X-Trace: 37794399/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAIK2REhTQxds/2dsb2JhbACBVa1u X-IronPort-AV: E=Sophos;i="4.27,582,1204502400"; d="scan'208";a="37794399" X-IP-Direction: IN Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 03 Jun 2008 11:15:42 +0100 Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 5D8292EC for ; Tue, 3 Jun 2008 11:15:42 +0100 (BST) Message-ID: <484519C8.4080604@gnu.org> Date: Tue, 03 Jun 2008 11:15:36 +0100 From: Jason Rumney User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: remove erroneous tags (should have been top level commands) X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit tags 93 -fixed tags 38 -fixed From jasonr@gnu.org Tue Jul 15 03:00:47 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 15 Jul 2008 10:00:47 +0000 Received: from mk-outboundfilter-4.mail.uk.tiscali.com (mk-outboundfilter-4.mail.uk.tiscali.com [212.74.114.32]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6FA0hsS024955 for ; Tue, 15 Jul 2008 03:00:45 -0700 X-Trace: 111573200/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$F2S-ACCEPTED/f2s-freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkoFAHcSfEhTQxds/2dsb2JhbACBWqxk X-IronPort-AV: E=Sophos;i="4.30,366,1212361200"; d="scan'208";a="111573200" X-IP-Direction: IN Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 15 Jul 2008 11:00:37 +0100 Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 5AABEA28 for ; Tue, 15 Jul 2008 11:00:37 +0100 (BST) Message-ID: <487C753D.2060709@gnu.org> Date: Tue, 15 Jul 2008 11:00:29 +0100 From: Jason Rumney User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: Clean up old pretests X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit notfound 38 22.1.92 notfound 93 22.1.92 From cyd@stupidchicken.com Wed Jul 23 17:00:41 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.7 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 38) by emacsbugs.donarmstrong.com; 24 Jul 2008 00:00:41 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6O00WZG025132 for <38@emacsbugs.donarmstrong.com>; Wed, 23 Jul 2008 17:00:33 -0700 Received: by cyd (Postfix, from userid 1000) id 6185F57E32C; Wed, 23 Jul 2008 20:01:56 -0400 (EDT) From: Chong Yidong To: YAMAMOTO Mitsuharu , Jason Rumney Cc: 38@debbugs.gnu.org, emacs-devel@gnu.org Subject: Re: No coding system used for environment variables Date: Wed, 23 Jul 2008 20:01:54 -0400 Message-ID: <87y73s1765.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > It seems there is no coding system applied to values of environment > variables. What's the current situation with this bug? Jason's patch was reverted, but nothing else seems to have been done after that. 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 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. From jasonr@gnu.org Wed Jul 23 17:10:37 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.0 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8,SPF_HELO_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 38) by emacsbugs.donarmstrong.com; 24 Jul 2008 00:10:37 +0000 Received: from mk-outboundfilter-5.mail.uk.tiscali.com (mk-outboundfilter-5.mail.uk.tiscali.com [212.74.114.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6O0AXgB028553 for <38@emacsbugs.donarmstrong.com>; Wed, 23 Jul 2008 17:10:34 -0700 X-Trace: 61217636/mk-outboundfilter-5.mail.uk.tiscali.com/F2S/$F2S-ACCEPTED/f2s-freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq8EADhlh0hTQxds/2dsb2JhbACBWrFU X-IronPort-AV: E=Sophos;i="4.31,241,1215385200"; d="scan'208";a="61217636" X-IP-Direction: IN Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 24 Jul 2008 01:10:27 +0100 Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id D5CD769; Thu, 24 Jul 2008 01:10:40 +0100 (BST) Message-ID: <4887C867.3060602@gnu.org> Date: Thu, 24 Jul 2008 01:10:15 +0100 From: Jason Rumney User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Chong Yidong CC: YAMAMOTO Mitsuharu , 38@debbugs.gnu.org, emacs-devel@gnu.org Subject: Re: No coding system used for environment variables References: <87y73s1765.fsf@stupidchicken.com> In-Reply-To: <87y73s1765.fsf@stupidchicken.com> X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Chong Yidong wrote: >> It seems there is no coding system applied to values of environment >> variables. > > What's the current situation with this bug? Jason's patch was reverted, > but nothing else seems to have been done after that. > > 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 > 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. From cyd@stupidchicken.com Wed Jul 23 17:29:01 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-2.7 required=4.0 tests=AWL,BAYES_00, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 38) by emacsbugs.donarmstrong.com; 24 Jul 2008 00:29:01 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6O0SvMX032154 for <38@emacsbugs.donarmstrong.com>; Wed, 23 Jul 2008 17:28:59 -0700 Received: by cyd (Postfix, from userid 1000) id 06A5857E32C; Wed, 23 Jul 2008 20:30:21 -0400 (EDT) From: Chong Yidong To: Jason Rumney Cc: YAMAMOTO Mitsuharu , 38@debbugs.gnu.org, emacs-devel@gnu.org Subject: Re: No coding system used for environment variables References: <87y73s1765.fsf@stupidchicken.com> <4887C867.3060602@gnu.org> Date: Wed, 23 Jul 2008 20:30:20 -0400 In-Reply-To: <4887C867.3060602@gnu.org> (Jason Rumney's message of "Thu, 24 Jul 2008 01:10:15 +0100") Message-ID: <87bq0o6s4j.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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. From jasonrumney@gmail.com Tue Mar 24 07:23:44 2009 Received: (at 38-done) by emacsbugs.donarmstrong.com; 24 Mar 2009 14:23:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.186]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n2OENfq9001379 for <38-done@emacsbugs.donarmstrong.com>; Tue, 24 Mar 2009 07:23:42 -0700 Received: by ti-out-0910.google.com with SMTP id u3so2391697tia.1 for <38-done@emacsbugs.donarmstrong.com>; Tue, 24 Mar 2009 07:23:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ocrGxj88bYVsk+8w3EfpM6rwkDUYEgYDcVdGnsp5W4I=; b=ScpERccsmqJ9WzsGMuRaNA3/lYPTY0I21mcQHaorAp41RDFK16D/ECDFBkMhLjnjbH 3CsaitA2naq/+K/SHL+BoeMOX+IvqthcI963PUCA+dzxy4oaQxhcMq/qUFn5Q9EK5g/+ dvQjW9dvArQHmpWKfLQjqFJQP4bcVaSQ48kTQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=t0y+LOVg64Hy/rIXCcx3TG8ddsMWp+rU0kN26ZTv+lxv9M52QD9fhmPfaK60nJev1i WiI1BJb55/qYEAgt0fgtBy9mUIhgNvhT1HVBlikESrywf1AfY3NOQHBfBvlsY2TeR+f+ Z3phDFtC1n/DPVODVXepdPMQ4JO58WDe6K1LU= Received: by 10.110.40.8 with SMTP id n8mr12926376tin.28.1237904619911; Tue, 24 Mar 2009 07:23:39 -0700 (PDT) Received: from ?192.168.249.26? ([118.100.163.214]) by mx.google.com with ESMTPS id d1sm27662tid.34.2009.03.24.07.23.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 24 Mar 2009 07:23:39 -0700 (PDT) Sender: Jason Rumney Message-ID: <49C8ECD0.2090706@gnu.org> Date: Tue, 24 Mar 2009 22:23:12 +0800 From: Jason Rumney User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Chong Yidong CC: YAMAMOTO Mitsuharu , 38-done@debbugs.gnu.org Subject: bug#38: Re: No coding system used for environment variables References: <87y73s1765.fsf@stupidchicken.com> <4887C867.3060602@gnu.org> <87bq0o6s4j.fsf@stupidchicken.com> In-Reply-To: <87bq0o6s4j.fsf@stupidchicken.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Chong Yidong wrote: > 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've finally looked at this, and the case for Fsubstitute_file_name looks much simpler than Fexpand_file was. Only one Lisp_String was internally referenced, and that was already copied on DOS_NT, so I moved the copy outside of the #ifdef so that all platforms now work with a copy of the original string. From unknown Thu Aug 14 18:32:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 27 Sep 2009 14:24:15 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator