auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drop tarball releases and go ELPA only


From: Ikumi Keita
Subject: Re: Drop tarball releases and go ELPA only
Date: Fri, 09 Aug 2024 14:19:32 +0900

Hi Arash,

>>>>> Arash Esbati <arash@gnu.org> writes:
> And IIUC loading AUCTeX out of the local repo now only needs:

>   (load "~/development/auctex/auctex-autoloads.el" nil t t)

> instead of the old:

>   (setq TeX-data-directory "~/development/auctex"
>         TeX-lisp-directory TeX-data-directory)
>   (load "~/development/auctex/auctex.el" nil t t)
>   (load "~/development/auctex/preview-latex.el" nil t t)

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/"))

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'.

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))'
`----

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopMassiveKilling #CeasefireNOW



reply via email to

[Prev in Thread] Current Thread [Next in Thread]