[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#386417: marked as done (emacs-goodies-el: folding.el corrupts files when using utf8)

Your message dated Wed, 12 Sep 2018 08:22:27 -0300
with message-id <87sh2fgdu4.fsf@tethera.net>
and subject line seems fixed
has caused the Debian Bug report #386417,
regarding emacs-goodies-el: folding.el corrupts files when using utf8
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 owner@bugs.debian.org

386417: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=386417
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: emacs-goodies-el
Version: 26.7-1
Severity: normal

I'm using emacs-snapshot, and LANG=en_US.UTF-8.  When I save a folded
file (using folding.el) newlines in folded sections are replaced with ^M
-- e.g., an entirely folded file would be saved as a file with a single
line with ^M where newlines ought to go.

As a work-around I'm currently setting LANG=en_US.ISO-8859-1 when I run
emacs, but the problem remains if the file contains utf-8 chars.  For
example, my gnus init file contains some utf-8 line drawing chars for
thread display, so I have to either remember to open the entire buffer
before I save or not use folding.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-5-wasp-1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages emacs-goodies-el depends on:
ii  bash                        3.1-5        The GNU Bourne Again SHell
ii  emacs-snapshot [emacsen]    1:20060901-1 The GNU Emacs editor (development 

Versions of packages emacs-goodies-el recommends:
ii  dict                          1.10.2-3   Dictionary Client
ii  perl-doc                      5.8.8-6.1  Perl documentation
ii  wget                          1.10.2-2   retrieves files from the web

-- no debconf information

--- End Message ---
--- Begin Message ---
I downloaded the latest upstream version of folding.el, and could not
reproduce the problem with the attached (modified) test file. A lot has
changed in the intervening decade, so it may be that some change in
emacs has fixed the problem.

Attachment: foo.el
Description: application/emacs-lisp

--- End Message ---

Reply to: