From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#16407: Info-directory-list should always put this Emacs's info direc first Date: Sat, 23 Apr 2022 16:28:19 +0200 Message-ID: <87tuajri0s.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13782"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 16407@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 23 16:29:11 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 1niGl4-0003NR-LW for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Apr 2022 16:29:10 +0200 Original-Received: from localhost ([::1]:54980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niGl3-00042n-H6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Apr 2022 10:29:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niGkw-00042U-NT for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2022 10:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1niGkw-000331-FR for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2022 10:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1niGkw-0000Pm-9s for bug-gnu-emacs@gnu.org; Sat, 23 Apr 2022 10:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Apr 2022 14:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16407 X-GNU-PR-Package: emacs Original-Received: via spool by 16407-submit@debbugs.gnu.org id=B16407.16507241101533 (code B ref 16407); Sat, 23 Apr 2022 14:29:02 +0000 Original-Received: (at 16407) by debbugs.gnu.org; 23 Apr 2022 14:28:30 +0000 Original-Received: from localhost ([127.0.0.1]:56869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niGkQ-0000Of-LD for submit@debbugs.gnu.org; Sat, 23 Apr 2022 10:28:30 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:50018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1niGkP-0000OQ-A2 for 16407@debbugs.gnu.org; Sat, 23 Apr 2022 10:28:29 -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=QnUrNolMR2J6DZ1aFB3eA67BB182cgNjqsInndTPeBY=; b=k+0qvAIk4lHpyO/soBP+yHnbw9 wW/SQ9NfTConNMfV2k+l9WThwgykISF3IZk50zlaQSk9yyMTMtrCP6jjI7jyL2nc9hZNtH2O1hoSb ow9yfJYYcFlaQ0bOMlpwIgwoQxO9dvtbL9em4DJgrDDkI30aCSWCiesZgMARvG9rqxQw=; Original-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 ) id 1niGkG-0004r1-Lz; Sat, 23 Apr 2022 16:28:23 +0200 X-Now-Playing: Liturgy's _Origin of the Alimonies_: "Apparition of the Eternal Church" In-Reply-To: (Glenn Morris's message of "Fri, 10 Jan 2014 00:46:39 -0500") 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:230492 Archived-At: Glenn Morris writes: > The initialization of Info-directory-list is rather complicated. > Part of it uses this logic: > > Therefore, the directory of Info files that come with Emacs normally > should come last (so that local files override standard ones), unless > Emacs is installed into a non-standard directory. In the latter case, > the directory of Info files that come with Emacs should be first in > this list. > > I don't think this logic makes sense any more. I think the directory of > Info files that come with Emacs should *always* be placed at the front of > the result I agree completely. The info setup is pretty convoluted, so I'm not quite sure what the current state is. This is the default value in "emacs -Q" in Emacs 29: Info-directory-list ("/home/larsi/src/emacs/trunk/info/" "/usr/share/info/") But it's with an uninstalled Emacs. Reading Info-default-dirs, it looks like it's trying to do the right thing? So has this been solved already at some point? > (even before INFOPATH entries). But I'm not sure about that. I don't think distributions set that by default, but users do to alter stuff, so we should respect it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no