From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 08 16:59:43 2010 Received: (at submit) by debbugs.gnu.org; 8 Sep 2010 20:59:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtRk7-0005wJ-7x for submit@debbugs.gnu.org; Wed, 08 Sep 2010 16:59:43 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtRk5-0005wE-Ul for submit@debbugs.gnu.org; Wed, 08 Sep 2010 16:59:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OtRm0-0002d4-JT for submit@debbugs.gnu.org; Wed, 08 Sep 2010 17:01:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:52770) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtRlz-0002c7-Cl for submit@debbugs.gnu.org; Wed, 08 Sep 2010 17:01:40 -0400 Received: from [140.186.70.92] (port=50864 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtRln-0006v2-TN for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2010 17:01:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OtRlO-0002Yd-OU for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2010 17:01:03 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:43092) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtRlO-0002YP-IZ for bug-gnu-emacs@gnu.org; Wed, 08 Sep 2010 17:01:02 -0400 Received: by wyb36 with SMTP id 36so582681wyb.0 for ; Wed, 08 Sep 2010 14:01:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.138.147 with SMTP id a19mr92418wbu.93.1283979661000; Wed, 08 Sep 2010 14:01:01 -0700 (PDT) Received: by 10.216.65.140 with HTTP; Wed, 8 Sep 2010 14:01:00 -0700 (PDT) Date: Wed, 8 Sep 2010 17:01:00 -0400 X-Google-Sender-Auth: w-YBsYi71RqAw8ChUSBkd61e6to Message-ID: Subject: should `byte-compile-from-buffer' evaluate `binary-overwrite-mode' explicitly? From: MON KEY To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.1 (-----) 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: -5.1 (-----) emacs-lisp/bytecomp.el `byte-compile-from-buffer' Has this form: (setq overwrite-mode 'overwrite-mode-binary) Should this evalatate `binary-overwrite-mode' from simple.el instead? Or, is there a boostrapping issue which prevents this? -- /s_P\ From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 09 13:00:46 2010 Received: (at 7001) by debbugs.gnu.org; 9 Sep 2010 17:00: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 1OtkUQ-0007SM-OB for submit@debbugs.gnu.org; Thu, 09 Sep 2010 13:00:46 -0400 Received: from impaqm1.telefonica.net ([213.4.138.1]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtkUO-0007SH-H6 for 7001@debbugs.gnu.org; Thu, 09 Sep 2010 13:00:45 -0400 Received: from IMPmailhost3.adm.correo ([10.20.102.124]) by IMPaqm1.telefonica.net with bizsmtp id 4c1H1f01A2h2L9m01h2lTv; Thu, 09 Sep 2010 19:02:45 +0200 Received: from ceviche.home ([83.61.36.43]) by IMPmailhost3.adm.correo with BIZ IMP id 4h2k1f00H0vquEj1jh2li3; Thu, 09 Sep 2010 19:02:45 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="monnier$movistar.es" |auth_email="monnier@movistar.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" Received: by ceviche.home (Postfix, from userid 20848) id C1497660D2; Thu, 9 Sep 2010 19:02:44 +0200 (CEST) From: Stefan Monnier To: MON KEY Subject: Re: bug#7001: should `byte-compile-from-buffer' evaluate `binary-overwrite-mode' explicitly? Message-ID: References: Date: Thu, 09 Sep 2010 19:02:44 +0200 In-Reply-To: (MON KEY's message of "Wed, 8 Sep 2010 17:01:00 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 7001 Cc: 7001@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.0 (--) > Has this form: > (setq overwrite-mode 'overwrite-mode-binary) > Should this evalatate `binary-overwrite-mode' from simple.el instead? Probably not, since that would run binary-overwrite-mode-hook. Most likely this line can be removed from bytecomp.el. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 15 23:58:03 2010 Received: (at control) by debbugs.gnu.org; 16 Sep 2010 03:58:03 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ow5bm-0008Gk-Lf for submit@debbugs.gnu.org; Wed, 15 Sep 2010 23:58:03 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ow5bl-0008GO-3Z for control@debbugs.gnu.org; Wed, 15 Sep 2010 23:58:01 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ow5eG-00053Z-LT; Thu, 16 Sep 2010 00:00:36 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19601.38500.516971.274103@fencepost.gnu.org> Date: Thu, 16 Sep 2010 00:00:36 -0400 From: Glenn Morris To: control Subject: control X-Spam-Score: -5.2 (-----) 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: -5.2 (-----) close 7001 close 7005 close 7013 close 7019 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 02 19:08:14 2010 Received: (at 7001) by debbugs.gnu.org; 2 Oct 2010 23:08:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2BBd-0006RZ-Pm for submit@debbugs.gnu.org; Sat, 02 Oct 2010 19:08:13 -0400 Received: from pantheon-po16.its.yale.edu ([130.132.50.72]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2BBc-0006RU-5R for 7001@debbugs.gnu.org; Sat, 02 Oct 2010 19:08:12 -0400 Received: from furry (173-9-75-145-NewEngland.hfc.comcastbusiness.net [173.9.75.145]) (authenticated bits=0) by pantheon-po16.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o92NBDko011040 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 2 Oct 2010 19:11:14 -0400 Received: by furry (Postfix, from userid 1000) id 4FFA9C018; Sat, 2 Oct 2010 19:11:13 -0400 (EDT) From: Chong Yidong To: Stefan Monnier Subject: Re: bug#7001: should `byte-compile-from-buffer' evaluate `binary-overwrite-mode' explicitly? References: Date: Sat, 02 Oct 2010 19:11:13 -0400 In-Reply-To: (Stefan Monnier's message of "Thu, 09 Sep 2010 19:02:44 +0200") Message-ID: <87bp7cjilq.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-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 7001 Cc: 7001@debbugs.gnu.org, MON KEY 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 (--) Stefan Monnier writes: >> Has this form: >> (setq overwrite-mode 'overwrite-mode-binary) >> Should this evalatate `binary-overwrite-mode' from simple.el instead? > > Probably not, since that would run binary-overwrite-mode-hook. I've added a comment about this. > Most likely this line can be removed from bytecomp.el. The comments in bytecomp.el say this is needed for DOS. No harm leaving it in, I suppose. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 03 00:01:42 2010 Received: (at 7001) by debbugs.gnu.org; 3 Oct 2010 04:01:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2Fle-0002XZ-Hv for submit@debbugs.gnu.org; Sun, 03 Oct 2010 00:01:42 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2Flb-0002XU-W2 for 7001@debbugs.gnu.org; Sun, 03 Oct 2010 00:01:41 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L9P00H004JVHW00@a-mtaout22.012.net.il> for 7001@debbugs.gnu.org; Sun, 03 Oct 2010 06:04:41 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.77.74]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L9P00H6N4NRGQ20@a-mtaout22.012.net.il>; Sun, 03 Oct 2010 06:04:41 +0200 (IST) Date: Sun, 03 Oct 2010 06:04:46 +0200 From: Eli Zaretskii Subject: Re: bug#7001: should `byte-compile-from-buffer' evaluate `binary-overwrite-mode' explicitly? In-reply-to: <87bp7cjilq.fsf@stupidchicken.com> X-012-Sender: halo1@inter.net.il To: Chong Yidong Message-id: <83iq1jq5up.fsf@gnu.org> References: <87bp7cjilq.fsf@stupidchicken.com> X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 7001 Cc: 7001@debbugs.gnu.org, monkey@sandpframing.com, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii 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: -1.9 (-) > From: Chong Yidong > Date: Sat, 02 Oct 2010 19:11:13 -0400 > Cc: 7001@debbugs.gnu.org, MON KEY > > > Most likely this line can be removed from bytecomp.el. > > The comments in bytecomp.el say this is needed for DOS. That comment is obsolete. All file I/O works in binary mode on DOS and Windows since at least 15 years ago. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 03 00:29:15 2010 Received: (at 7001) by debbugs.gnu.org; 3 Oct 2010 04:29:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2GCJ-0002iQ-Hk for submit@debbugs.gnu.org; Sun, 03 Oct 2010 00:29:15 -0400 Received: from pantheon-po43.its.yale.edu ([130.132.50.104]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2GCH-0002iL-F3 for 7001@debbugs.gnu.org; Sun, 03 Oct 2010 00:29:13 -0400 Received: from furry (adsl-99-111-197-225.dsl.wlfrct.sbcglobal.net [99.111.197.225]) (authenticated bits=0) by pantheon-po43.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o934WFvK029125 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 3 Oct 2010 00:32:15 -0400 Received: by furry (Postfix, from userid 1000) id 434E6C018; Sun, 3 Oct 2010 00:32:15 -0400 (EDT) From: Chong Yidong To: Eli Zaretskii Subject: Re: bug#7001: should `byte-compile-from-buffer' evaluate `binary-overwrite-mode' explicitly? References: <87bp7cjilq.fsf@stupidchicken.com> <83iq1jq5up.fsf@gnu.org> Date: Sun, 03 Oct 2010 00:32:15 -0400 In-Reply-To: <83iq1jq5up.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 03 Oct 2010 06:04:46 +0200") Message-ID: <87y6af28xc.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-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7001 Cc: 7001@debbugs.gnu.org, monkey@sandpframing.com, monnier@iro.umontreal.ca 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.6 (--) Eli Zaretskii writes: >> >> > Most likely this line can be removed from bytecomp.el. >> >> The comments in bytecomp.el say this is needed for DOS. > > That comment is obsolete. All file I/O works in binary mode on DOS > and Windows since at least 15 years ago. Wow, that's some history ;-) I've removed the line; thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 03 01:40:25 2010 Received: (at 7001) by debbugs.gnu.org; 3 Oct 2010 05:40:25 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2HJB-0003qQ-88 for submit@debbugs.gnu.org; Sun, 03 Oct 2010 01:40:25 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P2HJA-0003qL-4y for 7001@debbugs.gnu.org; Sun, 03 Oct 2010 01:40:24 -0400 Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P2HM6-00054V-5I; Sun, 03 Oct 2010 01:43:26 -0400 From: Eli Zaretskii To: Chong Yidong In-reply-to: <87y6af28xc.fsf@stupidchicken.com> (message from Chong Yidong on Sun, 03 Oct 2010 00:32:15 -0400) Subject: Re: bug#7001: should `byte-compile-from-buffer' evaluate `binary-overwrite-mode' explicitly? References: <87bp7cjilq.fsf@stupidchicken.com> <83iq1jq5up.fsf@gnu.org> <87y6af28xc.fsf@stupidchicken.com> Message-Id: Date: Sun, 03 Oct 2010 01:43:26 -0400 X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 7001 Cc: 7001@debbugs.gnu.org, monkey@sandpframing.com, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii 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.5 (------) > From: Chong Yidong > Cc: monnier@iro.umontreal.ca, 7001@debbugs.gnu.org, monkey@sandpframing.com > Date: Sun, 03 Oct 2010 00:32:15 -0400 > > Eli Zaretskii writes: > > >> > >> > Most likely this line can be removed from bytecomp.el. > >> > >> The comments in bytecomp.el say this is needed for DOS. > > > > That comment is obsolete. All file I/O works in binary mode on DOS > > and Windows since at least 15 years ago. > > Wow, that's some history ;-) I've removed the line; thanks. Just for the record: I meant to say that _Emacs_ file I/O on DOS/Windows works in binary mode, not that DOS/Windows in general do that. The following part in emacs.c does the trick: #if defined (MSDOS) || defined (WINDOWSNT) /* We do all file input/output as binary files. When we need to translate newlines, we do that manually. */ _fmode = O_BINARY; #endif /* MSDOS || WINDOWSNT */ #ifdef MSDOS if (!isatty (fileno (stdin))) setmode (fileno (stdin), O_BINARY); if (!isatty (fileno (stdout))) { fflush (stdout); setmode (fileno (stdout), O_BINARY); } #endif /* MSDOS */ From unknown Sun Jun 22 20:59:13 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, 31 Oct 2010 11:24:04 +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