unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Van Ly via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: eliz@gnu.org, 73656@debbugs.gnu.org
Subject: bug#73656: 30.0.91; icomplete-vertical has no matches for M-x man RET chdir
Date: Tue, 22 Oct 2024 09:31:35 +0000	[thread overview]
Message-ID: <dcsmsiwzdoo.fsf@sdf.org> (raw)
In-Reply-To: <jwvjze25h8b.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Sun, 20 Oct 2024 22:26:19 -0400)


Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> +                         (if (eq system-type 'berkeley-unix) "-l")
>
> Maybe a more robust approach would be something like
>
>     (defvar man--apropos-args (...))
>
> where (...) is a piece of code which actually runs `man` with `-k` and
> with or without `-l` to try and determine which kind of `man` we're
> dealing with, but without making assumptions about which kind of `man`
> is installed on which kind of OS.

The following *shell* buffer logs show "man -k -l chd" then "man -k chd"
run on debian/aarch64 and netbsd/amd64


on debian/aarch64


 . deb$ man -k -l chd
 . chdir (2)            - change working directory
 . fchdir (2)           - change working directory
 . wdctl (8)            - show hardware watchdog status

 . deb$ man -k chd
 . chdir (2)            - change working directory
 . fchdir (2)           - change working directory
 . wdctl (8)            - show hardware watchdog status

 . deb$ echo $APROPOS
 . 
 . deb$ 


on netbsd/amd64


 . net$ man -k -l chd
 . man -k -l chd
 . swwdog(4) - software watchdog timer
 . pwdog(4) - Quancom PWDOG1 watchdog timer device
 . acpiwdrt(4) - ACPI Watchdog Timer WDRT
 . rdcpcib(4) - RDC PCI/ISA bridge and watchdog timer driver
 . i386/geodewdog(4) - AMD Geode SC1100 Watchdog Timer driver
 . gcscpcib(4) - AMD CS553[56] PCI-ISA bridge with timecounter, watchdog timer, and GPIO
 . evbarm/iopwdog(4) - Intel I/O Processor Watchdog Timer
 . x86/tco(4) - Intel Controller Hub TCO watchdog timer device
 . posix_spawn_file_actions_addchdir(3) - add chdir or fchdir action to spawn file actions object
 . chdir(2) - change current working directory
 . wdogctl(8) - Watchdog timer control utility
 . ifwatchd(8) - watch for addresses added to or deleted from interfaces and call up/down-scripts for them

 . net$ man -k chd
 . man -k chd
 . apropos: No relevant results obtained.
 . Please make sure that you spelled all the terms correctly or try using different keywords.

 . net$ echo $APROPOS
 . echo $APROPOS
 . 
 . net$ 


-- 
vl





      reply	other threads:[~2024-10-22  9:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-06 12:38 bug#73656: 30.0.91; icomplete-vertical has no matches for M-x man RET chdir Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-06 13:33 ` Eli Zaretskii
2024-10-06 14:33   ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-06 14:48     ` Eli Zaretskii
2024-10-06 13:35 ` Eli Zaretskii
2024-10-06 14:54   ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-06 16:10     ` Eli Zaretskii
2024-10-09 12:43       ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-13 12:09         ` Eli Zaretskii
2024-10-15  5:20           ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-17 17:48             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-18  0:37               ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-19  9:42                 ` Eli Zaretskii
2024-10-20 15:06                   ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-20 15:50                     ` Eli Zaretskii
2024-10-21  2:26                     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-10-22  9:31                       ` Van Ly via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dcsmsiwzdoo.fsf@sdf.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=73656@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=van.ly@sdf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).