From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16407: Info-directory-list should always put this Emacs's info direc first Date: Fri, 10 Jan 2014 09:16:26 +0200 Message-ID: <838uuocnn9.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1389338236 30483 80.91.229.3 (10 Jan 2014 07:17:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2014 07:17:16 +0000 (UTC) Cc: 16407@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 10 08:17:22 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W1WLI-0005F4-CR for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Jan 2014 08:17:20 +0100 Original-Received: from localhost ([::1]:55613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1WLH-0004AC-QP for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Jan 2014 02:17:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1WL9-00049r-OX for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2014 02:17:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1WL1-0004GZ-Bm for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2014 02:17:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1WL1-0004GV-8p for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2014 02:17:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W1WL0-0003vt-Hg for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2014 02:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Jan 2014 07:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16407 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16407-submit@debbugs.gnu.org id=B16407.138933819515072 (code B ref 16407); Fri, 10 Jan 2014 07:17:02 +0000 Original-Received: (at 16407) by debbugs.gnu.org; 10 Jan 2014 07:16:35 +0000 Original-Received: from localhost ([127.0.0.1]:44653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W1WKY-0003v1-1O for submit@debbugs.gnu.org; Fri, 10 Jan 2014 02:16:34 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:53749) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W1WKT-0003um-9Y for 16407@debbugs.gnu.org; Fri, 10 Jan 2014 02:16:30 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MZ600800C15V700@a-mtaout21.012.net.il> for 16407@debbugs.gnu.org; Fri, 10 Jan 2014 09:16:27 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MZ6008W5C7FUM10@a-mtaout21.012.net.il>; Fri, 10 Jan 2014 09:16:27 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:83215 Archived-At: > From: Glenn Morris > Date: Fri, 10 Jan 2014 00:46:39 -0500 > > 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 (even before INFOPATH entries). That leaves system administrators no means of forcing a specific version of Info manual to be found by default. With INFOPATH taking precedence, they can. Also, Emacs comes with a few manuals that can have other versions from elsewhere (like info.info or gnus.info). > I assume the current logic dates from a time when it was thought likely > that a site might want to customize the Emacs info pages. I don't think > this happens any more. What I think does happen is people having > multiple versions of Emacs installed. Is this the only situation where the current arrangement doesn't DTRT, or are there more? If this is the only one, then you cannot solve it successfully: the Info system simply doesn't support well the use case where several different manuals have identical names. The only way to have the correct results is either by "C-u C-h i" and point Emacs to the specific file name, or run all but one version uninstalled. > In this case, I think Emacs version N should always display the info > pages associated with version N. So Emacs should always put its own > info directory first. What if the user installs newer versions of, say, Gnus or Org from their respective repositories?