From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Van Ly via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs 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 Message-ID: References: Reply-To: Van Ly Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32057"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, 73656@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 22 11:33:55 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 1t3BH0-0008BC-Lg for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Oct 2024 11:33:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3BGk-0000tQ-Hz; Tue, 22 Oct 2024 05:33:38 -0400 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 1t3BGg-0000t8-Vl for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2024 05:33:34 -0400 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 1t3BGg-0008Cz-M6 for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2024 05:33:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:In-Reply-To:From:To:References:Subject; bh=cHZgln/V4Rx00MlET54lfpQIT8lNG4EudtTd8aNjSOc=; b=Lm1MQ8aj9Wvh2cBYykWg2/rf8Tibv2K++zVbj6UHJbbFzAeCesdx7meoLKk3G597GmbjTGsgmB+N+5A36q+o43uifCppvt+UDMrWiyL2XcFW8i24PJJspNp8+Nx2myjlwcPMnmPpbIR9qfOnfpI4cygGXxU4RvweGWcxuPIoMskBtQpmuy08NgR9scQXEN7zIvYzxyPxo9q9ebKPb1Q22wI1Y8Zlk5lC7wt2PGwcoJ++qWClNp9c4egsS71il8V5YRjjYKizX1GFlmFFPs2DmzDnU+dvtTE/X2jd+BqpxzQdmgOQYhANmlEo6bqBo1ln+n9Ajcq9xkOfvrSJE/A12g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t3BH8-0000Mt-8N for bug-gnu-emacs@gnu.org; Tue, 22 Oct 2024 05:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Van Ly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Oct 2024 09:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73656 X-GNU-PR-Package: emacs Original-Received: via spool by 73656-submit@debbugs.gnu.org id=B73656.17295896031354 (code B ref 73656); Tue, 22 Oct 2024 09:34:02 +0000 Original-Received: (at 73656) by debbugs.gnu.org; 22 Oct 2024 09:33:23 +0000 Original-Received: from localhost ([127.0.0.1]:54693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3BGV-0000Lm-7g for submit@debbugs.gnu.org; Tue, 22 Oct 2024 05:33:23 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:62646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3BGT-0000Ld-If for 73656@debbugs.gnu.org; Tue, 22 Oct 2024 05:33:22 -0400 Original-Received: from sdf.org (IDENT:van.ly@iceland.freeshell.org [205.166.94.5]) by mx.sdf.org (8.18.1/8.14.3) with ESMTPS id 49M9Vb1O000559 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 22 Oct 2024 09:32:52 GMT Original-Received: (from van.ly@localhost) by sdf.org (8.18.1/8.12.8/Submit) id 49M9VZ8l018754; Tue, 22 Oct 2024 09:31:35 GMT In-Reply-To: (message from Stefan Monnier on Sun, 20 Oct 2024 22:26:19 -0400) 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:294096 Archived-At: Stefan Monnier 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