AUCTeX configuration, hardwiring etc...

David Kastrup <[email protected]>
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
Hi folks, I have decided that we won't need all those special options
after all.  Really none of them.

Why?  Because we can make do by just making everything relative to
lispdir, then using

make install-el # installs in ${lispdir}/preview
make lispdir=that install-elc
make lispdir=whatever install-startup

The only problem is that the startup file needs to do something like

(defvar TeX-lisp-directory
        (if (file-directory-p
              (expand-file-name "auctex" (file-name-directory load-file-name)))
            (expand-file-name "auctex" (file-name-directory load-file-name))
           @lisplispdir@))

Which is sick.  So maybe we need something like
--with-package-lispdir[=auctex]

as a configure option that will hardcode

      (expand-file-name "auctex" (file-name-directory load-file-name))
into @lisplispdir@

Sigh.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.