• 2 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: October 13th, 2023

help-circle

  • 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.








  • It works, but all the files will be mixed together. This isn’t really a problem, since if the container wants to access file_a in volume1, and file_b in volume2, then it will be able to do so no problem. The problem is when you have two different files named file_a in the two different mount points in the container. In that case, one file will get overwritten by the other.

    Just use separate volumes.








  • 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.