[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : File for minor mode not found
From: |
Drew Adams |
Subject: |
RE: [External] : File for minor mode not found |
Date: |
Sun, 9 Jan 2022 17:25:00 +0000 |
Yes.
See `C-h f require' and `C-h f provide' and
`C-h i' with Elisp manual, node Named
Features<https://www.gnu.org/software/emacs/manual/html_node/elisp/Named-Features.html>.
Either name your file and the feature the same (minus the ".el") or explicitly
pass the filename, as well as the feature name, to `require'. From the Elisp
manual:
If the feature is not present, then ‘require’ loads FILENAME with ‘load’. If
FILENAME is not supplied, then the name of the symbol FEATURE is used as the
base file name to load. However, in this case, ‘require’ insists on finding
FEATURE with an added ‘.el’ or ‘.elc’ suffix (possibly extended with a
compression suffix); a file whose name is just FEATURE won’t be used. (The
variable ‘load-suffixes’ specifies the exact required Lisp suffixes.)
Is your file ~/Admir/typ/zig/daph-ideograms/daph.el?
^^^^^^^
If not, (require 'daph) won't load it.
No, it is daph-ideograms.el
Is there way to load it when the filename differs?
<<attachment: winmail.dat>>
- Re: File for minor mode not found, (continued)
- Re: File for minor mode not found, Tomas, 2022/01/09
- Message not available
- File for minor mode not found, fatiparty, 2022/01/10
- Re: File for minor mode not found, Tomas, 2022/01/10
- Message not available
- File for minor mode not found, fatiparty, 2022/01/10
- Re: File for minor mode not found, Tomas, 2022/01/11
- Re: File for minor mode not found, Michael Heerdegen, 2022/01/11
- Re: File for minor mode not found, tomas, 2022/01/11
- Message not available
- File for minor mode not found, fatiparty, 2022/01/11
- Re: File for minor mode not found, Michael Heerdegen, 2022/01/11
- Re: File for minor mode not found, Tomas, 2022/01/09
- Message not available
- Message not available
- RE: [External] : File for minor mode not found,
Drew Adams <=