From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: command-execute: Cannot open load file: No such file or directory, wd-char-aliases-show
Date: Tue, 29 Mar 2022 15:28:24 +0800 [thread overview]
Message-ID: <CAGP6POJcsPY=3P1_RfYXZWkBKKmU22QX=q-Hbcd6AACS+0KvLw@mail.gmail.com> (raw)
In-Reply-To: <CAGP6POKz7bgv94APFA8L7t5STbN3opbqsxe6zYzekB55MS+b3w@mail.gmail.com>
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
prev parent reply other threads:[~2022-03-29 7:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGP6POJcsPY=3P1_RfYXZWkBKKmU22QX=q-Hbcd6AACS+0KvLw@mail.gmail.com' \
--to=hongyi.zhao@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).