seagle0128 / .emacs.d

Centaur Emacs - A Fancy and Fast Emacs Configuration

Home Page:https://seagle0128.github.io/.emacs.d/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Auto quit on windows 10 when custom-post.el presents

KenMercusLai opened this issue · comments

Thank you for the bug report

  • I am using the latest version of Centaur Emacs.
  • I checked my private configurations in custom.el and custom-post.el.
  • I checked FAQ.

Bug description

I use Centaur emacs on both my Linux and Windows 10 with Emacs 29.

On Windows 10, emacs quits automatically when custom-post.el presents, even when the file is empty, while it's working fine on Linux (Pop OS 22.04).

Emacs is installed by scoop on Windows:

PS C:\Users\laik\AppData\Roaming\.emacs.d> emacs --version
GNU Emacs 29.1
Copyright (C) 2023 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

Also tried --debug and --debug-init but no output at all in the command line (powershell)

Steps to reproduce

  1. add custom-post.el in the /AppData/Roaming/.emacs.d

Expected behavior

Expect the same behavior as on Linux

OS

Windows

Emacs Version

29

Error callstack

No response

Anything else

No response

screen-recording.MP4

I am wondering what will happen if you rename or delete custom-post.el.

So , please check the configurations in custom-post.el.

  1. M-x toggle-debug-on-error
  2. Add (error "why here") to custom-post.el

I accidentally resolved the issue by completely reset the config folder.