Bug 201957 - Autoload Instructions for the emacs-auctex package
Summary: Autoload Instructions for the emacs-auctex package
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs-auctex
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jonathan Underwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-09 22:34 UTC by Nick Roberts
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-08-12 10:19:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nick Roberts 2006-08-09 22:34:11 UTC
Description of problem:

In the package emacs-auctex-11.83 the README file says:

       The installation routine tries to make the modes provided by AUCTeX
    the default for all supported file types.  If this does not happen in
    your case, add
         (load "auctex.el" nil t t)

but auctex.el is not part of the package.  I think it would be a good idea
to say (something like) somewhere:

   Add the following to your .emacs file to autoload auctex:

  (setq load-path (append load-path '("/usr/share/emacs/site-lisp/auctex")))

  (autoload 'TeX-load-hack "/usr/share/emacs/site-lisp/tex-site")
  (TeX-load-hack)

so that the file don't have to be permanently/manually loaded.

Also I still don't know how to autoload the preview part.

Nick                                *** Emacs Mode for GDB ***
                             http://www.inet.net.nz/~nickrobnickrob/

Comment 1 Jonathan Underwood 2006-08-10 13:06:07 UTC
Hi Nick,

I'm confused by your report - if you install the emacs-auctex package from FE,
you shouldn't need to add anything to your .emacs at all - it should just work.
Are you just pointing out a documentation problem in the README file, or are you
also having a problem getting auctex and preview to work?

Comment 2 Nick Roberts 2006-08-12 10:19:43 UTC
I was trying to use it with Emacs 22 that I've checked out from Savannah which
doesn't have /usr/share/emacs/site-lisp in it's load-path.  Sorry for the
noise.

Comment 3 Jonathan Underwood 2006-08-12 10:51:23 UTC
Hi Nick - OK, no problem, thanks for closing the bug.

You've probably found the files already, but if you look in
/usr/share/emacs/site-lisp/site-start.d there are the startup files for auctex
and preview.

I also suspect you may need to re-byte compile the files - I am not sure that
the lisp interpreter in emacs maintains binary compatibility for compiled lisp
files between versions. 

Good luck.


Note You need to log in before you can comment on or make changes to this bug.