* command-execute: Cannot open load file: No such file or directory, wd-char-aliases-show
@ 2022-03-28 7:12 Hongyi Zhao
2022-03-29 7:28 ` Hongyi Zhao
0 siblings, 1 reply; 2+ messages in thread
From: Hongyi Zhao @ 2022-03-28 7:12 UTC (permalink / raw)
To: help-gnu-emacs
I try to load the nice small elisp script character-aliases.el [1],
which can find all the name and alias corresponding to a codepoint in
Emacs, and I put it in the following location on my machine to
leverage straight.el [2] to manage such scripts for convenience:
```
werner@X10DAi-00:~/.emacs.d/straight/repos$ tree -F hongyi-zhao-custom/
hongyi-zhao-custom/
└── character-aliases/
└── character-aliases.el
1 directory, 1 file
```
According to the guidance here [3]:
> When you use the :commands keyword, it creates autoloads for those commands and defers loading of the module until they are used.
I use the following configuration in Emacs `~/.emacs.d/init.el`:
```emacs-lisp
(use-package wd-char-aliases-show
:straight (:type nil :local-repo "hongyi-zhao-custom/character-aliases")
:commands wd-char-aliases-show
)
```
It turns out that the command `wd-char-aliases-show` is available now,
but it still doesn't work, as shown below:
```
command-execute: Cannot open load file: No such file or directory,
wd-char-aliases-show
```
Any hints for fixing this problem?
See here [4] for a related discussion.
[1] https://lists.gnu.org/archive/html/help-gnu-emacs/2022-03/bin3cfCvSPcl8.bin
[2] https://github.com/raxod502/straight.el
[3] https://github.com/jwiegley/use-package#key-binding
[4] https://github.com/jwiegley/use-package/issues/978
Regards,
--
Assoc. Prof. Hongsheng Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: command-execute: Cannot open load file: No such file or directory, wd-char-aliases-show
2022-03-28 7:12 command-execute: Cannot open load file: No such file or directory, wd-char-aliases-show Hongyi Zhao
@ 2022-03-29 7:28 ` Hongyi Zhao
0 siblings, 0 replies; 2+ messages in thread
From: Hongyi Zhao @ 2022-03-29 7:28 UTC (permalink / raw)
To: help-gnu-emacs
On Mon, Mar 28, 2022 at 3:12 PM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> I try to load the nice small elisp script character-aliases.el [1],
> which can find all the name and alias corresponding to a codepoint in
> Emacs, and I put it in the following location on my machine to
> leverage straight.el [2] to manage such scripts for convenience:
>
> ```
> werner@X10DAi-00:~/.emacs.d/straight/repos$ tree -F hongyi-zhao-custom/
> hongyi-zhao-custom/
> └── character-aliases/
> └── character-aliases.el
>
> 1 directory, 1 file
> ```
>
> According to the guidance here [3]:
>
> > When you use the :commands keyword, it creates autoloads for those commands and defers loading of the module until they are used.
>
> I use the following configuration in Emacs `~/.emacs.d/init.el`:
>
> ```emacs-lisp
> (use-package wd-char-aliases-show
> :straight (:type nil :local-repo "hongyi-zhao-custom/character-aliases")
> :commands wd-char-aliases-show
> )
> ```
>
> It turns out that the command `wd-char-aliases-show` is available now,
> but it still doesn't work, as shown below:
>
> ```
> command-execute: Cannot open load file: No such file or directory,
> wd-char-aliases-show
> ```
>
> Any hints for fixing this problem?
>
> See here [4] for a related discussion.
>
> [1] https://lists.gnu.org/archive/html/help-gnu-emacs/2022-03/bin3cfCvSPcl8.bin
> [2] https://github.com/raxod502/straight.el
> [3] https://github.com/jwiegley/use-package#key-binding
> [4] https://github.com/jwiegley/use-package/issues/978
The problem has been resolved, please see here [1] for more details.
[1] https://github.com/raxod502/straight.el/issues/934#issuecomment-1081504869
Regards,
HZ
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-03-29 7:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-28 7:12 command-execute: Cannot open load file: No such file or directory, wd-char-aliases-show Hongyi Zhao
2022-03-29 7:28 ` Hongyi Zhao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).