auctex
[Top][All Lists]
Advanced

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

Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be compl


From: Hongyi Zhao
Subject: Re: Some LaTeX commands, such as \boldsymbol and \hspace, can't be completed in AUCTeX.
Date: Thu, 9 Dec 2021 07:39:49 +0800

On Thu, Dec 9, 2021 at 4:35 AM Arash Esbati <arash@gnu.org> 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


> ,----[ C-h v Info-additional-directory-list RET ]
> | Info-additional-directory-list is a variable defined in ‘info.el’.
> |
> | Its value is nil
> |
> | List of additional directories to search for Info documentation files.
> | These directories are searched after those in ‘Info-directory-list’.
> |
> |   You can customize this variable.
> |
> `----
>
> Best, Arash



reply via email to

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