#3975: Not plain/text /usr/share/doc/mutt/manual.txt.gz
---------------------+----------------------
Reporter: jaalto | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: mutt | Version:
Resolution: | Keywords:
---------------------+----------------------
Comment (by jaalto):
{{{
On 2017-09-27 23:58, Mutt wrote:
| #3975: Not plain/text /usr/share/doc/mutt/manual.txt.gz
| ---------------------+----------------------
| Reporter: jaalto | Owner: mutt-dev
| Type: defect | Status: new
| Priority: major | Milestone:
| Component: mutt | Version:
| Resolution: | Keywords:
| ---------------------+----------------------
|
| Yes. This is not a valid mutt bug in my opinion*. The Mutt source
| does not contain a manual - it's constructed from the source during the
| build process, first into xml and then into html and text. The
Makefile
| supplied with Mutt uses "lynx -dump -with_backspaces" to convert html
to
| text but the packager could use any method he chooses. It appears that
| Fedora/Red Hat chooses to build this without Lynx installed so instead
| the conversion is done with "w3m -dump" which produces plain text.
|
| You could argue for the removal of the -with_backspaces option, but
| this seems to me to be just personal preference with no one correct
| answer. If Debian accepts this bug report then Debian could choose
| to package the manual differently.
The bug has been raised in Debian in preference of plain/text. The
Fedora already had done this.
The Makefile in sources should drop "-with_backspaces" as this is what
users expect with *.txt files. This would be rolled to all linux
distros and there would be no need to separately do anything to get
plain/text.
I'd suggest going "back to basics". I'd imagine that the overstrikign
is only useful for less(1). But causes more trouble with the usual
workflow:
vim <file>
nano <file>
emacs -Q -ne <file>
...or in any other editor you keep the manual at hand while you
edit muttrc files
Jari
}}}
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3975#comment:5>
Mutt <http://www.mutt.org/>
The Mutt mail user agent