Bug#877000: [Pkg-mutt-maintainers] Bug#877000: mutt: not plain/text /usr/share/doc/mutt/manual.txt.gz

2017-09-28 Thread Jari Aalto
On 2017-09-28 15:33, Jari Aalto wrote:
| On 2017-09-28 11:47, Elimar Riesebieter wrote:
| | * Jari Aalto  [2017-09-27 17:45 +0300]:
| | 
| | > Package: mutt
| | > Version: 1.8.0-1
| | > Severity: minor
| | > 
| | > The documentation, "Mutt manual" cannot be read with a text
| | > editor as it appears not being plain/text.
| | > 
| | > Please supply plain/text file without any control characters embedded. 
This
| | > allows SEARCH in editors and GREP to be used to find information.
| | > 
| | > CONTENT EXAMPLES:
| | > 
| | > Emacs: C-x C-f /usr/share/doc/mutt/manual.txt.gz
| | > 
| | > The Mutt E-Mail Client
| | > 
| | > Michael Elkins
| | > 
| | ><[1]m^Hme^He@^H@c^Hcs^Hs.^H.h^Hhm^Hmc^Hc.^H.e^Hed^Hdu^Hu>
| | > 
| | >version 1.8.0 (2017-02-23)
| | > 
| | >_^HA_^Hb_^Hs_^Ht_^Hr_^Ha_^Hc_^Ht
| | 
| | I can read /usr/share/doc/mutt/manual.txt.gz directly with vim and
| | emacs with no doubts. zgrep, zless and zmore are showing everything
| | well. I can't reproduce either.
| 
| Here is test:
| 
| $ dpkg -l | grep mutt
| ii  mutt 1.8.0-1 i386 (...)
| 
| $ dpkg -L mutt | grep manual.txt
| /usr/share/doc/mutt/manual.txt.gz
| 
| $ gzip -dc /usr/share/doc/mutt/manual.txt.gz | head -15 > mutt-extract.txt
| 
| $ file mutt-extract.txt
| mutt-extract.txt: ASCII text, with overstriking
| 
| Notice "overstriking":
| 
| $ nano mutt-extract.txt
| 
| - - -
| 
| The Mutt E-Mail Client
| 
| Michael Elkins
| 
|<[1]m^Hme^He@^H@c^Hcs^Hs.^H.h^Hhm^Hmc^Hc.^H.e^Hed^Hdu^Hu>
| 
|version 1.8.0 (2017-02-23)
| 
|_^HA_^Hb_^Hs_^Ht_^Hr_^Ha_^Hc_^Ht
| 
|"All mail clients suck. This one just sucks less." -- me, circa 1995
|   __
| 
|_^HT_^Ha_^Hb_^Hl_^He_^H _^Ho_^Hf_^H _^HC_^Ho_^Hn_^Ht_^He_^Hn_^Ht_^Hs

Likewise display with:

$ emacs --version
GNU Emacs 24.5.1

$ emacs -Q -nw mutt-extract.txt

Jari



Bug#877000: [Pkg-mutt-maintainers] Bug#877000: mutt: not plain/text /usr/share/doc/mutt/manual.txt.gz

2017-09-28 Thread Jari Aalto
On 2017-09-28 11:47, Elimar Riesebieter wrote:
| * Jari Aalto  [2017-09-27 17:45 +0300]:
| 
| > Package: mutt
| > Version: 1.8.0-1
| > Severity: minor
| > 
| > The documentation, "Mutt manual" cannot be read with a text
| > editor as it appears not being plain/text.
| > 
| > Please supply plain/text file without any control characters embedded. This
| > allows SEARCH in editors and GREP to be used to find information.
| > 
| > CONTENT EXAMPLES:
| > 
| > Emacs: C-x C-f /usr/share/doc/mutt/manual.txt.gz
| > 
| > The Mutt E-Mail Client
| > 
| > Michael Elkins
| > 
| ><[1]m^Hme^He@^H@c^Hcs^Hs.^H.h^Hhm^Hmc^Hc.^H.e^Hed^Hdu^Hu>
| > 
| >version 1.8.0 (2017-02-23)
| > 
| >_^HA_^Hb_^Hs_^Ht_^Hr_^Ha_^Hc_^Ht
| 
| I can read /usr/share/doc/mutt/manual.txt.gz directly with vim and
| emacs with no doubts. zgrep, zless and zmore are showing everything
| well. I can't reproduce either.

Here is test:

$ dpkg -l | grep mutt
ii  mutt 1.8.0-1 i386 (...)

$ dpkg -L mutt | grep manual.txt
/usr/share/doc/mutt/manual.txt.gz

$ gzip -dc /usr/share/doc/mutt/manual.txt.gz | head -15 > mutt-extract.txt

$ file mutt-extract.txt
mutt-extract.txt: ASCII text, with overstriking

Notice "overstriking":

$ nano mutt-extract.txt

- - -

The Mutt E-Mail Client

Michael Elkins

   <[1]m^Hme^He@^H@c^Hcs^Hs.^H.h^Hhm^Hmc^Hc.^H.e^Hed^Hdu^Hu>

   version 1.8.0 (2017-02-23)

   _^HA_^Hb_^Hs_^Ht_^Hr_^Ha_^Hc_^Ht

   "All mail clients suck. This one just sucks less." -- me, circa 1995
__

   _^HT_^Ha_^Hb_^Hl_^He_^H _^Ho_^Hf_^H _^HC_^Ho_^Hn_^Ht_^He_^Hn_^Ht_^Hs

Jari



Bug#877000: [Pkg-mutt-maintainers] Bug#877000: mutt: not plain/text /usr/share/doc/mutt/manual.txt.gz

2017-09-28 Thread Elimar Riesebieter
* Jari Aalto  [2017-09-27 17:45 +0300]:

> Package: mutt
> Version: 1.8.0-1
> Severity: minor
> 
> The documentation, "Mutt manual" cannot be read with a text
> editor as it appears not being plain/text.
> 
> Please supply plain/text file without any control characters embedded. This
> allows SEARCH in editors and GREP to be used to find information.
> 
> CONTENT EXAMPLES:
> 
> Emacs: C-x C-f /usr/share/doc/mutt/manual.txt.gz
> 
> The Mutt E-Mail Client
> 
> Michael Elkins
> 
><[1]m^Hme^He@^H@c^Hcs^Hs.^H.h^Hhm^Hmc^Hc.^H.e^Hed^Hdu^Hu>
> 
>version 1.8.0 (2017-02-23)
> 
>_^HA_^Hb_^Hs_^Ht_^Hr_^Ha_^Hc_^Ht

I can read /usr/share/doc/mutt/manual.txt.gz directly with vim and
emacs with no doubts. zgrep, zless and zmore are showing everything
well. I can't reproduce either.


Elimar
-- 
  Do you smell something burning or is it me?