From unknown Fri Jun 20 05:28:23 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#8033 <8033@debbugs.gnu.org> To: bug#8033 <8033@debbugs.gnu.org> Subject: Status: 24.0.50; Number type error in byte compiler Reply-To: bug#8033 <8033@debbugs.gnu.org> Date: Fri, 20 Jun 2025 12:28:23 +0000 retitle 8033 24.0.50; Number type error in byte compiler reassign 8033 emacs submitter 8033 Chong Yidong severity 8033 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 14 00:34:13 2011 Received: (at submit) by debbugs.gnu.org; 14 Feb 2011 05:34:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Por4f-00013y-Kh for submit@debbugs.gnu.org; Mon, 14 Feb 2011 00:34:13 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Por4d-00013h-DK for submit@debbugs.gnu.org; Mon, 14 Feb 2011 00:34:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PorDH-0003ym-8j for submit@debbugs.gnu.org; Mon, 14 Feb 2011 00:43:08 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:53048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PorDH-0003yf-5I for submit@debbugs.gnu.org; Mon, 14 Feb 2011 00:43:07 -0500 Received: from [140.186.70.92] (port=55941 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PorDG-0000uh-4k for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 00:43:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PorDE-0003yD-Fq for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 00:43:05 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:51698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PorDE-0003y4-4u for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 00:43:04 -0500 Received: from cyd by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PorDD-00049n-OS for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2011 00:43:03 -0500 From: Chong Yidong To: bug-gnu-emacs@gnu.org Subject: 24.0.50; Number type error in byte compiler Date: Mon, 14 Feb 2011 00:43:03 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) I originally reported this as a Gnus bug, but turns out it's a bug in the byte compiler. To reproduce, create a file with the following contents: (defvar foo 1.0) (defun foo () (interactive) (if (and (equal foo 1.0) (equal foo 1)) (error "Object is `equal' to both a float and an integer"))) Then, in the shell: ~ $ emacs -Q -batch -f batch-byte-compile foo.el ~ $ emacs -Q -batch -l foo.elc -f foo Object is `equal' to both a float and an integer The error does not show up in Emacs 23.x, so it must have been introduced relatively recently on the trunk. In GNU Emacs 24.0.50.6 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2011-02-14 on furball Windowing system distributor `The X.Org Foundation', version 11.0.10706000 configured using `configure 'CC=gcc' 'CFLAGS=-g'' 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: en_US.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 14 01:49:06 2011 Received: (at 8033) by debbugs.gnu.org; 14 Feb 2011 06:49:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PosF8-0003du-6k for submit@debbugs.gnu.org; Mon, 14 Feb 2011 01:49:06 -0500 Received: from md5i.com ([75.151.244.229] helo=maru.md5i.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PosF6-0003dM-2y for 8033@debbugs.gnu.org; Mon, 14 Feb 2011 01:49:04 -0500 Received: from md5i by maru.md5i.com with local (Exim 4.72) (envelope-from ) id 1PosNk-0003vI-8I for 8033@debbugs.gnu.org; Mon, 14 Feb 2011 01:58:00 -0500 From: Michael Welsh Duggan To: 8033@debbugs.gnu.org Subject: Not the byte compiler; problem lies deeper Date: Mon, 14 Feb 2011 01:58:00 -0500 Message-ID: <87lj1jf6h3.fsf@maru.md5i.com> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 8033 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.2 (---) Just thought I'd chime in to let you know that the problem is deeper than the bye compiler. My bug report at http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8034 gives an example that triggers this bug without involving byte compiling at all. I've tried tracing through Fread, and it almost seems as if it is the print representation that is changing, not the value itself. -- Michael Welsh Duggan (md5i@md5i.com) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 14 06:13:23 2011 Received: (at 8033) by debbugs.gnu.org; 14 Feb 2011 11:13:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PowMs-0001er-PS for submit@debbugs.gnu.org; Mon, 14 Feb 2011 06:13:23 -0500 Received: from md5i.com ([75.151.244.229] helo=maru.md5i.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PowMr-0001eg-CW for 8033@debbugs.gnu.org; Mon, 14 Feb 2011 06:13:22 -0500 Received: from md5i by maru.md5i.com with local (Exim 4.72) (envelope-from ) id 1PowVW-00013E-20 for 8033@debbugs.gnu.org; Mon, 14 Feb 2011 06:22:18 -0500 From: Michael Welsh Duggan To: 8033@debbugs.gnu.org Subject: Re: bug#8033: Not the byte compiler; problem lies deeper References: <87lj1jf6h3.fsf@maru.md5i.com> Date: Mon, 14 Feb 2011 06:22:17 -0500 In-Reply-To: <87lj1jf6h3.fsf@maru.md5i.com> (Michael Welsh Duggan's message of "Mon, 14 Feb 2011 01:58:00 -0500") Message-ID: <87oc6e97yu.fsf@maru.md5i.com> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.1 (---) X-Debbugs-Envelope-To: 8033 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.1 (---) Using bisection, I have determined that the error is introduced in this pair of commits. revno: 102793.1.4 committer: Paul Eggert branch nick: gnulib-2b timestamp: Sat 2011-01-08 17:20:28 -0800 message: Regenerate. removed: lib/dummy.c added: lib/dtoastr.c lib/ftoastr.c lib/ftoastr.h lib/intprops.h lib/ldtoastr.c m4/c-strtod.m4 modified: aclocal.m4 configure lib/Makefile.in lib/gnulib.mk m4/gnulib-cache.m4 m4/gnulib-comp.m4 src/config.in ------------------------------------------------------------ revno: 102793.1.3 committer: Paul Eggert branch nick: gnulib-2b timestamp: Sat 2011-01-08 17:18:39 -0800 message: Use gnulib's ftoastr module. modified: ChangeLog Makefile.in src/ChangeLog src/print.c -- Michael Welsh Duggan (md5i@md5i.com) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 14 15:16:47 2011 Received: (at 8033) by debbugs.gnu.org; 14 Feb 2011 20:16:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp4qk-0006zn-Qk for submit@debbugs.gnu.org; Mon, 14 Feb 2011 15:16:47 -0500 Received: from md5i.com ([75.151.244.229] helo=maru.md5i.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp4qi-0006zc-RY for 8033@debbugs.gnu.org; Mon, 14 Feb 2011 15:16:45 -0500 Received: from md5i by maru.md5i.com with local (Exim 4.72) (envelope-from ) id 1Pp4zO-0003zN-LY for 8033@debbugs.gnu.org; Mon, 14 Feb 2011 15:25:42 -0500 From: Michael Welsh Duggan To: 8033@debbugs.gnu.org Subject: Re: bug#8033: Not the byte compiler; problem lies deeper References: <87lj1jf6h3.fsf@maru.md5i.com> <87oc6e97yu.fsf@maru.md5i.com> Date: Mon, 14 Feb 2011 15:25:42 -0500 In-Reply-To: <87oc6e97yu.fsf@maru.md5i.com> (Michael Welsh Duggan's message of "Mon, 14 Feb 2011 06:22:17 -0500") Message-ID: <877hd28it5.fsf@maru.md5i.com> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 8033 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) --=-=-= Content-Type: text/plain Here is a patch which fixes this problem. --=-=-= Content-Type: text/x-patch Content-Disposition: inline === modified file 'src/print.c' *** src/print.c 2011-02-14 15:39:19 +0000 --- src/print.c 2011-02-14 20:24:00 +0000 *************** *** 1063,1068 **** --- 1063,1070 ---- /* Generate the fewest number of digits that represent the floating point value without losing information. */ dtoastr (buf, FLOAT_TO_STRING_BUFSIZE, 0, 0, data); + /* Force a decimal point even if integer */ + width = 1; } else /* oink oink */ { --=-=-= Content-Type: text/plain -- Michael Welsh Duggan (md5i@md5i.com) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 14 16:43:40 2011 Received: (at 8033) by debbugs.gnu.org; 14 Feb 2011 21:43:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6Cq-0000pH-1K for submit@debbugs.gnu.org; Mon, 14 Feb 2011 16:43:40 -0500 Received: from vm-emlprdomr-06.its.yale.edu ([130.132.50.147]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6Co-0000p0-A7 for 8033@debbugs.gnu.org; Mon, 14 Feb 2011 16:43:38 -0500 Received: from furball (dhcp128036225012.central.yale.edu [128.36.225.12]) (authenticated bits=0) by vm-emlprdomr-06.its.yale.edu (8.14.4/8.14.4) with ESMTP id p1ELqZfI030616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 14 Feb 2011 16:52:36 -0500 Received: by furball (Postfix, from userid 1000) id BF0391605B1; Mon, 14 Feb 2011 16:52:32 -0500 (EST) From: Chong Yidong To: Michael Welsh Duggan Subject: Re: bug#8033: Not the byte compiler; problem lies deeper References: <87lj1jf6h3.fsf@maru.md5i.com> <87oc6e97yu.fsf@maru.md5i.com> <877hd28it5.fsf@maru.md5i.com> Date: Mon, 14 Feb 2011 16:52:32 -0500 In-Reply-To: <877hd28it5.fsf@maru.md5i.com> (Michael Welsh Duggan's message of "Mon, 14 Feb 2011 15:25:42 -0500") Message-ID: <87tyg69tcv.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.147 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 8033 Cc: 8033@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Michael Welsh Duggan writes: > Here is a patch which fixes this problem. > > *** src/print.c 2011-02-14 15:39:19 +0000 > --- src/print.c 2011-02-14 20:24:00 +0000 > *************** > *** 1063,1068 **** > --- 1063,1070 ---- > /* Generate the fewest number of digits that represent the > floating point value without losing information. */ > dtoastr (buf, FLOAT_TO_STRING_BUFSIZE, 0, 0, data); > + /* Force a decimal point even if integer */ > + width = 1; > } > else /* oink oink */ > { Thanks, but could you explain why printing the float 1.0 as "1" can cause this problem in Gnus? The code in Gnus passes the actual Lisp objects around, so the printer shouldn't be involved. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 14 16:59:32 2011 Received: (at 8033) by debbugs.gnu.org; 14 Feb 2011 21:59:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6SB-0001PS-M4 for submit@debbugs.gnu.org; Mon, 14 Feb 2011 16:59:31 -0500 Received: from md5i.com ([75.151.244.229] helo=maru.md5i.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6SA-0001PC-D0 for 8033@debbugs.gnu.org; Mon, 14 Feb 2011 16:59:31 -0500 Received: from md5i by maru.md5i.com with local (Exim 4.72) (envelope-from ) id 1Pp6ap-0006aD-O5; Mon, 14 Feb 2011 17:08:27 -0500 From: Michael Welsh Duggan To: Chong Yidong Subject: Re: bug#8033: Not the byte compiler; problem lies deeper References: <87lj1jf6h3.fsf@maru.md5i.com> <87oc6e97yu.fsf@maru.md5i.com> <877hd28it5.fsf@maru.md5i.com> <87tyg69tcv.fsf@stupidchicken.com> Date: Mon, 14 Feb 2011 17:08:27 -0500 In-Reply-To: <87tyg69tcv.fsf@stupidchicken.com> (Chong Yidong's message of "Mon, 14 Feb 2011 16:52:32 -0500") Message-ID: <87zkpy6zhg.fsf@maru.md5i.com> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 8033 Cc: 8033@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) Chong Yidong writes: > Michael Welsh Duggan writes: > >> Here is a patch which fixes this problem. >> >> *** src/print.c 2011-02-14 15:39:19 +0000 >> --- src/print.c 2011-02-14 20:24:00 +0000 >> *************** >> *** 1063,1068 **** >> --- 1063,1070 ---- >> /* Generate the fewest number of digits that represent the >> floating point value without losing information. */ >> dtoastr (buf, FLOAT_TO_STRING_BUFSIZE, 0, 0, data); >> + /* Force a decimal point even if integer */ >> + width = 1; >> } >> else /* oink oink */ >> { > > Thanks, but could you explain why printing the float 1.0 as "1" can > cause this problem in Gnus? The code in Gnus passes the actual Lisp > objects around, so the printer shouldn't be involved. Because the byte compiler uses something like `print' in order to create the forms in the elc file, and some "1.0"'s in the `gnus-buffer-configuration' get rendered as "1" in the elc file. Hence, when the .elc file gets loaded instead of the .el file (and why not, it is more recent), you get the bogus integer value instead of the float value. This is also why this issue will not occur for people who have not bootstrapped, since gnus-win.el has not changed. It does not get recompiled, and as a result the elc file left behind by a previous compile still has the "1.0" values in it. -- Michael Welsh Duggan (md5i@md5i.com) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 14 17:02:00 2011 Received: (at 8033) by debbugs.gnu.org; 14 Feb 2011 22:02:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6UZ-0001V8-W7 for submit@debbugs.gnu.org; Mon, 14 Feb 2011 17:02:00 -0500 Received: from md5i.com ([75.151.244.229] helo=maru.md5i.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6UY-0001Ur-Ef for 8033@debbugs.gnu.org; Mon, 14 Feb 2011 17:01:58 -0500 Received: from md5i by maru.md5i.com with local (Exim 4.72) (envelope-from ) id 1Pp6dE-0006dd-J6; Mon, 14 Feb 2011 17:10:56 -0500 From: Michael Welsh Duggan To: Chong Yidong Subject: Re: bug#8033: Not the byte compiler; problem lies deeper References: <87lj1jf6h3.fsf@maru.md5i.com> <87oc6e97yu.fsf@maru.md5i.com> <877hd28it5.fsf@maru.md5i.com> <87tyg69tcv.fsf@stupidchicken.com> Date: Mon, 14 Feb 2011 17:10:56 -0500 In-Reply-To: <87tyg69tcv.fsf@stupidchicken.com> (Chong Yidong's message of "Mon, 14 Feb 2011 16:52:32 -0500") Message-ID: <87vd0m6zdb.fsf@maru.md5i.com> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 8033 Cc: 8033@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) Chong Yidong writes: > Michael Welsh Duggan writes: > >> Here is a patch which fixes this problem. >> >> *** src/print.c 2011-02-14 15:39:19 +0000 >> --- src/print.c 2011-02-14 20:24:00 +0000 >> *************** >> *** 1063,1068 **** >> --- 1063,1070 ---- >> /* Generate the fewest number of digits that represent the >> floating point value without losing information. */ >> dtoastr (buf, FLOAT_TO_STRING_BUFSIZE, 0, 0, data); >> + /* Force a decimal point even if integer */ >> + width = 1; >> } >> else /* oink oink */ >> { Oh, and I should mention that without this patch, width gets used as an uninitialized variable after the if clause, which is why it is pretty random whether we get 1.0 or 1 in the output. -- Michael Welsh Duggan (md5i@md5i.com) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 14 17:16:45 2011 Received: (at 8033) by debbugs.gnu.org; 14 Feb 2011 22:16:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6ir-00021q-8h for submit@debbugs.gnu.org; Mon, 14 Feb 2011 17:16:45 -0500 Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6il-00021U-A6 for 8033@debbugs.gnu.org; Mon, 14 Feb 2011 17:16:43 -0500 Received: from furball (dhcp128036225012.central.yale.edu [128.36.225.12]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id p1EMPZHx017905 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 14 Feb 2011 17:25:37 -0500 Received: by furball (Postfix, from userid 1000) id C0CB01605B1; Mon, 14 Feb 2011 17:25:31 -0500 (EST) From: Chong Yidong To: Michael Welsh Duggan Subject: Re: bug#8033: Not the byte compiler; problem lies deeper References: <87lj1jf6h3.fsf@maru.md5i.com> <87oc6e97yu.fsf@maru.md5i.com> <877hd28it5.fsf@maru.md5i.com> <87tyg69tcv.fsf@stupidchicken.com> <87zkpy6zhg.fsf@maru.md5i.com> Date: Mon, 14 Feb 2011 17:25:31 -0500 In-Reply-To: <87zkpy6zhg.fsf@maru.md5i.com> (Michael Welsh Duggan's message of "Mon, 14 Feb 2011 17:08:27 -0500") Message-ID: <87pqquuuck.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 8033 Cc: 8033@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Michael Welsh Duggan writes: > Because the byte compiler uses something like `print' in order to create > the forms in the elc file, and some "1.0"'s in the > `gnus-buffer-configuration' get rendered as "1" in the elc file. Hence, > when the .elc file gets loaded instead of the .el file (and why not, it > is more recent), you get the bogus integer value instead of the float > value. > > This is also why this issue will not occur for people who have not > bootstrapped, since gnus-win.el has not changed. It does not get > recompiled, and as a result the elc file left behind by a previous > compile still has the "1.0" values in it. Ah yes, of course. I've committed your patch. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 14 17:17:09 2011 Received: (at control) by debbugs.gnu.org; 14 Feb 2011 22:17:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6jF-000239-Gn for submit@debbugs.gnu.org; Mon, 14 Feb 2011 17:17:09 -0500 Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pp6jD-00022M-Vg for control@debbugs.gnu.org; Mon, 14 Feb 2011 17:17:08 -0500 Received: from furball (dhcp128036225012.central.yale.edu [128.36.225.12]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p1EMQ06L032037 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 14 Feb 2011 17:26:00 -0500 Received: by furball (Postfix, from userid 1000) id 232F21605B1; Mon, 14 Feb 2011 17:25:57 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 8033 Date: Mon, 14 Feb 2011 17:25:56 -0500 Message-ID: <8762sml0cr.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) merge 8033 8034 close 8033 thanks From unknown Fri Jun 20 05:28:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 02 Apr 2011 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator