Fork me on GitHub
#spacemacs
<
2017-11-16
>
ag00:11:53

you just press , c P and voila

jeff.terrell02:11:53

@ag - Looks pretty sweet. Does it do syntax highlighting with GFM code blocks?

ag07:11:39

I dunno, maybe it does. I would say yes. Because it should. Otherwise what's the point of having it?

ag19:11:26

Guys, a few folks here at work complained about Spacemacs being sluggish etc. This is the tip I gave them and they say it did fix things for them. it dotspacemacs/user-config place (savehist-mode -1) savehist-mode is the mode that saves messages buffer automatically that is not needed (unless you're debugging some weird behavior). And slows down Emacs in some cases (for example when you exit)

eggsyntax19:11:16

We should have a spacemacs-performance-tips website somewhere 😜

vuuvi20:11:19

@eggsyntax that’s a great Idea - I don’t think it would be something too difficult either. Something setup on github pages

eggsyntax20:11:23

There are a few old-ish threads that I've gone through looking for speedup tips (I was having a bunch of problems for a while which turned out to be aggressive-indent-mode).

eggsyntax20:11:33

But that's the only resource I know of.

eggsyntax20:11:48

I'd happily contribute at least a bit to such a web page 🙂

vuuvi20:11:01

yeah that sounds fun!

vuuvi20:11:33

I’ll add it to the backlog of tasks I have - I’d be happy to do something quite simple….a markdown document living on a jekyll website

vuuvi20:11:38

the biggest spacemacs resource i have now is this channel actually so it would be cool to have a speedup tips page

chris20:11:57

turning off linum-mode and aggressive-indent-mode sped me up a ton

eggsyntax20:11:46

@alexkeyes cool, hit me up when you get it going, I'll add the (limited) knowledge I have on it.

vuuvi20:11:02

and I’m sure that your knowledge isn’t that limited @eggsyntax

eggsyntax20:11:02

I can definitely come up with maybe 6-8 things that are possible targets for speedup (although some of them could be outdated, perhaps). I could also probably write up a quick section on using the built-in profiler to track down bottlenecks.

vuuvi20:11:40

okay I’ll start a repo later tonight please send PRs my way everyone!

eggsyntax20:11:35

Cool! Maybe worth coordinating with syl20bnr -- they might even be maintaining a partial list internally that would be a great start 🙂

vuuvi20:11:00

yeah that’s a good idea

vuuvi20:11:20

I’ll create an issue on the spacemacs github or go into their glitter chat or something

fabrao20:11:02

@chris linum-mode make emacs slowness?

chris20:11:36

I have had that issue

chris20:11:04

so, I toggle it off with a long complicated file

fabrao20:11:07

I´ve never thougth something about this 😕

fabrao20:11:06

and I installed the highlight linum line lol

vuuvi20:11:01

hm I’ve never noticed any particular problems with linum, I guess I should spin up a VM and test vanilla spacemacs and other packages etc. to see how it affects startup time

eggsyntax21:11:32

It seems like most SM issues only affect a subset of users...my guess is that a lot of it's about layer interactions; there's just no way that anyone can test even a small fraction of the layer combinations found in the wild...

eggsyntax21:11:51

& of course the ones that affect everyone get fixed fast 😉

chris21:11:43

the issue isn't with startup, it just starts to drag rendering

chris21:11:02

I profiled it awhile ago and just didn't use it unless I needed it

vuuvi21:11:59

yeah that’s true too @eggsyntax

vuuvi22:11:41

does anyone use the terminal in emacs?

practicalli-johnny23:11:30

I do. SPC ' is very handy

practicalli-johnny23:11:51

@alexkeyes you might find these details of configuring your terminal in Spacemacs interesting https://practicalli.github.io/spacemacs/create-a-project/using-emacs-eshell.html