this post was submitted on 05 Aug 2023
4 points (100.0% liked)

Emacs

2226 readers
5 users here now

Our infinitely powerful editor.

founded 4 years ago
MODERATORS
 

I'm on opensuse tumbleweed, and today after updating my packages, I can't use emacs. Anyone have any ideas how to troubleshoot this?

❯ emacs -Q
Loading loadup.el (source)...
Dump mode: nil
Using load-path (/usr/share/emacs/29.1/lisp /usr/share/emacs/29.1/lisp/emacs-lisp /usr/share/emacs/29.1/lisp/progmodes /usr/share/emacs/29.1/lisp/language /usr/share/emacs/29.1/lisp/international /usr/share/emacs/29.1/lisp/textmodes /usr/share/emacs/29.1/lisp/vc)
Loading emacs-lisp/debug-early...
Symbol's function definition is void: file-name-sans-extension

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (5 children)

That looks as if you are running a pre-dump Emacs executable.

One step of the Emacs build process is to load up the elisp files that are required for a basic Emacs session and dump an image with these files pre-loaded. This is speeds up the startup process. The Emacs executable that is used for this pre-loading is normally called temacs. You don't normally run this executable, it's only used during the build process. The message you posted looks as if the emacs command is running this temacs executable rather than the normal post-dump one.

I'd try to make sure that this emacs executable you are running is actually the one from the current Emacs installation and not some old binary (perhaps executed through an alias or symlink?).

[–] joby 1 points 1 year ago

Thanks, I'll try and look for that when I get the chance. I got called away from the computer right after making my post

load more comments (4 replies)