doomemacs / doomemacs

An Emacs framework for the stubborn martian hacker
MIT License
19.2k stars 3.03k forks source link

Magit freezes on any repo #7711

Open namasme opened 6 months ago

namasme commented 6 months ago

I confirm that...

Expected behavior

When I start Magit on any Git repository (via C-x g or M-x magit), I expect it to open and not freeze.

Current behavior

When I open Magit in Doom Emacs in MacOS Sonoma, it freezes (no hard crash, only freeze).

Worth mentioning I ran into #7289 today (never happened before, but I had all the same symptoms), and had to comment vc out from init.el. Now I can open files alright, but Magit still freezes.

I tried to run the profiler as well during the freeze (i.e., C-h T, C-x g, C-g to get out, C-h T), but didn't spot anything useful there (report).

Steps to reproduce

  1. Install Doom Emacs on a fresh Emacs installation in MacOS Sonoma.
  2. Open a file within a Git repository and then do C-x g.
  3. Watch it freeze.

System Information

https://gist.github.com/namasme/0ec2b184d3d71e2375a427858dbbf6b6

namasme commented 6 months ago

Update: there were also reports of issues with org files in #7289.

While I am able to open existing or new .org files and org-mode is functional, org-journal-mode seems to be broken as well (i.e. freezes immediately), either directly (M-x org-journal-mode on the current buffer) or indirectly (M-x org-journal-new-entry to take me to the corresponding buffer). This had not happened previously either, so it seems related.