Skip to content

Editing C source files has been slower since 3fe5ff6 #65

Description

@chabulhwi

Describe your issue

After 21166d118449ea3ca07334748453bf8151704b25, it became much slower to add or edit declarations of array variables with initializers in C.

commit 21166d118449ea3ca07334748453bf8151704b25
Author: Henrik Lissner <git@henrik.io>
Date:   Tue Jun 23 19:09:38 2026 -0400

    bump: sources/doom+
    
    doomemacs/modules@5a44cf7bdb74 -> doomemacs/modules@4fcb2b1a5063

Steps to reproduce

  1. In the ~/.config/emacs directory, run git checkout 21166d1 and reinstall Doom Emacs.
  2. Open Doom Emacs and try writing the following C code by hand. The input lag should be noticeable.
int main(void)
{
	int a = 10;

	int b[] = {1, 2, 3};

	int c[] = {4, 5, 6, 7};

	int d[] = {8, 9, 10, 11, 12};

	double e[] = {1.2, 3.4, 5.6};

	return 0;
}
  1. In the previous directory, run git checkout HEAD~1 and reinstall Doom Emacs.
  2. Try writing the C code above again. Typing would be much faster than before.

System information

doom-info.txt

Disclosures

  • This issue was written with/by AI.

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    Open to PRs

    None yet

    Priority

    None yet

    Projects

    Status
    Investigating

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions