From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier 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: Sun, 20 Oct 2024 22:26:19 -0400 Message-ID: References: Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21153"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 73656@debbugs.gnu.org To: Van Ly Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 21 04:28:00 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 1t2i9H-0005Km-TO for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Oct 2024 04:28:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t2i8y-0001NK-DF; Sun, 20 Oct 2024 22:27:40 -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 1t2i8u-0001Mt-QR for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 22:27:37 -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 1t2i8u-0003zt-Hw for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 22:27:36 -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:References:In-Reply-To:From:To:Subject; bh=HoSGsSRQsgcbc9iqw9PoKFy8GXPWbYJYOi3g8z5tNlg=; b=GPMvxdoLkbI8Rl9ky2cwzmI3JbJE9qpSvUEEkAiIqrHfZFaJYdsCZkNHJA6iCASORxwYZ7q96La6581SJFos1UQHMhowrhEGmG0COcE1qKo5/vK3RkuEVZOhT7ztHyygU8bttNjJ8i9J/1/vZ1nE0PQlrtw8uLxMwDW3vjL4JgmFnwkcbgK3gMXjRVRZUnl0xeAJl0Cqz1s99cRCHiUcZxiZQ2SZcHyXiY+aK5yve8aGYTvdFAvJSf/Kj6VbXcOHxBFNa7G95zu8gKecAQS42xYIUhdeob5++Vpn6HFo33WjalPtwyCliwgHe6UBsZz4jCM29dfgIXaTsB7ODZvFKQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t2i9K-0004M9-5s for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2024 22:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Oct 2024 02:28: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.172947762416670 (code B ref 73656); Mon, 21 Oct 2024 02:28:02 +0000 Original-Received: (at 73656) by debbugs.gnu.org; 21 Oct 2024 02:27:04 +0000 Original-Received: from localhost ([127.0.0.1]:49523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2i8N-0004Kn-Gh for submit@debbugs.gnu.org; Sun, 20 Oct 2024 22:27:03 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:16422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2i8K-0004KI-GX for 73656@debbugs.gnu.org; Sun, 20 Oct 2024 22:27:01 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id EEF14100055; Sun, 20 Oct 2024 22:26:28 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1729477588; bh=yDJC/5+ELWtD7pLVnCC5W6/Zyxj9R4sok5BI1nvQM4o=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=DpO/3m9rkXJIFfOHkcfZYx6ElwBZ35lSNhHfiN7rsD9FijHO0IO+a3IRTO2QDQrwk 9Guzp00+pssDDARl3ai8IkRn+mz7kI5DJbP2Uv/aXJRWAX2w7Cm7a+9xRyFdBIQkoN mVL3s4BN4Hp5edmT4eL8nfP/6KfDURi4Z0iBb+8slYzzlRRUJ8+G/80GiV5KHYoAsF dJ0jjN5PQe6faPca8B9dHPanxlMQj+6S6kc2+i16v7JsWgw0UWOGqBbXFtdE7CCDC1 zN0nr7dmp8qTfz40ElKHC7GEyWBydo4fMGeqK+jtdpDj+14LzoBeumV82hg42eI/Z9 ewn/cZfSTRyxw== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 43C3510002E; Sun, 20 Oct 2024 22:26:28 -0400 (EDT) Original-Received: from pastel (69-196-161-60.dsl.teksavvy.com [69.196.161.60]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 153A91203FF; Sun, 20 Oct 2024 22:26:28 -0400 (EDT) In-Reply-To: (Van Ly's message of "Sun, 20 Oct 2024 15:06:30 +0000") 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:294018 Archived-At: > + (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. Then we can use this new `man--apropos-args` var when running `process-file`. Oh, and `process-file` makes this worse because it may end up spawning a process on a remote systems, so the local OS and local `man` may not have anything to do with the remote OS and remote `man`. Stefan