Posts

This profile is from a federated server and may be incomplete. Browse more on the original instance.

meedstrom, to emacs
@meedstrom@emacs.ch avatar

So I found a situation where emacs -Q runs a loop 60x slower than my personal Doom Emacs config!

Any wizard who might have an idea why? It's as if it's garbage-collecting for a whole minute. It's not the loop itself that's slow, because it actually completes all iterations, and only then does Emacs hang.

louis,
@louis@emacs.ch avatar

@kakafarm @meedstrom Emacs has a very low GC threshold per default.

Some do have this in an early init file:

(setq gc-cons-threshold (* 1024 1024 100)) ; 100 MiB

Or even higher to make sure the startup is fast.

meedstrom,
@meedstrom@emacs.ch avatar

@louis @kakafarm I just learned that a too big chunk of garbage invites something called OS paging... That's why gcmh-mode uses 16 MB as the "high" value.

meedstrom, to emacs
@meedstrom@emacs.ch avatar

Is there a way for lisp to interpret local ..ignore or .gitignore rules, perhaps turn them into a single regexp?

Time and time again I find myself writing in-house ignore rules...

louis,
@louis@emacs.ch avatar

@meedstrom Perhaps this package could help?

https://melpa.org/#/ignoramus

What are you trying to do with the .ignore rules in Emacs?

meedstrom, (edited )
@meedstrom@emacs.ch avatar

@louis Often it's to do with mass-operations on org files, so I need to know files to avoid, like *.bak, logseq backups, syncthing conflict duplicates, whatever is in the user's org-roam-node-exclude-function...

Anyway, instead of making an user setting "ignore-paths" for every package I make, it'd be easier to instruct the user to have a good .ignore file.

meedstrom, to emacs
@meedstrom@emacs.ch avatar

I can't figure out how to automatically filter mail in into specific folders... Like take everything from the mailing list emacs-orgmode@gnu.org into its own maildir.

louis,
@louis@emacs.ch avatar
meedstrom,
@meedstrom@emacs.ch avatar

@louis Yup that seems appropriate! Thanks! (Saw it but thought it had to do with archiving only somehow)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines