Hi Keita,

[I've stripped the Cc list]

Ikumi Keita <ik...@ikumi.que.jp> writes:

> It seems that we have to arrange the Info path additionally.  I need
> this piece of code in my init.el:
> (with-eval-after-load 'info
>   (add-to-list 'Info-additional-directory-list
>                "~/repo/auctex/auctex/doc/"))

Yes, indeed, but IIRC we needed something like that also with the old
installation method.  Personally, I currently do something like this:

--8<---------------cut here---------------start------------->8---
(use-package auctex
  :init
  (load "~/path/to/auctex/auctex-autoloads.el" nil t t)

  (with-eval-after-load 'info
    (add-to-list 'Info-additional-directory-list
                 (directory-file-name
                  (expand-file-name "~/path/to/auctex/doc/"))
                 t))
  (setq-default TeX-master nil)
  :custom
  (TeX-parse-self t) ...)
--8<---------------cut here---------------end--------------->8---

> In addition, if we "make" auctex-autoloads.el with Emacs<29, 
>>   (load "~/development/auctex/auctex-autoloads.el" nil t t)
> fails to load tex-site.el because that auctex-autoloads.el lacks
> the arrangement for `load-path'.

Thanks for catching this.

> Maybe we should in GNUmakefile cater for only Emacs>=29 and simplify
> AUTOLOAD:
> ,----
> | # If we were depending on emacs 29.1, we could simply use
> | # loaddefs-generate.  If we were depending on 28.1, we could still use
> | # update-directory-autoloads...
> | AUTOLOAD=--eval '\
> | (let* ((autoload-file (expand-file-name "$@")) \
> |        (autoload-file-dir (file-name-directory autoload-file))) \
> |   (if (fboundp `loaddefs-generate) \
> |       (loaddefs-generate autoload-file-dir autoload-file \
> |                          (list "tex-wizard.el") \
> |                          "(add-to-list `load-path\n\
> |                                        (directory-file-name\n\
> |                                          (file-name-directory 
> load-file-name)))")\
> |     (mapc (lambda (file) \
> |             (update-file-autoloads file nil autoload-file)) \
> |           command-line-args-left)) \
> |   (save-buffers-kill-emacs t))'
> `----

Maybe I'm missing the point, but which change do you have on your mind
in order to fix the issue mentioned above?

Best, Arash

Reply via email to