all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Kevin Ryde <user42_kevin@yahoo.com.au>
Cc: 19880@debbugs.gnu.org
Subject: bug#19880: 24.4; info-look.el latex2e.info setup
Date: Fri, 02 Aug 2019 21:26:24 +0200	[thread overview]
Message-ID: <874l2znzbz.fsf@mouse.gnus.org> (raw)
In-Reply-To: <87zj8ed7d2.fsf@blah.blah> (Kevin Ryde's message of "Mon, 16 Feb 2015 11:31:53 +1100")

Kevin Ryde <user42_kevin@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





      reply	other threads:[~2019-08-02 19:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-16  0:31 bug#19880: 24.4; info-look.el latex2e.info setup Kevin Ryde
2019-08-02 19:26 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874l2znzbz.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=19880@debbugs.gnu.org \
    --cc=user42_kevin@yahoo.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.