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.devel Subject: Re: master ec9523a: Add a keybinding to the help menu to display manuals Date: Thu, 15 Oct 2020 16:51:38 +0300 Message-ID: <83o8l3y4ut.fsf@gnu.org> References: <20201013010930.20500.91773@vcs0.savannah.gnu.org> <20201013010931.ABE62209AA@vcs0.savannah.gnu.org> <87k0vs4eun.fsf@rub.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27898"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, stefankangas@gmail.com, emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 15 16:02:41 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kT3q4-00079Z-TZ for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Oct 2020 16:02:40 +0200 Original-Received: from localhost ([::1]:43936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kT3q3-000538-VL for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Oct 2020 10:02:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kT3fD-0001qS-Sv for emacs-devel@gnu.org; Thu, 15 Oct 2020 09:51:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50687) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kT3fD-0001xw-AJ; Thu, 15 Oct 2020 09:51:27 -0400 Original-Received: from [176.228.60.248] (port=1571 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kT3fB-0003pW-1C; Thu, 15 Oct 2020 09:51:26 -0400 In-Reply-To: <87k0vs4eun.fsf@rub.de> (message from Stephen Berman on Thu, 15 Oct 2020 00:33:52 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:257729 Archived-At: > From: Stephen Berman > Date: Thu, 15 Oct 2020 00:33:52 +0200 > Cc: Lars Ingebrigtsen , emacs-devel@gnu.org > > And it's even worse if Info-directory-list includes directories that > contain lots of extensionless files that aren't info files, such as, for > example, the AUCTeX package from GNU ELPA, which contains such files as > ChangeLog, COPYING, GNUmakefile, etc., all of which are listed in the > *Completions* buffer, and if you choose one of them, it gets visited in > Info mode, which throws the user-error: "No such node or anchor: Top". Why do we use that directory for Info files? It sounds like a royal mess; info.el was never meant to face these problems. We have a docs directory, where we keep Texinfo sources of the documentation; why not keep the Info files there? Then we'd only need to avoid *.texi files as completion candidates (which is a good idea anyway). Alternatively, we could, of course, have a list of files in the package's main directory that need to be skipped when looking for the Info files (ChangeLog, COPYING, GNUmakefile, *.el, *.elc, etc.). But I think using a separate directory is much cleaner.