all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Calling Info-find-file from other parts of Emacs
@ 2006-06-11 12:51 Ralf Angeli
  2006-06-11 19:26 ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Ralf Angeli @ 2006-06-11 12:51 UTC (permalink / raw)


Hi,

AUCTeX currently uses `Info-find-file' for checking if certain info
files are available.  There are two problems with that.

First, the function is not autoloaded.  That's why AUCTeX autoloads it
manually, which of course fails with Emacs 21 where the function is
not present and which will break should the function ever be moved to
another file.  (I think, I can code around that problem.)  So maybe
the function can be autoloaded?

Second, if the function is called before the canonical entry point
`info' (or `Info-goto-node' for that matter) is called, the variable
`Info-directory-list' will not be initialized and search for any file
will fail.  Could initialization of `Info-directory-list' be done by
`Info-find-file' as well, or maybe even by loading info.el?

With the above changes the function could be used reliably by other
parts of Emacs.  Does this make sense or is there another way of
checking for the availability of info files?

-- 
Ralf

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-07-02 15:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-11 12:51 Calling Info-find-file from other parts of Emacs Ralf Angeli
2006-06-11 19:26 ` Eli Zaretskii
2006-06-11 22:03   ` Ralf Angeli
2006-06-11 22:50     ` Kevin Ryde
2006-06-13 13:33       ` Juri Linkov
2006-06-16  0:13         ` Kevin Ryde
2006-06-21 18:06           ` Stefan Monnier
2006-06-24 23:48             ` Kevin Ryde
2006-07-02 15:57               ` Stefan Monnier

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.