From unknown Wed Jun 18 23:14:14 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#23585 <23585@debbugs.gnu.org> To: bug#23585 <23585@debbugs.gnu.org> Subject: Status: 25.0.93; Win32: spurious ^M pop up at byte offset 65536 Reply-To: bug#23585 <23585@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:14:14 +0000 retitle 23585 25.0.93; Win32: spurious ^M pop up at byte offset 65536 reassign 23585 emacs submitter 23585 Anders Lindgren severity 23585 normal tag 23585 moreinfo wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Fri May 20 06:17:04 2016 Received: (at submit) by debbugs.gnu.org; 20 May 2016 10:17:04 +0000 Received: from localhost ([127.0.0.1]:58609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3hUO-0006Di-BL for submit@debbugs.gnu.org; Fri, 20 May 2016 06:17:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3hUM-0006DB-M0 for submit@debbugs.gnu.org; Fri, 20 May 2016 06:17:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3hUG-0003Pm-JS for submit@debbugs.gnu.org; Fri, 20 May 2016 06:16:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3hUG-0003Pf-GH for submit@debbugs.gnu.org; Fri, 20 May 2016 06:16:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3hUE-0002v2-C2 for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 06:16:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3hUC-0003PM-9G for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 06:16:53 -0400 Received: from mail-vk0-x229.google.com ([2607:f8b0:400c:c05::229]:33423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3hUC-0003PI-4J for bug-gnu-emacs@gnu.org; Fri, 20 May 2016 06:16:52 -0400 Received: by mail-vk0-x229.google.com with SMTP id z184so137691973vkg.0 for ; Fri, 20 May 2016 03:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=m7ZvG+77G59hkRxu8pwSNPiJdzOGBDjzsC0D73B2Rlc=; b=xAKUlJpFH7c8DRSL8QSqR9rHI+J9vvDDbBPVofS7LOW0WwKCS0LZrkp103khuD2rn+ AaDrakSfcZ+Cv5BvfYFEZd7gfcI3Kz+JMqvHq3YUEvHvnPQjnygY6QxrRlApG+Jn+KET o6veZQ0E4gL0KqAAiOtUtCZA/g1C+1k/4gdx4cr8k0vHp67so03AdY1cYutAAIHZRteS F8Nv89PGTGnyfcyvlZWuadybiCfycLF7i6T29quVoDA4NJWIxk3NSzOYNvh3MIjxZqsN 9USKpDH35+a0M7LJMRVcsmlJeevha1KhXiaKcQNdy3oeeck8qgN77kl2HvoPYSfp0MYp V5Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=m7ZvG+77G59hkRxu8pwSNPiJdzOGBDjzsC0D73B2Rlc=; b=Y1fm1k9cn9cWg51EIYQzHp9P52TyWG5gkCsQ0mCCrAOFEO1icvcZ1YBDHxjKXsOIui VfOCNm+VAkczLuCRd9AMhtLxB2bA8hMsAz2nv0RmUbG/atPOUBovfIAqmCuouX/BdNGt edIFTX6r744fXe56q/Jrs+iTCaBWFdNbiocpmhk4YYNdS0T2u0E/5YE3RTAfywKSgANM 3eVellkl2ar3I8xBaKJZNfm3qANb0x9DHerP4B8YjT6eDf7tgK5+Kik8LcGUld9V8V8s e2oUItcy1wPbunPqKwm162mI+KKwDab90GM+jvK3oe05BVZLAi7Ua7PHcLyb8At0AyO2 FNgw== X-Gm-Message-State: AOPr4FXBfWyTE26NzXxyZyYLiAOtTzH2eyT/05e5JLdwsJ0PNcFhRYvaLQD4hnv/drg/Jw5JRrnyS0/FBYILGQ== MIME-Version: 1.0 X-Received: by 10.31.181.83 with SMTP id e80mr1029239vkf.26.1463739411154; Fri, 20 May 2016 03:16:51 -0700 (PDT) Received: by 10.31.216.195 with HTTP; Fri, 20 May 2016 03:16:51 -0700 (PDT) Date: Fri, 20 May 2016 12:16:51 +0200 Message-ID: Subject: 25.0.93; Win32: spurious ^M pop up at byte offset 65536 From: Anders Lindgren To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001a1143a68ca54ebd0533436309 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a1143a68ca54ebd0533436309 Content-Type: text/plain; charset=UTF-8 Hi! I've noticed that sometimes an extra carriage return character pops up in my source files, when running Emacs under Windows. They are always located at the end of a line. I use auto-revert mode and I've only seen this in files already open in Emacs. Today I noticed that one such carriage return character was placed at buffer position 62879 in line 2658. This corresponds to byte position 65536 (or hex 0x10000) in the file. Clearly, this can't be a coincidence. By the way, I'm not sure Emacs is the culprit here -- I use subversion as a version control system and Visual Studio for debugging and sometimes minor edits. -- Anders --001a1143a68ca54ebd0533436309 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi!

I've noticed that sometimes an extra c= arriage return character pops up in my source files, when running Emacs und= er Windows. They are always located at the end of a line. I use auto-revert= mode and I've only seen this in files already open in Emacs.

Today I noticed that one such carriage return character was= placed at buffer position 62879 in line 2658. This corresponds to byte pos= ition 65536 (or hex 0x10000) in the file. Clearly, this can't be a coin= cidence.

By the way, I'm not sure Ema= cs is the culprit here -- I use subversion as a version control system and = Visual Studio for debugging and sometimes minor edits.

=
=C2=A0 =C2=A0 -- Anders

--001a1143a68ca54ebd0533436309-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 20 09:30:09 2016 Received: (at 23585) by debbugs.gnu.org; 20 May 2016 13:30:09 +0000 Received: from localhost ([127.0.0.1]:58693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3kVF-0005Sx-5J for submit@debbugs.gnu.org; Fri, 20 May 2016 09:30:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3kVD-0005Rh-LX for 23585@debbugs.gnu.org; Fri, 20 May 2016 09:30:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3kV5-000211-BG for 23585@debbugs.gnu.org; Fri, 20 May 2016 09:30:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3kV5-0001zY-7m; Fri, 20 May 2016 09:29:59 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3194 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b3kV1-0000il-Be; Fri, 20 May 2016 09:29:57 -0400 Date: Fri, 20 May 2016 16:29:54 +0300 Message-Id: <83h9ds97sd.fsf@gnu.org> From: Eli Zaretskii To: Anders Lindgren In-reply-to: (message from Anders Lindgren on Fri, 20 May 2016 12:16:51 +0200) Subject: Re: bug#23585: 25.0.93; Win32: spurious ^M pop up at byte offset 65536 References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 23585 Cc: 23585@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.4 (------) > Date: Fri, 20 May 2016 12:16:51 +0200 > From: Anders Lindgren > > I've noticed that sometimes an extra carriage return character pops up in my source files, when running > Emacs under Windows. They are always located at the end of a line. I use auto-revert mode and I've only > seen this in files already open in Emacs. > > Today I noticed that one such carriage return character was placed at buffer position 62879 in line 2658. This > corresponds to byte position 65536 (or hex 0x10000) in the file. Clearly, this can't be a coincidence. > > By the way, I'm not sure Emacs is the culprit here -- I use subversion as a version control system and Visual > Studio for debugging and sometimes minor edits. If you can come up with a reproducible recipe, we could debug this. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri May 20 09:38:14 2016 Received: (at 23585) by debbugs.gnu.org; 20 May 2016 13:38:14 +0000 Received: from localhost ([127.0.0.1]:58701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3kd4-0005dl-AC for submit@debbugs.gnu.org; Fri, 20 May 2016 09:38:14 -0400 Received: from mail-vk0-f43.google.com ([209.85.213.43]:32950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3kd1-0005dY-V7 for 23585@debbugs.gnu.org; Fri, 20 May 2016 09:38:12 -0400 Received: by mail-vk0-f43.google.com with SMTP id z184so143716286vkg.0 for <23585@debbugs.gnu.org>; Fri, 20 May 2016 06:38:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=m/zHuEi5bnMjXrT0aoP/CYZpw35HjvA/8ngjlYMpcV0=; b=APuXyQI4367h5KewMShH4ydqLYGsWRdKpdZ2/of7+7FDL1XiFyu0q24V3E7EYuz+p7 099Us3B0FwrsKNrsAlzq+ayPRog48Mk+bYa9segzfSIOCQSswOf3mpLe1MY/So/mSae1 E6K+0YcSNlB660N5pmvwDQ7v8EEzLem+oAqcheogf5Lb1jmB+dnTQcsME7WMXdnBQdzT 2o6HBwP7VXLXjzAb8orwt4JHEAbkDxtMixGCerFuE2NuAStK0q2bNUrEULtezoIQy8Xp vpw7XTS5+FTE1yic2P9/d9v2ah9qizm35VbL/bmxnDdFnKZhWR8Qnu+4YDm5yfvNDRxK jNHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=m/zHuEi5bnMjXrT0aoP/CYZpw35HjvA/8ngjlYMpcV0=; b=SqSwitono7ptPxlHwwAlpIYZ8a7J+LSJiY8sQjP7uuQH4s3J/x13OQOvLx3DGltsDz nGdOlgw+WgmOyp+t6O5OchIL0ZCVnfUadJ6NyogQFLfzExkRKS0jk+7NkpsRKJ2anebf kLsB+RPMh8P3B67XfwmFd2Sx5MSV5EOohi84ORv8G9IlBfnIp8rXmhzb9W8YZgtVaJkx i019rGi6k59LFFbwQsOsxmiNwry29Qac9p16qXPOqd/Wre24U/xr/ai5ax05A3AEn9D0 rPhGeDAf8SfDcnFcHPKljo2m1lmBXhETbuOGtk3xhm5ZRUPNMTRkyCUn2WETjR4KF94D X/6A== X-Gm-Message-State: AOPr4FWgdnHdHDEgAluzBoxqfwfEO+VbzqCPrtZgv8yVmFPA6cR/TiMQmUYPsKzhx5EPfBdHnmRqTLuZnIuNtQ== MIME-Version: 1.0 X-Received: by 10.159.39.7 with SMTP id a7mr1496309uaa.59.1463751486473; Fri, 20 May 2016 06:38:06 -0700 (PDT) Received: by 10.31.216.195 with HTTP; Fri, 20 May 2016 06:38:06 -0700 (PDT) In-Reply-To: <83h9ds97sd.fsf@gnu.org> References: <83h9ds97sd.fsf@gnu.org> Date: Fri, 20 May 2016 15:38:06 +0200 Message-ID: Subject: Re: bug#23585: 25.0.93; Win32: spurious ^M pop up at byte offset 65536 From: Anders Lindgren To: Eli Zaretskii Content-Type: multipart/alternative; boundary=94eb2c1244f6641078053346337f X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23585 Cc: 23585@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --94eb2c1244f6641078053346337f Content-Type: text/plain; charset=UTF-8 > > If you can come up with a reproducible recipe, we could debug this. > > I wish I could. Whoever, they seem to pop up about once every few weeks, and I only discover them after I've continued working with the file. The main reason why I posted the bug without a recipe was to see if anybody else had seen anything similar, or if anybody would have a hunch on what the cause is. Of course, one could try to provoke this by creating and appending to files with a carriage return/newline at the critical location and see if Emacs loads or reverts them incorrectly. -- Anders --94eb2c1244f6641078053346337f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
If you can come up with a reproducible recipe, w= e could debug this.


I wish I could. Whoever, they seem to = pop up about once every few weeks, and I only discover them after I've = continued working with the file. The main reason why I posted the bug witho= ut a recipe was to see if anybody else had seen anything similar, or if any= body would have a hunch on what the cause is.

Of c= ourse, one could try to provoke this by creating and appending to files wit= h a carriage return/newline at the critical location and see if Emacs loads= or reverts them incorrectly.

=C2=A0 =C2=A0 -- And= ers

--94eb2c1244f6641078053346337f-- From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 17:11:27 2016 Received: (at control) by debbugs.gnu.org; 7 Dec 2016 22:11:27 +0000 Received: from localhost ([127.0.0.1]:60408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEkQx-0003Qj-IB for submit@debbugs.gnu.org; Wed, 07 Dec 2016 17:11:27 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEkQv-0003QV-Ds for control@debbugs.gnu.org; Wed, 07 Dec 2016 17:11:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEkQp-0006d4-MC for control@debbugs.gnu.org; Wed, 07 Dec 2016 17:11:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEkQp-0006d0-J4 for control@debbugs.gnu.org; Wed, 07 Dec 2016 17:11:19 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cEkQp-0001hV-CD for control@debbugs.gnu.org; Wed, 07 Dec 2016 17:11:19 -0500 Subject: control message for bug 23585 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 07 Dec 2016 17:11:19 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.0 (--------) tag 23585 + wontfix From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 17:11:15 2016 Received: (at 23585-done) by debbugs.gnu.org; 7 Dec 2016 22:11:15 +0000 Received: from localhost ([127.0.0.1]:60405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEkQl-0003QK-Am for submit@debbugs.gnu.org; Wed, 07 Dec 2016 17:11:15 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEkQk-0003Q7-2J for 23585-done@debbugs.gnu.org; Wed, 07 Dec 2016 17:11:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEkQe-0006aj-83 for 23585-done@debbugs.gnu.org; Wed, 07 Dec 2016 17:11:08 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEkQe-0006af-5N for 23585-done@debbugs.gnu.org; Wed, 07 Dec 2016 17:11:08 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cEkQd-0001ge-OJ; Wed, 07 Dec 2016 17:11:07 -0500 From: Glenn Morris To: 23585-done@debbugs.gnu.org Subject: Re: bug#23585: 25.0.93; Win32: spurious ^M pop up at byte offset 65536 References: <83h9ds97sd.fsf@gnu.org> X-Spook: espionage H1N1 LABLINK EBS Guantanamo MD4 X-Ran: vK}t(*]TWsQJEPl{H$XV/HMrx<4>Ez$+:6roN+0cKF@5UWN$K}]`;ccss"V4a&:hY/M&x/ X-Hue: magenta X-Attribution: GM Date: Wed, 07 Dec 2016 17:11:07 -0500 In-Reply-To: (Anders Lindgren's message of "Fri, 20 May 2016 15:38:06 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: 23585-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.0 (--------) Without a recipe, I can't see this going anywhere, so closing. From unknown Wed Jun 18 23:14:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Jan 2017 12:24:16 +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