From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#54745: Subject: 28.1; woman fails on "file" Date: Wed, 6 Apr 2022 11:20:52 +0200 Message-ID: <6b928406-f552-c2a5-a672-04832b8b37bd@easy-emacs.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------YMi0dTtSwoVFMIA4fcHSv6Qp" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29502"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 To: 54745@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 06 11:46:49 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nc2FU-0007Ql-RN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Apr 2022 11:46:48 +0200 Original-Received: from localhost ([::1]:57314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nc2FT-0008Cv-Ng for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Apr 2022 05:46:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc1rW-00028Z-U3 for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2022 05:22:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34775) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nc1rW-0008Ry-LY for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2022 05:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nc1rW-0000km-Bo for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2022 05:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Apr 2022 09:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54745 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16492368622801 (code B ref -1); Wed, 06 Apr 2022 09:22:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Apr 2022 09:21:02 +0000 Original-Received: from localhost ([127.0.0.1]:56901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nc1qX-0000ip-NZ for submit@debbugs.gnu.org; Wed, 06 Apr 2022 05:21:02 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nc1qW-0000iI-Jh for submit@debbugs.gnu.org; Wed, 06 Apr 2022 05:21:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc1qW-0001iu-Ay for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2022 05:21:00 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.24]:50707) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nc1qT-0008Du-EB for bug-gnu-emacs@gnu.org; Wed, 06 Apr 2022 05:20:59 -0400 Original-Received: from [192.168.178.54] ([89.247.171.241]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N4h7p-1o1hrO1jTr-011lH8 for ; Wed, 06 Apr 2022 11:20:53 +0200 Content-Language: en-US X-Provags-ID: V03:K1:LnQ9Zp31DLvIXS8+N7J5Lfyq3IB/KPjJ+dkFjim8MNd1M9A7soB 2XqWklyssFvy1igFNK2W5OS0bmJSzWNOCq6tQj6xyTbjabMSDicp/zD/9K+Fg1OYrCjgfW/ 9k7FnFSnUqv0w7LzyZrRbex7YmvS7llNqTn7oLUfSDejd3mVzzSG6pUxPbrvXP6O8i7YqGv TqAuA7avHjLZ4fGj3KMHA== X-UI-Out-Filterresults: notjunk:1;V03:K0:B/osiid/p68=:twUbPD3XL1VAPtkslkYdPW tsQWODpBTTlQH1wX0zhElXdsGJ6dwL0daWiI5mzi529DWhAtfXD78sOgBT+z7lPjonM244dZW 72XOQOyUHluI42Jzjx3v39ZywoRV76e9S+vjKZDoLVF8wVRr/rzqH/k9i0eKgEZrvEGLOcFcE VK1st9MNhxnkke7xvDzU7u5n/2VUXos/5s4WwxfTS0lrtfgcmEqxvMt+XZN4JXZbEYM2SgLPi lBAKTL8ufr87mVO7TUQfXCmLkbkXu710/wKgyjVn2CUpbor+KH2FusReSnj2uTl/hnL1BSZJB M5Sq1LCJcCd9x9lLkUTBpuhcKvy8ASEhBkM9XDBqfCh+qBzbwodKs8fRx7HvU8OwjE9sDkrkW ueGnJ9ENE2iVpyWQxNlVGkBpBfp6VAeVCwh9vHcUVRGfuk+W6x53WxO1WGObXBi2JSdxG6ctx lFCuzKzPHse8Pr13WZtnyRsF0egLTEveQKRTTupWZba5veUNIlHrMa+u6nFFbNnEGhA8IeTBT M1iMkiz7x0IQHgeTVfdlo7CDahvDLzYqUCw4gP6f5xsgxWOUWj4PMsvC+qBbb6x8T2p0OL5Xe /8SZUbwNhqYH3LdmZIBCyjMUM0iKvRAubmHdEQTfxSPAjJwLlEJ/NWgkOGe8FrbHxeuRg/Xjt iJOinh836ZIzd07H12WifrOVBb+jb1H7WWcFRa7BIsPhHOizZwLeSh52I9QUvSenPKwzg6BMj vcuPcypa3c9tGrB+ Received-SPF: none client-ip=212.227.17.24; envelope-from=andreas.roehler@easy-emacs.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229480 Archived-At: This is a multi-part message in MIME format. --------------YMi0dTtSwoVFMIA4fcHSv6Qp Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit M-x woman RET file RET errors saying: Debugger entered--Lisp error: (error "WoMan can only format man pages   written with the usual ‘-man’ macros") signal(error ("WoMan can only   format man pages written with the usual ‘-man’ macros"))   error("WoMan can only format man pages written with the usual `-man'   macros") woman-decode-region(1 21597) woman-decode-buffer()   woman-process-buffer()   woman-really-find-file("/usr/share/man/man1/file.1.gz" t "*WoMan 1   file*<2>") woman-find-file("/usr/share/man/man1/file.1.gz") However from bash, manpage appears correctly. Also would read nicely from:  "man file > file.txt" But woman shows: .Dd July 13, 2019 .Dt FILE 1 .Os .Sh NAME .Nm file .Nd determine file type .Sh SYNOPSIS .Nm .Bk -words .Op Fl bcdEhiklLNnprsSvzZ0 .Op Fl Fl apple .Op Fl Fl extension .Op Fl Fl mime-encoding .Op Fl Fl mime-type .Op Fl e Ar testname .Op Fl F Ar separator .Op Fl f Ar namefile .Op Fl m Ar magicfiles .Op Fl P Ar name=value .Ar ... In GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.32, cairo version 1.16.0)  of 2022-04-05 built on affe Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Ubuntu 20.04.4 LTS Configured using:  'configure --with-json --with-modules --with-mailutils' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK2 ZLIB Important settings:   value of $LANG: de_DE.UTF-8   locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect:   tooltip-mode: t   global-eldoc-mode: t   show-paren-mode: t   electric-indent-mode: t   mouse-wheel-mode: t   tool-bar-mode: t   menu-bar-mode: t   file-name-shadow-mode: t   global-font-lock-mode: t   blink-cursor-mode: t   auto-composition-mode: t   auto-encryption-mode: t   auto-compression-mode: t   line-number-mode: t   indent-tabs-mode: t   transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils disp-table view jka-compr woman man cl-loaddefs cl-lib ansi-color iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 203536 7948)  (symbols 48 30679 1)  (strings 32 80456 1880)  (string-bytes 1 1321075)  (vectors 16 14738)  (vector-slots 8 203630 12255)  (floats 8 25 137)  (intervals 56 192 15)  (buffers 992 12)) --------------YMi0dTtSwoVFMIA4fcHSv6Qp Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

M-x woman RET file RET

errors saying:

Debugger entered--Lisp error: (error "WoMan can only format man pages
  written with the usual ‘-man’ macros") signal(error ("WoMan can only
  format man pages written with the usual ‘-man’ macros"))
  error("WoMan can only format man pages written with the usual `-man'
  macros") woman-decode-region(1 21597) woman-decode-buffer()
  woman-process-buffer()
  woman-really-find-file("/usr/share/man/man1/file.1.gz" t "*WoMan 1
  file*<2>") woman-find-file("/usr/share/man/man1/file.1.gz")

However from bash, manpage appears correctly.
Also would read nicely from:  "man file > file.txt"

But woman shows:

.Dd July 13, 2019
.Dt FILE 1
.Os
.Sh NAME
.Nm file
.Nd determine file type
.Sh SYNOPSIS
.Nm
.Bk -words
.Op Fl bcdEhiklLNnprsSvzZ0
.Op Fl Fl apple
.Op Fl Fl extension
.Op Fl Fl mime-encoding
.Op Fl Fl mime-type
.Op Fl e Ar testname
.Op Fl F Ar separator
.Op Fl f Ar namefile
.Op Fl m Ar magicfiles
.Op Fl P Ar name=value
.Ar

...

In GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.32, cairo version 1.16.0)
 of 2022-04-05 built on affe
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Ubuntu 20.04.4 LTS

Configured using:
 'configure --with-json --with-modules --with-mailutils'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG
SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK2
ZLIB

Important settings:
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail
rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json map text-property-search time-date
subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils disp-table view
jka-compr woman man cl-loaddefs cl-lib ansi-color iso-transl tooltip
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
inotify dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 203536 7948)
 (symbols 48 30679 1)
 (strings 32 80456 1880)
 (string-bytes 1 1321075)
 (vectors 16 14738)
 (vector-slots 8 203630 12255)
 (floats 8 25 137)
 (intervals 56 192 15)
 (buffers 992 12))

--------------YMi0dTtSwoVFMIA4fcHSv6Qp--