Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning (initialization): An error occurred while loading ‘/Users/nsadeh/.emacs.d/init.el’: #56

Open
nsadeh opened this issue Dec 7, 2023 · 2 comments

Comments

@nsadeh
Copy link

nsadeh commented Dec 7, 2023

I followed the instructions on the README and got the following error:

⛔ Warning (initialization): An error occurred while loading ‘/Users/nsadeh/.emacs.d/init.el’:

Symbol's function definition is void: global-linum-mode

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace.

information:
System: MBP 14" November 2023
OS: macOS Sonoma 14.1.2
Emacs 29.1
Date: December 6, 2023

@nsadeh
Copy link
Author

nsadeh commented Dec 7, 2023

This fixes it: https://www.reddit.com/r/emacs/comments/15trd1p/stuck_on_trying_to_install_emacs_config_on_emacs/?rdt=63681. Should I make a PR? I am not sure this will work for older versions of Emacs.

@Cramplescrunch
Copy link

Hi,

I commented that post on Reddit as I was facing the same issue and found a way to fix it without using the linum.el library, since it is deprecated.

Open .emacs.d/customizations/ui.el and replace (global-linum-mode) at line 11 by (global-display-line-numbers-mode 1). Then launch emacs, it should work.

That being said, the zip mentioned in the Clojure/Emacs tutorial seems outdated and I wonder if we shouldn't use the master branch of this repo as a config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants