SnooPets20

joined 1 year ago
[–] SnooPets20@alien.top 1 points 11 months ago (1 children)

I don't know how that would even work. How do you differentiate between the funcions? Do you do fs.watch, vue.watch and so on? If so, maybe try doing fs.? Shouldn't it popup then?

[–] SnooPets20@alien.top 1 points 11 months ago

I've found that using this configuration, the LSP can't halt the UI anymore, resulting in a very snappy experience. The results still take a few secs to show up, but at least you aren't typing blindly waiting for the UI to refresh.

(setq eglot-autoshutdown t)
(setq eglot-sync-connect 0)
(setq eglot-events-buffer-size 0)
(fset #'jsonrpc--log-event #'ignore)
(add-hook 'focus-out-hook 'garbage-collect)

If you don't use eglot, then the last two are the only relevant ones, which are the ones actually doing the work I think.

[–] SnooPets20@alien.top 1 points 1 year ago

Sublime is fast af what are you talking about?

[–] SnooPets20@alien.top 1 points 1 year ago

(setq c-default-style "stroustrup")

[–] SnooPets20@alien.top 1 points 1 year ago

I think themes could be used for this.

[–] SnooPets20@alien.top 1 points 1 year ago (1 children)

That's what git is for, or just having undo-tree from which the file can be reverted to a previous state.

I tried to keep auto-saves and backup files in their own separate directory, since they always litter my projects which is annoying, but they just won't listen, I have to disable them.

[–] SnooPets20@alien.top 1 points 1 year ago

Do note that undo-tree not only provides a visual, it is a fundamentally different way of doing undos. The stock emacs way is not a tree, it's a line. There's no real "redo" in emacs for instance, you just undo an undo. It's odd, but undo tree works really well.

[–] SnooPets20@alien.top 1 points 1 year ago (1 children)

I have recorded a video, it's in the OP.

[–] SnooPets20@alien.top 1 points 1 year ago

Ok, I just did. It's (global-display-line-numbers-mode). Now.... why???? It's odd as hell.

[–] SnooPets20@alien.top 1 points 1 year ago (3 children)

I just tested, it reports that I'm dragging the mouse and setting a region, but it's weird because if the issue is my clicking being sloppy, when it should happen in emacs with no config as well, and it doesn't.

      ;; mouse-drag-region
                 ;; mouse-set-region

This is when I click and the button doesn't get pressed.

   ;; mouse-drag-region
                   ;; Info-mouse-follow-nearest-node

And this is when it does register.

I can never reproduce the issue on emacs without config.

[–] SnooPets20@alien.top 1 points 1 year ago (2 children)

Nope! And when I tried with my config the very first click had that issue. It's very weird tho, I have no idea what could be causing it...

 

For some reason, when I click a button, be it in the customize buffer or hyperlinks in org documents, it sometimes works, and other times the whole buffer shifts to the left like a single pixel and it sets a mark (it says so in the minibuffer). The button is not clicked in those instances.

Has someone experienced something similar? Is there a way to improve this?

view more: next ›