From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#54961: 28.1; info-display-manual completions issues Date: Tue, 19 Apr 2022 21:55:34 +0300 Message-ID: <83y200ucm1.fsf@gnu.org> References: <87wnfpccuu.fsf@gnus.org> <08B1B8C9-F276-4B4A-BC41-8719124A5C9A@gmail.com> <868rs2tm4w.fsf@mail.linkov.net> <8BC9ABD6-CC64-492B-8DF9-946F5348D52B@gmail.com> <83wnflvdms.fsf@gnu.org> <6D90FA16-36D2-4C4D-9872-AEB9BA858E8E@gmail.com> <835yn5ui65.fsf@gnu.org> <36B3DB66-D36B-428A-836E-B774897918BB@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35779"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alan@idiocy.org, 54961@debbugs.gnu.org, larsi@gnus.org, juri@linkov.net To: Howard Melman , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 19 20:57:49 2022 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 1ngt2q-00094V-0h for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Apr 2022 20:57:48 +0200 Original-Received: from localhost ([::1]:49550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngt2p-0001oA-49 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Apr 2022 14:57:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngt1A-0008Mw-2A for bug-gnu-emacs@gnu.org; Tue, 19 Apr 2022 14:56:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50253) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngt19-0004R7-PI for bug-gnu-emacs@gnu.org; Tue, 19 Apr 2022 14:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngt18-0005E7-Or for bug-gnu-emacs@gnu.org; Tue, 19 Apr 2022 14:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Apr 2022 18:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54961 X-GNU-PR-Package: emacs Original-Received: via spool by 54961-submit@debbugs.gnu.org id=B54961.165039456120077 (code B ref 54961); Tue, 19 Apr 2022 18:56:02 +0000 Original-Received: (at 54961) by debbugs.gnu.org; 19 Apr 2022 18:56:01 +0000 Original-Received: from localhost ([127.0.0.1]:44149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngt12-0005De-JC for submit@debbugs.gnu.org; Tue, 19 Apr 2022 14:56:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:59870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngt10-0005DO-Lq for 54961@debbugs.gnu.org; Tue, 19 Apr 2022 14:55:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngt0s-0004Os-A6; Tue, 19 Apr 2022 14:55:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kdhn4QU5CSCzty0CsJNXCv7GkvwExF7cGVkz0R5dROk=; b=Cd4Nx6mjtN6o U4djcn9PA3xvTcuJo5NpP0QelRONTLFl/r/yGVprXlSZbqujtkJ+K50dHu0B1V4sYAO2E+mIOpZsV HYQkzqYlX7+yOX+/MILvSTsPrduagyRoyoThgfrl1ta6p8GG9ypNoiEKpED4UQ0faZAMmSP41lKiU C86iOO4qXAPT57cm4Q4xfpitD4RugysgrB1KLfN8mVbugecXe87BepRPQXh4f5X11i2kCfC2TdaE9 jGQxl+Af/grpk4mMnFTb4UXir9w4PnTSLPq1dGwex0sYHhgO1ueFlO49GDz+10V7nYOyQOae+Edg7 xKD9l7S8XuZ67ZyuiU5n8A==; Original-Received: from [87.69.77.57] (port=1932 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngt0r-0003RC-OI; Tue, 19 Apr 2022 14:55:46 -0400 In-Reply-To: <36B3DB66-D36B-428A-836E-B774897918BB@gmail.com> (message from Howard Melman on Tue, 19 Apr 2022 14:43:06 -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" Xref: news.gmane.io gmane.emacs.bugs:230259 Archived-At: > From: Howard Melman > Date: Tue, 19 Apr 2022 14:43:06 -0400 > Cc: Alan Third , > Juri Linkov , > Lars Ingebrigtsen , > 54961@debbugs.gnu.org > > On Apr 19, 2022, at 12:55 PM, Eli Zaretskii wrote: > > > >> I have installed various emacs packages via package-install. > > >> INFO-DIR-SECTION Emacs misc features > >> START-INFO-DIR-ENTRY > >> * Embark: (embark). Emacs Mini-Buffer Actions Rooted in Keymaps. > >> END-INFO-DIR-ENTRY > > > > I will ask again: are those manuals installed using the install-info > > command? That is the command responsible for adding manuals to the > > DIR menus while paying attention to their sections. > > I thought I answered by saying I used package-install. I don't know what > it does (it doesn't seem to call install-info) but the above snippet is from > ~/.emacs.d/elpa/embark-20220418.2042/embark.info > > and that directory is prepended onto Info-directory-list and contains > a dir file that says: > > Emacs misc features > * Embark: (embark). Emacs Mini-Buffer Actions Rooted in Keymaps. > > My Info-directory-list looks like this, with another dozen elpa dirs before > the Emacs.app one (which is the "self-contained i.e. relocatable NS build"). > > ("/Users/hmelman/.emacs.d/elpa/embark-20220418.2042" > "/Applications/GnuEmacs.app/Contents/Resources/info/" > "/usr/local/share/info/" > "/usr/share/info/") > > I guess info-insert-dir is supposed to collect these and it seems there's an > issue with it using the sections? I still don't know if that's mac-specific > or not. If this is how package installation works, then it's either a bug in package installation, or a missing feature in info.el. info.el doesn't pay any attention to the sections, it just concatenates all the DIR files into a single DIR node. The assumption is that Info files are installed using install-info, and that all the manuals that belong to some section are already arranged under that section in a single DIR file. If we want to support individual DIR files for each package, which would mean having the same section mentioned on multiple DIR files, I guess Info-insert-dir should be taught to rearrange the menu items such as that all the items from the same section wound up together. (This might make Info startup slower, though.) > I had asked if it's a bug that I don't see sections like "Emacs misc features" > and you didn't answer. I guess it is? Do you (or anyone) see them on a > non-mac system? Someone else who installs packages via package.el will have to answer that, because I always install any packages manually by running install-info, and thus have all of their menu items neatly arranged in a single system-wide DIR file. Thus, I never have these problems. I've CC'ed Stefan who might know more about this.