From unknown Fri Aug 15 21:22:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19880: 24.4; info-look.el latex2e.info setup Resent-From: Kevin Ryde Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Feb 2015 00:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19880 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 19880@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.142404721324705 (code B ref -1); Mon, 16 Feb 2015 00:41:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2015 00:40:13 +0000 Received: from localhost ([127.0.0.1]:45022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YN9jQ-0006QO-5s for submit@debbugs.gnu.org; Sun, 15 Feb 2015 19:40:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48617) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YN9jN-0006QB-Ri for submit@debbugs.gnu.org; Sun, 15 Feb 2015 19:40:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YN9jH-0001We-I2 for submit@debbugs.gnu.org; Sun, 15 Feb 2015 19:40:04 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN9jH-0001WK-EG for submit@debbugs.gnu.org; Sun, 15 Feb 2015 19:40:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN9jG-0001Cs-8Y for bug-gnu-emacs@gnu.org; Sun, 15 Feb 2015 19:40:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YN9jC-0001Rt-3f for bug-gnu-emacs@gnu.org; Sun, 15 Feb 2015 19:40:02 -0500 Received: from nm28.bullet.mail.bf1.yahoo.com ([98.139.212.187]:58114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN9jB-0001Rg-UZ for bug-gnu-emacs@gnu.org; Sun, 15 Feb 2015 19:39:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.au; s=s2048; t=1424047196; bh=5shG6VrdSvCYkuXXFpSYGTA2zodui1fJa57VGLLzB20=; h=From:To:Subject:Date:From:Subject; b=hvbrNpBSL520xNmQiOc0Epvir3hjDAtr745YZDugq80MBJhHWFMNchugbshf8AasChyH0u5QahVKp/1aWGD3WJgStibfWLbtu9sVsssnyae0l7mMxkE1Vrdb4gekyGUJ5wb1SnG6tU7tS4s8+wo9y1epanvx21HfuK+UmkqQx48SYqFHgIELy0JanLzw4nyk2jsAbCvWeKz4sinFb3tfKnIP2Ftc0nm1lnBzabEixe9NmSEuFlk+UJtbmp99wuRmGkj3ZWSjkU9k1p6JCPcPB2O8IGAx+CZKTEepRj0UeDSvDRRzj8wNXSmakOzxhgyhL0Z5g3LLhH9pCtckiyeuPg== Received: from [66.196.81.171] by nm28.bullet.mail.bf1.yahoo.com with NNFMP; 16 Feb 2015 00:39:56 -0000 Received: from [68.142.230.78] by tm17.bullet.mail.bf1.yahoo.com with NNFMP; 16 Feb 2015 00:39:56 -0000 Received: from [127.0.0.1] by smtp235.mail.bf1.yahoo.com with NNFMP; 16 Feb 2015 00:39:56 -0000 X-Yahoo-Newman-Id: 637904.69497.bm@smtp235.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: JKsjYJ0VM1k1Jaw12kf1_K5FB5tHGHdJ2zfJfHO22PyD9ES o7p4B.ghA15IjoEPzwMH75xGMBkvivZnixp2Q9yFcId1yPQx7.rvAawoSDZr cMsALoYGtIU3wg5Ii2JvKqrH44m32H8qSZqw28x3CGIoclH283IOUQ0bgkaD 3Icw5Xv0CDWGDoeScsfjvgfF_6Q6iXuUhebwAg6eCunjP4bEoTrQmIQntsR1 DHBG7omu5JTv74GpDeQLJJfT_kzo5DLrar3_39IEYkKcaCqm0047wULnunF7 WuqHLYbgJ_YHa8hoWb1Z6MQtOMhvjIo3G_eIlfwxXaRLiN2AoZ6UvOcB1xri GqrJ20x8o3TFOPV2.U_mE.jrEIfrIEBB.5FPIhKEsUauZuiOmEw8v_ZqYK9E 9_jzK29C6MnQA8ZpHOyiuU_Q5d838950aMoWTJss3r5hDMAwMzyLopXKBlhc bk5w8rN9Y15YN.l1dqgI0XtrTvY3qXmySEgDLa4HHLmYkFLJRYhHHraerTM1 FCPUyOI6yOoYehZ9ijeZIpuhonHzeXhWi3cUEDhNumiE7Bk9unlVSuvar8LV apQXGrOye_t7aN0xSWz2bEMLB9_cSF2r_KTvIi5ARhLOPbyKcG2IG6IPHRcY TMhQNDbJbZEzUnIFo.MhO2MpL_PC7O88i0qFqcSQ1Z9SWGrQr X-Yahoo-SMTP: U8NKAo6swBAxDIMUovTitGGHebxdYQBZ5A-- From: Kevin Ryde Date: Mon, 16 Feb 2015 11:31:53 +1100 Message-ID: <87zj8ed7d2.fsf@blah.blah> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) If info-look.el is loaded before info-mode has been used then a latex2e.info file is not noticed for latex-mode help. For example [ have a copy of latex2e.info in /usr/share/info ] emacs -Q /tmp/foo.ltx \part ;; buffer content C-h S => [message] Cannot access Info node `(latex)Command Index' [error} info-lookup: Not documented as a symbol: \cdots I hoped it could open latex2e.info, per the conditional in info-look.el (if (Info-find-file "latex2e" t) ;; From http://home.gna.org/latexrefman "(latex2e)Command Index" "(latex)Command Index") I think `Info-find-file' doesn't work until `info-initialize' has run. Perhaps chuck that or equivalent in there. In GNU Emacs 24.4.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2014-12-20 on brahms, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11602901 Configured using: `configure --build i586-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --build i586-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --without-gconf --without-gsettings 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro' -- The sigfile lesser-known SI units series: milliHelen - the amount of beauty required to launch a ship. From unknown Fri Aug 15 21:22:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#19880: 24.4; info-look.el latex2e.info setup Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Aug 2019 19:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19880 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Kevin Ryde Cc: 19880@debbugs.gnu.org Received: via spool by 19880-submit@debbugs.gnu.org id=B19880.156477399529518 (code B ref 19880); Fri, 02 Aug 2019 19:27:01 +0000 Received: (at 19880) by debbugs.gnu.org; 2 Aug 2019 19:26:35 +0000 Received: from localhost ([127.0.0.1]:57747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htdCF-0007g2-6C for submit@debbugs.gnu.org; Fri, 02 Aug 2019 15:26:35 -0400 Received: from quimby.gnus.org ([80.91.231.51]:34642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htdCA-0007fn-R0 for 19880@debbugs.gnu.org; Fri, 02 Aug 2019 15:26:33 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htdC5-0005Di-Iy; Fri, 02 Aug 2019 21:26:27 +0200 From: Lars Ingebrigtsen References: <87zj8ed7d2.fsf@blah.blah> Date: Fri, 02 Aug 2019 21:26:24 +0200 In-Reply-To: <87zj8ed7d2.fsf@blah.blah> (Kevin Ryde's message of "Mon, 16 Feb 2015 11:31:53 +1100") Message-ID: <874l2znzbz.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Kevin Ryde writes: > If info-look.el is loaded before info-mode has been used then a > latex2e.info file is not noticed for latex-mode help. For example > > [ have a copy of latex2e.info in /usr/share/info ] > emacs -Q [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Kevin Ryde writes: > If info-look.el is loaded before info-mode has been used then a > latex2e.info file is not noticed for latex-mode help. For example > > [ have a copy of latex2e.info in /usr/share/info ] > emacs -Q /tmp/foo.ltx > \part ;; buffer content > C-h S > => > [message] Cannot access Info node `(latex)Command Index' > [error} info-lookup: Not documented as a symbol: \cdots > > I hoped it could open latex2e.info, per the conditional in info-look.el > > (if (Info-find-file "latex2e" t) > ;; From http://home.gna.org/latexrefman > "(latex2e)Command Index" > "(latex)Command Index") > > I think `Info-find-file' doesn't work until `info-initialize' has run. > Perhaps chuck that or equivalent in there. Makes sense, so I've done that on the Emacs trunk. Looking at `info-initialize', it doesn't look destructive, so it should be safe to run here. If this is a mistake, please feel free to revert this change. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 02 15:26:39 2019 Received: (at control) by debbugs.gnu.org; 2 Aug 2019 19:26:39 +0000 Received: from localhost ([127.0.0.1]:57750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htdCJ-0007gJ-FE for submit@debbugs.gnu.org; Fri, 02 Aug 2019 15:26:39 -0400 Received: from quimby.gnus.org ([80.91.231.51]:34666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htdCH-0007gB-Tj for control@debbugs.gnu.org; Fri, 02 Aug 2019 15:26:38 -0400 Received: from 77.18.62.220.tmi.telenormobil.no ([77.18.62.220] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htdCF-0005Dr-Ac for control@debbugs.gnu.org; Fri, 02 Aug 2019 21:26:37 +0200 Date: Fri, 02 Aug 2019 21:26:34 +0200 Message-Id: <8736ijnzbp.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #19880 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 19880 fixed close 19880 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 TVD_RCVD_IP Message was received from an IP address -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 19880 fixed close 19880 27.1 quit