nowislewis / nowisemacs

A full-blown emacs configuration framework with easy abstraction
47 stars 8 forks source link

there are many warnings at startup #5

Closed penn201500 closed 1 year ago

penn201500 commented 1 year ago

There are many warnings at startup, and the issue can be fixed by adding '(setq warning-minimum-level :emergency)' in init.el

Steps:

  1. Finish the installation and start the emacs app; I got: image

  2. Update init.el and execute 'make init-build'

    image
  3. Start emacs again:

    image

ref: https://stackoverflow.com/questions/23749267/how-do-i-disable-warnings-at-initialization-in-emacs

nowislewis commented 1 year ago

Hi. The problem is that if you enable native-comp, which compiles all third-party packages when emacs is enabled, it will cause performance degradation in daily use.

A better approach is used in Nowisemacs, where you run :

make native

directly in .emacs.d, which will compile all third-party packages with native-comp at the command line, and then opens Emacs again and you will find everything ready

nowislewis commented 1 year ago

I tend to natively compile all packages ahead-of-time, so that it will be very smooth when the user start emacs

penn201500 commented 1 year ago

Got it, I'll give it a try.

penn201500 commented 1 year ago

Do you have a TG group or discord server for this project? I want to join in. This is a fantastic project!

nowislewis commented 1 year ago

Not yet. This project is a relatively simple configuration. I rely on emacs every day for my work, so any suggestions are welcome.