On Thu, Dec 9, 2021 at 7:39 AM Hongyi Zhao <[email protected]> wrote: > > On Thu, Dec 9, 2021 at 4:35 AM Arash Esbati <[email protected]> wrote: > > > > Why don't you tell Emacs about the > > > > /home/werner/.emacs.d/straight/build/auctex/doc/ > > ^^^ > > > > directory? Maybe that helps finding the auctex.info file. There is > > `Info-additional-directory-list'. > > The maintainer of straight told me the following here [1] > > > ```emacs-lisp > > ```emacs-lisp > > (eval-after-load 'info > > '(add-to-list 'Info-additional-directory-list > > (concat (straight--repos-dir "auctex") "doc"))) > > ``` > > > Should be unnecessary. Straight has its own mechanism to build and install > > info for packages. > > If you inspect the value of the variable Info-directory-list you should see > > directories under .../straight/build/ added to it. > > [1] https://github.com/raxod502/straight.el/issues/800#issuecomment-862036938
The problem has been solved by Nicholas Vollmer, see here [1] for more detailed discussion. The following are relevant comments excerpted from there: You probably need to refine your :files directive in your recipe. Info files are only linked from the top-level directory per package. It looks like you want the contents of "doc/*" to be linked. [1] https://github.com/raxod502/straight.el/issues/899#issuecomment-989356137 HZ
