From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Evan Aad Newsgroups: gmane.emacs.help Subject: Re: Eager macro-expansion failure Date: Fri, 4 Nov 2022 20:46:49 +0200 Message-ID: References: <83mt9754ww.fsf@gnu.org> <83bkpm6htn.fsf@gnu.org> <834jve6d9s.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18704"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 04 19:52:46 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1or1o5-0004db-J6 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Nov 2022 19:52:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1or1nU-0001Sa-IF; Fri, 04 Nov 2022 14:52:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1or1iZ-0007rF-S8 for help-gnu-emacs@gnu.org; Fri, 04 Nov 2022 14:47:05 -0400 Original-Received: from mail-yw1-x1131.google.com ([2607:f8b0:4864:20::1131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1or1iX-0005Gr-TG for help-gnu-emacs@gnu.org; Fri, 04 Nov 2022 14:47:03 -0400 Original-Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-333a4a5d495so51480817b3.10 for ; Fri, 04 Nov 2022 11:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=0IzMm2W6KxKFeANjrD42BrG9ERFn0JX42ZfB81ekfro=; b=QehoVpVFqU3znBqxBEGmXhA8y5ipL5stqI8r+wpkW8zOOlhcwbUt7DWTyAKXthgf28 9/bjzmQPSpLBh1gzEndPJpO3sn/G5itbdXM43l16/ZSWDwyP1Jm5C1IUsITWfvvDpbTB 1tBONkpD/o+J/jdSX7PexRE0ZZMtAFhaCXmxHxwHjis9GZBqzVS4UfMVw3Ld9Wo/M/uN WYCdAsLppRjwuf7OXh7LZi4/oxroeMCpCDt1Pp7n+lulVZsTV2D08Rhd1ICVTkh8EKvV zVIVrhCrLT2gDrLcGrRZRa8cv52nS6Hx6nRm2qSW59pi9p4n3W+EKhpaJZ6M2RV6ElD0 uK+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0IzMm2W6KxKFeANjrD42BrG9ERFn0JX42ZfB81ekfro=; b=zT6ZjEAmLMh/rahXSyzxmS9UKL8j484iU4D0yGxEWbhM0rQJ2MLDTfpvauAJ1kqOaB Gu2cZsUMVs0q6pz4j4aAQ0UovL9X12KyaHOWeH2+oloQEIEFs0ocSa+rr9HHptQ8GqfM akt7fcIUnYfIt0rAfOSwbevRe0pEfEqkNDCYksB6lNFNyXtOlaeLx3U8ENccl9IX4Mh2 jqfwy7xe9+JBd6L/sr9GXoIY4CNMYgjSs92ZnC2Qw5mBz9p/olEJHfVujBW+vyBb5+q+ 7BA+JIsUOS9JMRoV2fMIJnVx+crBgJkAJvzX+C3/MrsyeGunNZn08O+Fh+HMtegCgngc hqHg== X-Gm-Message-State: ACrzQf3wO2dDiLsAflTQYjr0lTEkXMrIs6vqJWY3Amdtgd88cCh/v+eo Jr3KvFXQH/l1PxkIWYdkZP7F1ZkT2rjsHX1HBr/p2S6UJOpKXS071+23uQ== X-Google-Smtp-Source: AMsMyM6wf765BoapzKhqpJcAFM1uPz6abwk7uO3cB9TyF3hfjGHuVWgwfQFpZceFeiUUw3bXG43Ensl7/El0zIaXFUI= X-Received: by 2002:a81:7dd4:0:b0:36b:c02:8173 with SMTP id y203-20020a817dd4000000b0036b0c028173mr34294832ywc.515.1667587620198; Fri, 04 Nov 2022 11:47:00 -0700 (PDT) In-Reply-To: <834jve6d9s.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::1131; envelope-from=oddeveneven@gmail.com; helo=mail-yw1-x1131.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "help-gnu-emacs" Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140667 Archived-At: > 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/. >