From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23020 invoked from network); 22 Mar 2022 09:46:36 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 22 Mar 2022 09:46:36 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1647942396; b=Xa0wB1rXzqU2oGfRZyQP3eTd1uvIiHoAgY1qjSE5eeUL0C+3nrph3GdYMz4VFsFKUeACHwHJKW 8okbZRe8WsarC9mqcQjlh3YEkee1vOv5WeLLjMQVw9DkATjYhDfGP7ZwigGo4aAIWTTJS2ngze BS6VAZvIcqs0y2Rs0dAK0h5R9RSC9LVT1lRpPCxvHMENEbZ4u6jh5BA9xhX6Yge6UKGNvnBJ65 ewK1zP0lgM4w/4VAondYxcle2a/d8R/03zmHo93gEpmNgr/9snp9w2u/N526A6XghWEXPJGhTX yEBgRgjAzgtBCb0DO9jSm73z18KUKRH84TY1WS5h3WhX3w==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (snd01004-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.20; dmarc=none header.from=kba.biglobe.ne.jp; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1647942396; bh=0YoLxQ7i4EvUvh8mbXMplMPll1+ynITDrT/9jjgiitA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Message-ID:In-Reply-To:To:References:Date:Subject: MIME-Version:Content-Transfer-Encoding:Content-Type:From:DKIM-Signature; b=G/bHUpoDd7wDRxHeciMfCTmmMzESXM3EdIJDDAUb3wAx82oxRQ9WpWDLBuG+UQZtZVtVLmFjSU vs4DfztLdFTNc7CehdYuKx3DM+3yvU+eebarjSC7PzTuGolw0IXckq7UjjY0GmIj5W4nXSFO2b qaBKuzcx5lLJ9GF4BOdFDMzjHGe60rx2ObUZ64454Hf61mk9675NOK9t8Gu42DKp+odKllh49P uHxuqBwA/qvEq6yrMDHMuVtpTjrhkQCTq1A98SbWdatZmQ19PMAN+UbDzQ4hYMbADAAQfe+xzc p87bRkYK3NINMsPZ2Nyg8+SyTC6jRsHtBqRXmhTVVFIg3w==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Message-Id:In-Reply-To:To:References: Date:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=XhSiBNK3H7k7mxanDUB5GCJosHmFZifFtfXoguMLPWY=; b=WltUUx6+PEkFjssdvmtgpbqDue 6ompSTdaUmcc732WPt00Q+2scZ4Dd5fMvY3hRNS34kQUzx30g+Z9O9/ze5ZoajDJiXsgp2fG7ITn4 riLcUYZaOSYSzKEFgVs0gHsLLtsdE2a1RfAsVhGLIqKrvDTP6qzvc7lWBF4YZSz4ZD+TgeBSLusQv Q1Rmt4FcpOw+UzcFBRM1pNW81e4lByECV9AqYYT9d/fQrNDKuiag+mou10qjbZnzUgerfZ9rhGtUr 9Ej+9uIchtOXIn8MHXizkYgqcZ2EqHk/Ds8uXN/3Cq8yXK96EmLn5LsN9eWKQA+CvIn3ECHQSwk0z M90/FEtA==; Received: from authenticated user by zero.zsh.org with local id 1nWb63-0003sr-VB; Tue, 22 Mar 2022 09:46:35 +0000 Authentication-Results: zsh.org; iprev=pass (snd01004-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.20; dmarc=none header.from=kba.biglobe.ne.jp; arc=none Received: from snd01004-bg.im.kddi.ne.jp ([27.86.113.20]:29409 helo=dfmta1020.biglobe.ne.jp) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1nWb5m-0003X0-0h; Tue, 22 Mar 2022 09:46:20 +0000 Received: from mail.biglobe.ne.jp by omta1020.biglobe.ne.jp with ESMTP id <20220322094613972.DTIQ.23165.mail.biglobe.ne.jp@biglobe.ne.jp> for ; Tue, 22 Mar 2022 18:46:13 +0900 From: Jun T Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: completion for "info -f" does not work Date: Tue, 22 Mar 2022 18:46:13 +0900 References: <20220315171305.GB617047@zira.vinc17.org> <65163150.28923.1647367522118@mail2.virginmedia.com> <2C495A59-EBA8-4C23-B0BB-964C4F0FEA40@kba.biglobe.ne.jp> <20220318135953.GA35304@zira.vinc17.org> <20220318140908.GB35304@zira.vinc17.org> To: zsh-workers@zsh.org In-Reply-To: <20220318140908.GB35304@zira.vinc17.org> Message-Id: <420E9029-D5DB-4621-80E2-3BF7A86997B0@kba.biglobe.ne.jp> X-Mailer: Apple Mail (2.3445.104.21) X-Biglobe-Sender: takimoto-j@kba.biglobe.ne.jp X-Seq: 49876 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: > 2022/03/18 23:09, Vincent Lefevre wrote: > > On 2022-03-18 14:59:53 +0100, Vincent Lefevre wrote: >> On 2022-03-16 17:46:28 +0900, Jun T wrote: >>> 'info -f' accept any (relative or absolute) pathnames. >> >> Well, not exactly. It seems that the rule for "info -f" is that >> if the argument does not have a slash, then the usual info path >> is used (with no fallback if nothing is found, i.e. an existing >> pathname in the current directory will be ignored), otherwise >> the argument is regarded as a pathname. > > This can be tested as follows: > > zira% touch for-test-only.info > zira% info -f for-test-only > info: for-test-only: No such file or directory I can't reproduce this. Which version of info are you using? % info --version info (GNU texinfo) 6.7 % touch for-test-only.info % info -w -f for-test-only ././for-test-only.info info command has an (undocumented) option -x for setting the debug level. % info -x 1 -f for-test-only # use -x 2 for more verbose output info: looking for file "for-test-only" info: looking for file for-test-only in /usr/share/info info: looking for file for-test-only in /home/takimoto/.local/share/info info: looking for file for-test-only in . info: found file ./for-test-only.info PS I've surprised that 'info for-test-only' (without -f) also gives the same result. So I wonder what is the difference between 'info foo ...' and 'info -f foo ...' ?