unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Masterson <dsmasterson@gmail.com>
To: Stefan Monnier via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: "transient-define-suffix" autoload error ?
Date: Wed, 19 Jun 2024 14:24:46 -0700	[thread overview]
Message-ID: <LV8P223MB092011CB7BB82C582A55FC5FA2CF2@LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <jwvsex9adry.fsf-monnier+emacs@gnu.org> (Stefan Monnier via Users list for the's message of "Tue, 18 Jun 2024 22:07:08 -0400")

Stefan Monnier via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:

>> Without debug-on-signal, I get:
>>
>> Debugger entered--Lisp error: (file-missing "Cannot open load file"
>>   "No such file or directory" "use-package")
>>   require(use-package)
>
> That is weird.  Clearly, this is not the real problem, but you may have
> to fix this one before you can go back to investigate the real one.

What is it that initializes the load-path to include all the packages in
~/.emacs.d/elpa -- package-initialize? I think there is something wrong
with this part of my .emacs with respect to emacs -Q:

================
(require 'package)
(setq package-archives '(
			 ("org" . "https://orgmode.org/elpa/")
			 ("elpa" . "https://elpa.gnu.org/packages/")
			 ("melpa" . "https://melpa.org/packages/")
			 ))
(setq package-archive-priorities '(
				   ("org" . 10)
				   ("elpa" . 20)
				   ("melpa" . 1)
				   ))
(unless (fboundp 'package-activate-all) (package-initialize))

(unless (package-installed-p 'use-package)
  (package-install 'use-package))
(eval-when-compile
  (require 'use-package)
  (require 'bind-key)
  )
================

>> Your crystal ball is much more advanced than mine when it comes to
>> Emacs, so I accept that.  However, I think my questions above should be
>> answered in the Emacs manuals somewhere to not make native compilation
>> opaque.
>
> `.eln` files are indexed by the SHA of the corresponding `.elc`, so if
> there's no `.elc` of if it has changed, you should never get some left
> over `.eln` file instead.

I noticed a few packages had been updated and both the old and new
version had eln files in the cache.

-- 
David Masterson



  reply	other threads:[~2024-06-19 21:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-18  5:21 "transient-define-suffix" autoload error ? David Masterson
2024-06-18  5:47 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-06-18 21:48   ` David Masterson
2024-06-18 22:27     ` Stefan Monnier
2024-06-18 23:01     ` David Masterson
2024-06-18 23:16       ` Stefan Monnier
2024-06-18 23:51         ` David Masterson
2024-06-19  2:07           ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-06-19 21:24             ` David Masterson [this message]
2024-06-19 21:36               ` Stefan Monnier
2024-06-20  5:14                 ` Eli Zaretskii
2024-06-19  2:17           ` David Masterson

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=LV8P223MB092011CB7BB82C582A55FC5FA2CF2@LV8P223MB0920.NAMP223.PROD.OUTLOOK.COM \
    --to=dsmasterson@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).