stites has quit [Remote host closed the connection]
rajivr has quit [Quit: Connection closed for inactivity]
<rycee>
Umm, anybody who's had experience debugging slow Emacs shutdown?
<selfsymmetric-mu>
rycee: My advice is to send a SIGUSR2 signal to Emacs if you're on a Unix system.
<selfsymmetric-mu>
`kill -SIGUSR2 $(pidof emacs)` should do it. It ought to throw Emacs into the debugger, allowing you to see what it is attempting to do.
stites has joined #nixos-emacs
<rycee>
selfsymmetric-mu: Thanks! I gave it a try and didn't see anything obvious. It gave me the idea to attach strace, though, and it might have something to do with writing ucs-cache and/or recentf files.
<stites>
hey all -- I'm having some trouble using this overlay on debian -- would any one be able to help me?
<stites>
namely, I get a segfault whenever I run emacs 27.1, gdb emacs says that it doesn't recognize the binary so I thought that the binary's architecture was stripped and tried to resolve with `dontStrip=true;` but that doesn't seem to be working
<selfsymmetric-mu>
rycee: Good luck!
<selfsymmetric-mu>
stites: Fascinating. Have you tried emacsUnstable or emacsGcc? Maybe one of those will work for you.
cole-h has joined #nixos-emacs
<stites>
emacsGcc is currently working, but I'm noticing that parinfer is buggy, not sure how deep the bugs live. Is it generally considered stable?
<stites>
*is it considered /relatively/ stable?
<selfsymmetric-mu>
stites: I have been using it quite heavily, but I needed to down grade to emacsUnstable twice in the last few months due to failing builds.
<selfsymmetric-mu>
stites: Unfortunately I do not use parinfer, so I cannot help you there.
<selfsymmetric-mu>
stites: I could try it though. Is it good for Emacs Lisp?
<stites>
I guess it's supposed to be? tbh I'm just a few months in to my switch over from vim and have just been using parinfer because i listened to a podcast about it
<stites>
Here are some critiques which seem like a long read, but the "downsides" gifs don't really seem like downsides to me: https://github.com/noctuid/parinfer-notes
<stites>
ugh, I'm hiting the same problem from before with regular emacs where these goddamn google fonts are blocking emacs or slowing them down
<stites>
I actually can't close gccemacs because they are not loaded and strace shows:
<stites>
15:09:57.714203 access("/home/stites/.nix-profile/share/fonts/truetype/AdobeBlank-Regular.ttf", R_OK) = -1 ENOENT (No such file or directory) <0.000120>
<stites>
because I have removed google fonts
<stites>
if I add google-fonts to home-manager (separate from the emacs build) everything works fine, but loading these fonts takes like 30s
<stites>
and the silence of opening up an org file is like nails on a chalkboard when it goes to load these ttfs
selfsymmetric-mu has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos-emacs
<selfsymmetric-mu>
stites: Ah yes, I had the same problem!! Good thing you found it.
<selfsymmetric-mu>
Anytime I loaded a buffer with a Unicode character Emacs would freeze trying to find a font for it.
<selfsymmetric-mu>
I use the good-old paredit for Lisp editing.
<selfsymmetric-mu>
I found that installing `pkgs.symbola` (a font with good Unicode support) and reducing the number of fonts in general fixed my performance problems.
<selfsymmetric-mu>
Admittedly it is a silly issue and I hope gets fixed somewhere. Even a warning.
stites has quit [Remote host closed the connection]
selfsymmetric-mu has quit [Remote host closed the connection]
neeasade has joined #nixos-emacs
neeasade has quit []
selfsymmetric-mu has joined #nixos-emacs
selfsymmetric-mu has quit [Ping timeout: 272 seconds]
selfsymmetric-mu has joined #nixos-emacs
selfsymmetric-mu has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos-emacs
selfsymmetric-mu has quit [Remote host closed the connection]
selfsymmetric-mu has joined #nixos-emacs
selfsymmetric-mu has quit [Remote host closed the connection]