From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Howard Melman Newsgroups: gmane.emacs.bugs Subject: bug#54961: 28.1; info-display-manual completions issues Date: Wed, 20 Apr 2022 15:10:48 -0400 Message-ID: <550AC908-448C-4AFD-A098-69D40022B304@gmail.com> 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> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39857"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54961@debbugs.gnu.org, Lars Ingebrigtsen , Juri Linkov To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 20 21:14:26 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 1nhFmU-000A7q-I4 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Apr 2022 21:14:26 +0200 Original-Received: from localhost ([::1]:58962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhFmT-0004gh-CI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Apr 2022 15:14:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhFjD-0007Lf-1p for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 15:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53599) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhFjC-0002LI-7E for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 15:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhFjB-0000jn-UM for bug-gnu-emacs@gnu.org; Wed, 20 Apr 2022 15:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Apr 2022 19:11:01 +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.16504818572824 (code B ref 54961); Wed, 20 Apr 2022 19:11:01 +0000 Original-Received: (at 54961) by debbugs.gnu.org; 20 Apr 2022 19:10:57 +0000 Original-Received: from localhost ([127.0.0.1]:47496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhFj7-0000jT-G0 for submit@debbugs.gnu.org; Wed, 20 Apr 2022 15:10:57 -0400 Original-Received: from mail-qt1-f178.google.com ([209.85.160.178]:36649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhFj5-0000jC-L8 for 54961@debbugs.gnu.org; Wed, 20 Apr 2022 15:10:56 -0400 Original-Received: by mail-qt1-f178.google.com with SMTP id bb21so1702384qtb.3 for <54961@debbugs.gnu.org>; Wed, 20 Apr 2022 12:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Bfi7hNqDt2cWGcAg3M/zOs6ObwcLIqYN2mA3GqddXcM=; b=F2d8KjWsZShj5Wd1+0my/QNcdtHZGkdmU02YXAloZc9FrRzbUbpl5OCAakSKRBRik0 dkxneSRyKU8LLU4DvChXafBSpTVvpCLBhuOvEOJLScStbgKiEI6Ruc3jjY4FoNqZxrJX tZ35tg6XgO6bImMFmG8nZf2PcSES+O/yDEEkiXwjrOmcQH2cQyX6bNKdo2Cymn5A6VCd vX5ShsrfdeUkw6BibJWPg3yFildEKYyeYjYeGPgITSdIgLSOnQiVHyFKVtnMtnXbB4SV BdgVWILk0a6hS+YCcGuXNvFqcGNiEGc343hpwhqBJoP7cfl92EP2ibhOHapnmvIzWe+X Xiow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Bfi7hNqDt2cWGcAg3M/zOs6ObwcLIqYN2mA3GqddXcM=; b=gwCv3lRxpYdjFCR7BbopKlxL8PbxwWQFGMM1jHUSzY7d9wKvGo8HHl8Zy2HYRNx5bm yZo63939may9wkb2Erlw2D0UNJiOqHMyfz2jpmz7NVH81Qf4tFzBNL9WMuXcCNsgvn1q 03sUIPh51F0AUXEiIlBQ5fJ5w+hOahwGsrKgiDewfdZz3W5ZuQVeSFQKQfhlgGgumsvw FWWWGh4d66X0W22vhme5c4jDUga1k/xZyWuYch7hpzOaqQ/e37LtDJNE0AeV0OPZ/xES qQhcTUCXXmg2vWXYWNNxNs8sxLAnNueR7MzDW9JK4LphMREN+uL7uDgG0h7uCAP5w4UC Oj2A== X-Gm-Message-State: AOAM533YCwPRGGeHXq20f8ocSohl+chFi3q9gowPqOxU12Cd/ybaHFpw AJZnebaA5fR8GHODxg9Gd00= X-Google-Smtp-Source: ABdhPJyWlZ5j1ANPaX0ck9VQpg7lct741FRWitrnEbZ0z9w/wI5wBrB8AHqZKlH+K2k9bPyf5dWRRA== X-Received: by 2002:ac8:7358:0:b0:2f1:e913:3594 with SMTP id q24-20020ac87358000000b002f1e9133594mr14902315qtp.462.1650481850002; Wed, 20 Apr 2022 12:10:50 -0700 (PDT) Original-Received: from smtpclient.apple (pool-108-26-204-101.bstnma.fios.verizon.net. [108.26.204.101]) by smtp.gmail.com with ESMTPSA id h186-20020a376cc3000000b00699c789a757sm1954402qkc.132.2022.04.20.12.10.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Apr 2022 12:10:49 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) 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:230323 Archived-At: On Apr 20, 2022, at 1:01 PM, Alan Third wrote: >=20 > My uneducated guess is that it's possible to have a "UNIX" style > install already on a machine, which might be in /usr and then want to > run the self-contained version and not pick up the files in /usr > before the self-contained version's files. >=20 > I've no idea if that's plausible. Yes this sounds plausible. MacOS comes with a /usr/share/info/ with some manuals for the very old versions of somethings it ships with. homebrew, a popular package manager for mac installs manuals in /usr/local/share/info/. =20 As you said, apps on a mac are installed in a special directory type, ending in .app and that the window manager knows how to use. Double clicking on Emacs.app runs the program inside it and it can be dragged to the trash to delete. In the Emacs.app is an info/ directory with the manuals emacs ships with. =20 It definitely makes sense that I'd want these three directories ordered = as: ("/Applications/GnuEmacs.app/Contents/Resources/info/" "/usr/local/share/info/" "/usr/share/info/") IIRC on other systems when building emacs it would install the emacs = manuals in a standard place. In the NS build it would put it in the .app and of=20= course something would need to tell the emacs info reader where that = place is. It=20 sounds like older code modified INFOPATH via another NS trick and that confused users and instead this code just modifies Info-directory-list directly, which makes more sense. I'm not sure a standalone info reader would find it but if that was wanted a user could set INFOPATH themselves to include the Emacs.app path. I'm not sure how this interacts with package info files installed in ~/.emacs.d/elpa/. You'd want those directories ahead of the Emacs.app one and that is what I see happening. So I think all this is fine. I think my problem with headings disappearing is entirely the effect of Info-streamline-headings and it's default value that merges all headings with Emacs in them to one Emacs heading. That isn't what I want, I'm not sure if that's what's wanted by default since the dir that ships with Emacs has more useful and specific headings, though I = think they could be improved. I haven't looked if this streamlining preserves ordering, but the order of manuals listed in the constructed dir need not be the same as the order of Info-directory-list where they will be searched for. The first is just presentation and is what I was = commenting about. Howard=