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: Fri, 25 Oct 2024 05:34:28 +0000 Message-ID: References: Reply-To: Van Ly Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35037"; 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 Fri Oct 25 07:37:04 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 1t4D0Q-0008xa-W9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Oct 2024 07:37:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4D02-0007UP-TU; Fri, 25 Oct 2024 01:36:39 -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 1t4Czw-0007Tu-MD for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2024 01:36:32 -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 1t4Czw-0001BS-Dh for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2024 01:36:32 -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=z355h6HsNutTNd37nQ6HgsL9TljYOQj7Mpsq8nomm2E=; b=D+V6btWsb3ql1oU50BfAy0ekoyZTMmh3yDz3p/u8EHd6SNA1UpDrvG5p3JkixwE6e8AaRd+1ZgNaCDDU1Px34PulNIUE1S5/rr5Gn1sK35usexKB4I/Bzmk7bmYQKGUHhIxKOa+iZaP1BIkp1DuFosqAlYx0dIZ1dergPMJZY6U1a4Wm63a4tq+MDjCnRQ/l5MDkzdEw4o1u0U5g0Ig1L/MUR+oxr0JWq9QExIbUinXEcKLu/DxvKCHDCKThBNvyYajt0bhKMiIR51mVaAMFazRpQ+9dup95AFmV6b2emFXUSZuDSuBlw/g9bpha3gwQCxkHfO/26aFP3UK0lkS5JQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t4D0Q-0007V1-Lb for bug-gnu-emacs@gnu.org; Fri, 25 Oct 2024 01:37: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: Fri, 25 Oct 2024 05:37: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.172983458328770 (code B ref 73656); Fri, 25 Oct 2024 05:37:02 +0000 Original-Received: (at 73656) by debbugs.gnu.org; 25 Oct 2024 05:36:23 +0000 Original-Received: from localhost ([127.0.0.1]:36933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4Czm-0007Tx-CP for submit@debbugs.gnu.org; Fri, 25 Oct 2024 01:36:22 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:55331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4Czj-0007Tl-CE for 73656@debbugs.gnu.org; Fri, 25 Oct 2024 01:36:21 -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 49P5YUeX009630 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Fri, 25 Oct 2024 05:35:46 GMT Original-Received: (from van.ly@localhost) by sdf.org (8.18.1/8.12.8/Submit) id 49P5YTN2016014; Fri, 25 Oct 2024 05:34:29 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:294209 Archived-At: Stefan Monnier writes: >> + (if (eq system-type 'berkeley-unix) "-l") > As gap filler, the following change does not misbehave on deb or netbsd. + (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. > As probe to reveal switches available to "man", try "man=C2=A0-h" and "man=C2=A0-?" but the output doesn't look helpful, perhaps a complete solution has to probe the manpage for "man". . net$ man -h . man -h . Usage: man [-acw|-h] [-C cfg] [-M path] [-m path] [-S srch] [[-s] sect] = name ... . Usage: man [-C file] -f command ... . Usage: man [-C file] -k keyword ... . Usage: man -p . net$ man -? . man -? . man: unknown option -- ? . Usage: man [-acw|-h] [-C cfg] [-M path] [-m path] [-S srch] [[-s] sect] = name ... . Usage: man [-C file] -f command ... . Usage: man [-C file] -k keyword ... . Usage: man -p . deb$ man -h . Usage: man [OPTION...] [SECTION] PAGE... . . -C, --config-file=3DFILE use this user configuration file . -d, --debug emit debugging messages . -D, --default reset all options to their default values . --warnings[=3DWARNINGS] enable warnings from groff . . Main modes of operation: . -f, --whatis equivalent to whatis . -k, --apropos equivalent to apropos . -K, --global-apropos search for text in all pages . -l, --local-file interpret PAGE argument(s) as local filenam= e(s) . -w, --where, --path, --location . print physical location of man page(s) . -W, --where-cat, --location-cat . print physical location of cat file(s) . . -c, --catman used by catman to reformat out of date cat = pages . -R, --recode=3DENCODING output source page encoded in ENCODING . . Finding manual pages: . -L, --locale=3DLOCALE define the locale for this particular man= search . -m, --systems=3DSYSTEM use manual pages from other systems . -M, --manpath=3DPATH set search path for manual pages to PATH . . -S, -s, --sections=3DLIST use colon separated section list . . -e, --extension=3DEXTENSION limit search to extension type EXTENSION . . -i, --ignore-case look for pages case-insensitively (default) . -I, --match-case look for pages case-sensitively . . --regex show all pages matching regex . --wildcard show all pages matching wildcard . . --names-only make --regex and --wildcard match page name= s only, . not descriptions . . -a, --all find all matching manual pages . -u, --update force a cache consistency check . . --no-subpages don't try subpages, e.g. 'man foo bar' =3D>= 'man . foo-bar' . . Controlling formatted output: . -P, --pager=3DPAGER use program PAGER to display output . -r, --prompt=3DSTRING provide the `less' pager with a prompt . . -7, --ascii display ASCII translation of certain latin1= chars . -E, --encoding=3DENCODING use selected output encoding . --no-hyphenation, --nh turn off hyphenation . --no-justification, --nj turn off j= ustification . -p, --preprocessor=3DSTRING STRING indicates which preprocessors to r= un: . e - [n]eqn, p - pic, t - tbl, . g - grap, r - refer, v - vgrind . . -t, --troff use groff to format pages . -T, --troff-device[=3DDEVICE] use groff with selected device . . -H, --html[=3DBROWSER] use www-browser or BROWSER to display HTM= L output . -X, --gxditview[=3DRESOLUTION] use groff and display through gxditvi= ew . (X11): . -X =3D -TX75, -X100 =3D -TX100, -X100-12 = =3D -TX100-12 . -Z, --ditroff use groff and force it to produce ditroff . . -?, --help give this help list . --usage give a short usage message . -V, --version print program version . . Mandatory or optional arguments to long options are also mandatory or op= tional . for any corresponding short options. . . Report bugs to cjwatson@debian.org. --=20 vl