Your message dated Sun, 26 Aug 2018 18:04:16 +0000
with message-id <e1ftzoa-0006tj...@fasolo.debian.org>
and subject line Bug#883434: fixed in emacs 1:25.2+1-11
has caused the Debian Bug report #883434,
regarding emacs25: Silent file corruption on file with BOM: BOM gets removed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
883434: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883434
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: emacs25
Version: 25.2+1-6
Severity: grave
Justification: causes non-serious data loss

Under some conditions, when saving a file with a BOM, the BOM
*silently* gets removed, which is a major change (some applications,
such as Firefox, are BOM-sensitive, so that this bug breaks things
without knowing the cause).

To reproduce the bug:

0. Uncompress the attached file (I used compression to make sure that
   it doesn't get corrupted by the mail system): unxz a.html.xz

1. cp a.html b.html

2. emacs -Q b.html

3. Type M-: (set-buffer-modified-p t) to mark the buffer as modified
   (so that one can save it).

4. Save the file with C-x C-s.

5. Quit with C-x C-c.

6. cmp a.html b.html

This gives:

a.html b.html differ: char 1, line 1

$ hd a.html | head -n 1
00000000  ef bb bf 3c 21 44 4f 43  54 59 50 45 20 68 74 6d  |...<!DOCTYPE htm|

$ hd b.html | head -n 1
00000000  3c 21 44 4f 43 54 59 50  45 20 68 74 6d 6c 20 50  |<!DOCTYPE html P|

Note: There is a newer Emacs version upstream. I haven't tried it.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages emacs25 depends on:
ii  emacs25-bin-common     25.2+1-6
ii  libacl1                2.2.52-3+b1
ii  libasound2             1.1.3-5
ii  libatk1.0-0            2.26.1-1
ii  libc6                  2.25-3
ii  libcairo-gobject2      1.14.10-1
ii  libcairo2              1.14.10-1
ii  libdbus-1-3            1.12.2-1
ii  libfontconfig1         2.12.6-0.1
ii  libfreetype6           2.6.3-3.2
ii  libgdk-pixbuf2.0-0     2.36.11-1
ii  libgif7                5.1.4-1
ii  libglib2.0-0           2.54.2-1
ii  libgnutls30            3.5.16-1
ii  libgomp1               7.2.0-16
ii  libgpm2                1.20.4-6.2+b1
ii  libgtk-3-0             3.22.26-2
ii  libice6                2:1.0.9-2
ii  libjpeg62-turbo        1:1.5.2-2
ii  libm17n-0              1.7.0-3+b2
ii  libmagickcore-6.q16-3  8:6.9.7.4+dfsg-16
ii  libmagickwand-6.q16-3  8:6.9.7.4+dfsg-16
ii  libotf0                0.9.13-3+b1
ii  libpango-1.0-0         1.40.13-2
ii  libpangocairo-1.0-0    1.40.13-2
ii  libpng16-16            1.6.34-1
ii  librsvg2-2             2.40.18-2
ii  libselinux1            2.7-2
ii  libsm6                 2:1.2.2-1+b3
ii  libtiff5               4.0.8-6
ii  libtinfo5              6.0+20171125-1
ii  libx11-6               2:1.6.4-3
ii  libx11-xcb1            2:1.6.4-3
ii  libxcb1                1.12-1
ii  libxfixes3             1:5.0.3-1
ii  libxft2                2.3.2-1+b2
ii  libxinerama1           2:1.1.3-1+b3
ii  libxml2                2.9.4+dfsg1-5.1
ii  libxpm4                1:3.5.12-1
ii  libxrandr2             2:1.5.1-1
ii  libxrender1            1:0.9.10-1
ii  zlib1g                 1:1.2.8.dfsg-5

emacs25 recommends no packages.

Versions of packages emacs25 suggests:
ii  emacs25-common-non-dfsg  25.2+1-1

-- no debconf information

Attachment: a.html.xz
Description: Binary data


--- End Message ---
--- Begin Message ---
Source: emacs
Source-Version: 1:25.2+1-11

We believe that the bug you reported is fixed in the latest version of
emacs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 883...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rob Browning <r...@defaultvalue.org> (supplier of updated emacs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 26 Aug 2018 11:49:09 -0500
Source: emacs
Binary: emacs emacs-lucid emacs-lucid-dbg emacs-nox emacs-nox-dbg emacs-gtk 
emacs-gtk-dbg emacs-bin-common emacs-common emacs-el emacs23 emacs23-lucid 
emacs23-nox emacs24 emacs24-lucid emacs24-nox emacs25 emacs25-lucid emacs25-nox
Architecture: source
Version: 1:25.2+1-11
Distribution: unstable
Urgency: medium
Maintainer: Rob Browning <r...@defaultvalue.org>
Changed-By: Rob Browning <r...@defaultvalue.org>
Description:
 emacs      - GNU Emacs editor (metapackage)
 emacs-bin-common - GNU Emacs editor's shared, architecture dependent files
 emacs-common - GNU Emacs editor's shared, architecture independent 
infrastructur
 emacs-el   - GNU Emacs LISP (.el) files
 emacs-gtk  - GNU Emacs editor (with GTK+ GUI support)
 emacs-gtk-dbg - Debugging symbols for emacs-gtk
 emacs-lucid - GNU Emacs editor (with Lucid GUI support)
 emacs-lucid-dbg - Debugging symbols for emacs-lucid
 emacs-nox  - GNU Emacs editor (without GUI support)
 emacs-nox-dbg - Debugging symbols for emacs-nox
 emacs23    - GNU Emacs transitional package to emacs-gtk
 emacs23-lucid - GNU Emacs transitional package to emacs-lucid
 emacs23-nox - GNU Emacs transitional package to emacs-nox
 emacs24    - GNU Emacs transitional package to emacs-gtk
 emacs24-lucid - GNU Emacs transitional package to emacs-lucid
 emacs24-nox - GNU Emacs transitional package to emacs-nox
 emacs25    - GNU Emacs transitional package to emacs-gtk
 emacs25-lucid - GNU Emacs transitional package to emacs-lucid
 emacs25-nox - GNU Emacs transitional package to emacs-nox
Closes: 883434 906534
Changes:
 emacs (1:25.2+1-11) unstable; urgency=medium
 .
   * Add (>= 1:25) restriction to emacs metapackage dependencies.
     Without this it was possible to end up with two empty metapackages
     installed instead of the expected metapackage and actual package.
     Thanks to Shin Yoshida for reporting the problem and Sven Joachim
     for noting the solution. (Closes: 906534)
 .
   * Don't unexpectedly modify the byte order mark.  Add
     0014-Emacs-should-no-longer-unexpectedly-alter-the-byte-o.patch to
     fix the problem.  Thanks to Vincent Lefevre for reporting the
     problem and Eli Zaretskii for the patch. (Closes: 883434)
Checksums-Sha1:
 523a022fa1003aadb4e8b49766300d9eb7627062 3344 emacs_25.2+1-11.dsc
 9dabcd86e6392301a2dbfbc090301ee7f37495a1 55060 emacs_25.2+1-11.debian.tar.xz
 a2bd8a2765a86abf043d035b418185ace3062162 21770 emacs_25.2+1-11_amd64.buildinfo
Checksums-Sha256:
 1db1208c1af559a0a3aeab5d1894ef8edffb52b02ff5ace530bffa252fc9a56f 3344 
emacs_25.2+1-11.dsc
 d07af9ffa7b12dd6779c51e7ad40bfa41986cedf3606beee860c21938faf1e17 55060 
emacs_25.2+1-11.debian.tar.xz
 db44797d2f539bc3743fd19d6a4bf350055d108378db39919a06858480253fd4 21770 
emacs_25.2+1-11_amd64.buildinfo
Files:
 de4f64d3c380d5177633697ea02658d0 3344 editors optional emacs_25.2+1-11.dsc
 4a6ba4d52baebad3a63bc73e9c52b029 55060 editors optional 
emacs_25.2+1-11.debian.tar.xz
 1cb6704258abdd11c966e60466d14753 21770 editors optional 
emacs_25.2+1-11_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEPTFSABe5ruOuhW+97vEWxVpaQvEFAluC5scVHHJsYkBkZWZh
dWx0dmFsdWUub3JnAAoJEO7xFsVaWkLxoUEP/2YM3xxNQGONkCS0Pf3BGYyJnkG3
s45FrfVZRk5m3eCgp8R53J1kJAJJ6ErMTzu4jKijRD9V9JvVjZCxnlz3qIMk+Ttu
mJhvp73sjVrP8jWY+q5lDH3MJvWUq5xvU8Gsgd2IMlZAf9/e3xHL49N5xDKX69RH
A2fwXxdQBf1uVXltvTB7rxj1xwlBnEJN+ODPxdWNoJH/b6yXPeI3Ac3CL9Oxd8F8
OaWUDu9Rkly9KzyGrtfDyPvb1jyweA2eJIpTPdJwUwld7VTAkHhC3f2yniFrNBUE
f+eDaHmon14Ek+qJ/KNZmuxG5INtAEnqXiK7by5L+CLhqZhqZU1ZHh9CNvvSW6kR
CyHxc9dlhjrEg/xgsAIrVzkkwU6DfABa48aZsvakjtsH3Kqlju3DhpaPunceDGlo
92dxu2xOg4bVnglVUV2m671InYmMPrpog/mL1hgIi5Nh35qBVoAVcY7hif8iQ+F3
ttL5x2GLmdoGtrsSdjFjtGN9MvtwGWBw03n/Np3SLz/4gCSmYDtZEkd3c5e5VHiL
6vL0p1wqtls2to2/Ay6tmQarkg1g4IdPwb0OFcNqadVQuRPcxWtWs5SrduiRl81m
Xit1bYzE6xbUiS0DcBUlouk73TW79x80x+0CxIon667EvMp7PtvtWMkG/5XzCk13
3sfg5iKy/gY4safW
=RXME
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to