GNU bug report logs - #54961
28.1; info-display-manual completions issues

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Howard Melman <hmelman@HIDDEN>; dated Fri, 15 Apr 2022 19:05:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Apr 2022 11:28:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 16 07:28:01 2022
Received: from localhost ([127.0.0.1]:60864 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nfgau-0000U6-Vy
	for submit <at> debbugs.gnu.org; Sat, 16 Apr 2022 07:28:01 -0400
Received: from lists.gnu.org ([209.51.188.17]:41032)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1nfgas-0000Ty-W4
 for submit <at> debbugs.gnu.org; Sat, 16 Apr 2022 07:27:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48654)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1nfgas-000833-RB
 for bug-gnu-emacs@HIDDEN; Sat, 16 Apr 2022 07:27:58 -0400
Received: from ciao.gmane.io ([116.202.254.214]:48346)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1nfgar-00081X-GB
 for bug-gnu-emacs@HIDDEN; Sat, 16 Apr 2022 07:27:58 -0400
Received: from list by ciao.gmane.io with local (Exim 4.92)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>)
 id 1nfgan-0004CA-Ny
 for bug-gnu-emacs@HIDDEN; Sat, 16 Apr 2022 13:27:53 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: bug-gnu-emacs@HIDDEN
From: Howard Melman <hmelman@HIDDEN>
Subject: Re: bug#54961: 28.1; info-display-manual completions issues
Date: Sat, 16 Apr 2022 07:27:44 -0400
Message-ID: <lywnfp46a7.fsf@HIDDEN>
References: <C20CB691-DB53-4C05-B7A5-1B0053C07037@HIDDEN>
 <87y205e59p.fsf@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin)
Cancel-Lock: sha1:nBDhqyisyaxWKZwP43KNnAh4Nmc=
Received-SPF: pass client-ip=116.202.254.214;
 envelope-from=geb-bug-gnu-emacs@HIDDEN; helo=ciao.gmane.io
X-Spam_score_int: 5
X-Spam_score: 0.5
X-Spam_bar: /
X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001,
 FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001,
 HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.9 (/)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> Howard Melman <hmelman@HIDDEN> writes:
>
>> I'm happy to see info-display-manual added to Emacs 28.1
>
> It was added to Emacs 24.1, apparently?

Ah, the 28.1 NEWS says: *** New keybinding 'C-h R' prompts
for an Info manual and displays it.  so it's just the
binding that's new, or maybe the completion?

>> Third it would be really nice if there were an
>> affixation-function that added the one line description of
>> the manual for a completions framework to show when
>> completions-detailed is t.  Perhaps it could get the info
>> from Info-dir-contents?
>
> That would indeed be nice, but it would require opening
> and partially parsing hundreds of info files, so it would
> be painfully slow, I think.

Agreed, though on my system it's more like tens of files so
might not be so bad.  Hence, my suggestion of using
Info-dir-contents if it was non-nil, though this wouldn't
work before there was an *info* buffer.

-- 

Howard





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#54961; Package emacs. Full text available.

Message received at 54961 <at> debbugs.gnu.org:


Received: (at 54961) by debbugs.gnu.org; 16 Apr 2022 09:39:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 16 05:39:41 2022
Received: from localhost ([127.0.0.1]:60740 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nfeu5-00060p-BY
	for submit <at> debbugs.gnu.org; Sat, 16 Apr 2022 05:39:41 -0400
Received: from quimby.gnus.org ([95.216.78.240]:59832)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1nfeu3-00060Z-Ep
 for 54961 <at> debbugs.gnu.org; Sat, 16 Apr 2022 05:39:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=myUvDx7SyZhZSAcY6c+n6btmKMXGGgz8KQhSGv08Ew8=; b=BpZWnVGtGAB0wsaNBdVrgJQ09U
 LRn48+ciQj1TKnjEGmm1TVa7xKmQJoMioIjaTApTLYCxJ0DQsun7yy+/SuG2UEbods1q/q0m/cOFG
 u4S1/iI0tjpNFrcZlAjtoOetCy1VXiiDZKYE2+BJKzl5aeJoFvoczBnIIVZkUWi/78RI=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1nfetv-00061G-4t; Sat, 16 Apr 2022 11:39:33 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Howard Melman <hmelman@HIDDEN>
Subject: Re: bug#54961: 28.1; info-display-manual completions issues
References: <C20CB691-DB53-4C05-B7A5-1B0053C07037@HIDDEN>
Date: Sat, 16 Apr 2022 11:39:30 +0200
In-Reply-To: <C20CB691-DB53-4C05-B7A5-1B0053C07037@HIDDEN> (Howard Melman's
 message of "Fri, 15 Apr 2022 15:04:42 -0400")
Message-ID: <87y205e59p.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Howard Melman <hmelman@HIDDEN> writes: > I'm happy to see
 info-display-manual added to Emacs 28.1 It was added to Emacs 24.1, apparently?
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 54961
Cc: 54961 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Howard Melman <hmelman@HIDDEN> writes:

> I'm happy to see info-display-manual added to Emacs 28.1

It was added to Emacs 24.1, apparently?

> but the completions offered leave something to be desired.

Yes, indeed.

> First, they include manuals named "./" and "../" which
> shouldn't be there.
>
> Second I seem to see duplicates, if I complete with input
> "emacs" I see candidates "emacs" and "emacs.info.gz" and
> similar duplicates for emacs-mime and emacs-gnutls, so 3
> candidates show as 6.  This may be an artifact of the
> macport build I'm using.  It happens from emacs -q and I
> can't easily test on vanilla gnu emacs.

It happens on Debian, too.  And it includes NEWS and README and other
non-manual things.

> Third it would be really nice if there were an
> affixation-function that added the one line description of
> the manual for a completions framework to show when
> completions-detailed is t.  Perhaps it could get the info
> from Info-dir-contents?

That would indeed be nice, but it would require opening and partially
parsing hundreds of info files, so it would be painfully slow, I think.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#54961; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Apr 2022 19:04:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 15 15:04:55 2022
Received: from localhost ([127.0.0.1]:60318 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nfRFX-0006si-FL
	for submit <at> debbugs.gnu.org; Fri, 15 Apr 2022 15:04:55 -0400
Received: from lists.gnu.org ([209.51.188.17]:59562)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hmelman@HIDDEN>) id 1nfRFU-0006sU-Ez
 for submit <at> debbugs.gnu.org; Fri, 15 Apr 2022 15:04:54 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40862)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <hmelman@HIDDEN>) id 1nfRFQ-0003Xl-Er
 for bug-gnu-emacs@HIDDEN; Fri, 15 Apr 2022 15:04:51 -0400
Received: from mail-qv1-xf2e.google.com ([2607:f8b0:4864:20::f2e]:45762)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <hmelman@HIDDEN>) id 1nfRFN-0004FV-HP
 for bug-gnu-emacs@HIDDEN; Fri, 15 Apr 2022 15:04:46 -0400
Received: by mail-qv1-xf2e.google.com with SMTP id b17so6979953qvf.12
 for <bug-gnu-emacs@HIDDEN>; Fri, 15 Apr 2022 12:04:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:content-transfer-encoding:mime-version:subject:message-id:date
 :to; bh=Iizd69NEa9GZZkqsUw1neSFbLu84s9LSemBbHlofMRo=;
 b=A9R2Aozk9l4CPcs9YvF7vDe/aU/SJos7klzjthTubTYVv+YCGkSyAw+O8NseTGvQcb
 RzTXZBWaI3KZ9Fqc7uxCWOhh//FBHTRUkHnWCN27qwgda12+T1bt0xVaXb6YEKwLCQRH
 tDOkQqODXRb2BNIHmbQlp1T+K5VEqj/Q1OMpMCUGnvuRbRN2hqEU50p/s2bTZ/5D4kbW
 CjDMoH7SavFlT5A0kEiuGXTyz4v3NlI35z8P0Yvb2GitLE15DrzcfUUrLz0IzwE28jOK
 oerBbScEbpgq1GlBLfZNQ+CX0/DGQyhGGU0ASk/WZGKN5yRPLLFdWIRotRbI4rfpHHC2
 PnEQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:content-transfer-encoding:mime-version
 :subject:message-id:date:to;
 bh=Iizd69NEa9GZZkqsUw1neSFbLu84s9LSemBbHlofMRo=;
 b=fZDvjkg4LX2p5DQ38s++xN4fyOqkNGEgEbtIPCp5UroPyHn95iN77ImVJcXkOhwBRH
 h3t5ikwAo/RWSvzfEIbwWH0Mw6y6O61Ol05q3G3mzDuyO3amgh4FvGoH3eciKhhfWVeQ
 ewyBXyZAngW8mi4ysqrxnEPqBfu6M/QoiqwbW78onQuzFNeoZsaQS2NhuWRh786nKtMF
 olFH8WH4nN7ainWCBxpji5PIRJ7A/pGe4csn1MZa/2Wu0W4L8WChm7XUfijidjC4MQ6L
 nSbfWJNxR1Lr8w4n+/ixHOyEuWbtEJ4hNYCqtaUNdNkdD8K79n1iZ2f+poa2EU0+fIrm
 NyJA==
X-Gm-Message-State: AOAM532hONezwef5SJcPjkNtj07wRj9XAm0ED8w0eGAljjGfCTBFxIFM
 9ymeM2IzoupTDjRMHrm14KM2nkLTDkmCzQ==
X-Google-Smtp-Source: ABdhPJwYe0gnNshjD07Dd0L5LS7FUzijh34YWZo0T4I6eMTUMZ0mOghWam3+eOlvsCOIRn/lKQwVbg==
X-Received: by 2002:a0c:a942:0:b0:443:a395:cc1f with SMTP id
 z2-20020a0ca942000000b00443a395cc1fmr290478qva.68.1650049484150; 
 Fri, 15 Apr 2022 12:04:44 -0700 (PDT)
Received: from smtpclient.apple (pool-108-26-204-101.bstnma.fios.verizon.net.
 [108.26.204.101]) by smtp.gmail.com with ESMTPSA id
 j15-20020ac85f8f000000b002f1d3ec5d14sm3211681qta.69.2022.04.15.12.04.43
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 15 Apr 2022 12:04:43 -0700 (PDT)
From: Howard Melman <hmelman@HIDDEN>
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Subject: 28.1; info-display-manual completions issues
Message-Id: <C20CB691-DB53-4C05-B7A5-1B0053C07037@HIDDEN>
Date: Fri, 15 Apr 2022 15:04:42 -0400
To: GNU Emacs <bug-gnu-emacs@HIDDEN>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Received-SPF: pass client-ip=2607:f8b0:4864:20::f2e;
 envelope-from=hmelman@HIDDEN; helo=mail-qv1-xf2e.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

I'm happy to see info-display-manual added to Emacs 28.1 but
the completions offered leave something to be desired.

First, they include manuals named "./" and "../" which
shouldn't be there.

Second I seem to see duplicates, if I complete with input
"emacs" I see candidates "emacs" and "emacs.info.gz" and
similar duplicates for emacs-mime and emacs-gnutls, so 3
candidates show as 6.  This may be an artifact of the
macport build I'm using.  It happens from emacs -q and I
can't easily test on vanilla gnu emacs.

Third it would be really nice if there were an
affixation-function that added the one line description of
the manual for a completions framework to show when
completions-detailed is t.  Perhaps it could get the info
from Info-dir-contents?

Howard

In GNU Emacs 28.1 (build 1, x86_64-apple-darwin20.6.0, Carbon Version =
164 AppKit 2022.6)
of 2022-04-09 built on Mac-1649520554451.local
Repository revision: ee79b048bbb2fd4a962dfb2204cc7a2f0d5237d8
Repository branch: 28.1-mac-9.0-CI
Windowing system distributor 'Apple Inc.', version 11.6.5
System Description:  macOS 11.6.5

Configured using:
'configure --with-mac
=
--enable-locallisppath=3D/usr/local/share/emacs/site-lisp:/opt/homebrew/sh=
are/emacs/site-lisp
=
--enable-mac-app=3D/Users/runner/work/homebrew-emacsmacport/homebrew-emacs=
macport/build-scripts/emacs-source/tmproot
=
--prefix=3D/Users/runner/work/homebrew-emacsmacport/homebrew-emacsmacport/=
build-scripts/emacs-source/tmproot
--enable-mac-self-contained --with-modules'





Acknowledgement sent to Howard Melman <hmelman@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#54961; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 16 Apr 2022 11:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.