GNU bug report logs - #19880
24.4; info-look.el latex2e.info setup

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42_kevin <at> yahoo.com.au>

Date: Mon, 16 Feb 2015 00:41:01 UTC

Severity: minor

Tags: fixed

Found in version 24.4

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19880 in the body.
You can then email your comments to 19880 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19880; Package emacs. (Mon, 16 Feb 2015 00:41:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kevin Ryde <user42_kevin <at> yahoo.com.au>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 16 Feb 2015 00:41:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kevin Ryde <user42_kevin <at> yahoo.com.au>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4; info-look.el latex2e.info setup
Date: Mon, 16 Feb 2015 11:31:53 +1100
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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19880; Package emacs. (Fri, 02 Aug 2019 19:27:01 GMT) Full text and rfc822 format available.

Message #8 received at 19880 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Kevin Ryde <user42_kevin <at> yahoo.com.au>
Cc: 19880 <at> debbugs.gnu.org
Subject: Re: bug#19880: 24.4; info-look.el latex2e.info setup
Date: Fri, 02 Aug 2019 21:26:24 +0200
Kevin Ryde <user42_kevin <at> yahoo.com.au> 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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 02 Aug 2019 19:27:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 19880 <at> debbugs.gnu.org and Kevin Ryde <user42_kevin <at> yahoo.com.au> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 02 Aug 2019 19:27:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 31 Aug 2019 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 240 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.