From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Yeleighton Newsgroups: gmane.emacs.bugs Subject: bug#68583: 29.1; Can't find the cat manpage Date: Fri, 19 Jan 2024 15:18:04 +0000 Message-ID: References: <0b4f0004-c471-43b8-af63-ec9a592ca16f@stegny.2a.pl> <87cytxfwhj.fsf@ledu-giraud.fr> <09488b40-6c07-4cf1-9972-420164cc9291@stegny.2a.pl> <874jf9fvwm.fsf@ledu-giraud.fr> <837ck5wmyz.fsf@gnu.org> <1b3c5006-29e5-4ba7-bf1d-2bb9725f42b0@stegny.2a.pl> <834jf9wmqv.fsf@gnu.org> <3d80a687-9dd5-47fe-9758-4ca2c9ac3816@stegny.2a.pl> <83y1clv6kw.fsf@gnu.org> <8960a0d7-a661-4158-a98d-83b2c8d1afd4@stegny.2a.pl> <83wms5v1fp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------oHCfXh4ALTmK4OO3uaYUWgb7" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9499"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: manuel@ledu-giraud.fr, 68583@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 19 16:19:14 2024 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 1rQqeH-0002GU-65 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Jan 2024 16:19:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQqe6-00083q-1k; Fri, 19 Jan 2024 10:19:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQqe4-00083X-BV for bug-gnu-emacs@gnu.org; Fri, 19 Jan 2024 10:19:00 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQqe4-0004Ll-19 for bug-gnu-emacs@gnu.org; Fri, 19 Jan 2024 10:19:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rQqe5-0003ux-Tq for bug-gnu-emacs@gnu.org; Fri, 19 Jan 2024 10:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Yeleighton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Jan 2024 15:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68583 X-GNU-PR-Package: emacs Original-Received: via spool by 68583-submit@debbugs.gnu.org id=B68583.170567749814981 (code B ref 68583); Fri, 19 Jan 2024 15:19:01 +0000 Original-Received: (at 68583) by debbugs.gnu.org; 19 Jan 2024 15:18:18 +0000 Original-Received: from localhost ([127.0.0.1]:59977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQqdO-0003tY-6a for submit@debbugs.gnu.org; Fri, 19 Jan 2024 10:18:18 -0500 Original-Received: from shark2.2a.pl ([213.77.90.2]:61301 helo=shark.2a.pl) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQqdL-0003tD-DL for 68583@debbugs.gnu.org; Fri, 19 Jan 2024 10:18:16 -0500 Original-Received: from wrasse.2a.pl (wrasse.2a.pl [213.77.90.7]) by shark.2a.pl (Postfix) with ESMTP id 07D501750808; Fri, 19 Jan 2024 16:18:07 +0100 (CET) X-Virus-Scanned: amavisd-new at 2a.pl Original-Received: from shark.2a.pl ([213.77.90.2]) by wrasse.2a.pl (wrasse.2a.pl [213.77.90.7]) (amavisd-new, port 10024) with ESMTP id IAzsLYRbVzzz; Fri, 19 Jan 2024 16:30:14 +0100 (CET) Original-Received: from [192.168.0.101] (unknown [10.8.1.26]) by shark.2a.pl (Postfix) with ESMTPA id 8B7DD1750826; Fri, 19 Jan 2024 16:18:04 +0100 (CET) Content-Language: en-US In-Reply-To: <83wms5v1fp.fsf@gnu.org> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278532 Archived-At: This is a multi-part message in MIME format. --------------oHCfXh4ALTmK4OO3uaYUWgb7 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit M-x setenv RET MANOPT RET -X100-12 RET M-x man RET man RET This command shows the manual page for man in a new gxditview window. Emacs cannot display the manual page because it has not been rendered to text. But the error message is "Can't find the cat manpage". The message is wrong. Emacs did not try to find the cat manpage, it tried to retrieve it and it did not work. On 19.01.2024 14:32, Eli Zaretskii wrote: >> Date: Fri, 19 Jan 2024 12:46:57 +0000 >> Cc:manuel@ledu-giraud.fr,68583@debbugs.gnu.org >> From: Christopher Yeleighton >> >> If the code in man.el tried to find the manual page by itself, it would >> not fail because the manual page is there. It succeeds if MANOPT is not >> set and my MANOPT should not affect the manual page search algorithm. > That depends on how we try to find the manual page(s). The > implementation calls 'man' in a special way, which evidently fails > under the value of MANOPT you set. --------------oHCfXh4ALTmK4OO3uaYUWgb7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

M-x setenv RET MANOPT RET -X100-12 RET M-x man RET man RET

This command shows the manual page for man in a new gxditview window. Emacs cannot display the manual page because it has not been rendered to text. But the error message is "Can't find the cat manpage". The message is wrong. Emacs did not try to find the cat manpage, it tried to retrieve it and it did not work.

On 19.01.2024 14:32, Eli Zaretskii wrote:
Date: Fri, 19 Jan 2024 12:46:57 +0000
Cc: manuel@ledu-giraud.fr, 68583@debbugs.gnu.org
From: Christopher Yeleighton <giecrilj@stegny.2a.pl>

If the code in man.el tried to find the manual page by itself, it would 
not fail because the manual page is there. It succeeds if MANOPT is not 
set and my MANOPT should not affect the manual page search algorithm.
That depends on how we try to find the manual page(s).  The
implementation calls 'man' in a special way, which evidently fails
under the value of MANOPT you set.
--------------oHCfXh4ALTmK4OO3uaYUWgb7--