From: Evan Aad <oddeveneven@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Eager macro-expansion failure
Date: Fri, 4 Nov 2022 20:46:49 +0200 [thread overview]
Message-ID: <CA+-Lr-ANnu5aTRuhiuwbXLqpJ8TZyQgmrUKkbxc8W+_ThN6jYw@mail.gmail.com> (raw)
In-Reply-To: <834jve6d9s.fsf@gnu.org>
> Look for files named default.el or site-start.el in any of the load-path directories. A good starting point is in /usr/share/emacs/site-lisp/.
My system has no emacs/ directory under /usr/share/
I searched my entire computer for files named default.el and
site-start.el, as well as for files or folders named site-init. The
searches came out empty handed.
> tell here which distro you use, and someone will probably be able to tell you where to look for site-init files.
I installed emacs by following the instructions given here:
https://www.gnu.org/software/emacs/download.html#macos
namely, by executing "brew install --cask emacs" in the Terminal.
> The above suggests something in one of your ELPA-installed packages is using a macro passing it 2 arguments whereas the macro requires at least 3 args.
How can I find which macro and which ELPA-installed package is causing
the trouble?
> > Date: Fri, 4 Nov 2022 15:12:43 +0200
> >
> > There is no init file in any of the locations mentioned in the first
> > paragraph of the following article:
> > https://www.gnu.org/software/emacs/manual/html_node/emacs/Init-File.html
> > or in the second and third paragraphs of the following article:
> > https://www.gnu.org/software/emacs/manual/html_node/emacs/Find-Init.html
> >
> > In other words, there is no file named ~/.emacs, ~/.emacs.el,
> > ~/.emacs.d/init.el, ~/.config/emacs/init.el
>
> I'm talking about site-init files, not your user-specific init files
> (which you said you didn't have).
>
> If there's a difference between "emacs -Q" and just "emacs", there
> _must_ be some init file involved, and if you don't have user init
> files, then there _must_ be some site-init file.
>
> You need to examine your Emacs installation and the documentation of
> the distro you use to find out where to look for these files. Or,
> failing that, tell here which distro you use, and someone will
> probably be able to tell you where to look for site-init files.
>
> > Furthermore, my user-emacs-directory variable is set to ~/.emacs.d/
> > and there is no file named .emacs, .emacs.el, init.el, default.el or
> > site-start.el under this directory nor under the directories ~/ and
> > ~/.config
> >
> > Moreover, in the directory /usr/local/share/emacs/site-lisp there is
> > just a single item: a directory named libidn/ and inside it there are
> > just two items, named idna.el and punycode.el
> >
> > Could there be an init file somewhere else?
>
> Yes.
>
> > If so, is there an easy way to find it? The value of my load-path
> > variable is very long. It would be very tedious to visit every
> > directory listed there manually, and I'm not savvy enough to write
> > code to automate this task.
>
> Look for files named default.el or site-start.el in any of the
> load-path directories. A good starting point is in
> /usr/share/emacs/site-lisp/.
>
next prev parent reply other threads:[~2022-11-04 18:46 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-04 8:51 Eager macro-expansion failure Evan Aad
2022-11-04 11:34 ` Eli Zaretskii
2022-11-04 11:43 ` Evan Aad
2022-11-04 12:10 ` Eli Zaretskii
2022-11-04 13:12 ` Evan Aad
2022-11-04 13:49 ` Eli Zaretskii
2022-11-04 18:46 ` Evan Aad [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-06 7:13 Evan Aad
2022-11-06 8:58 ` Tassilo Horn
2022-11-06 10:17 ` Evan Aad
2022-11-07 6:05 ` Tassilo Horn
2022-11-07 6:26 ` Evan Aad
2022-11-06 5:47 Evan Aad
2022-11-05 9:15 Evan Aad
2022-11-05 6:54 Evan Aad
2022-11-04 8:24 Evan Aad
2022-11-04 15:51 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-11-04 6:01 Evan Aad
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=CA+-Lr-ANnu5aTRuhiuwbXLqpJ8TZyQgmrUKkbxc8W+_ThN6jYw@mail.gmail.com \
--to=oddeveneven@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).