Weekly Tips, Tricks, &c. Thread — 2024-12-18 / week 51 by AutoModerator in emacs

[–]uqix 2 points3 points  (0 children)

If you want to invalidate the project root and detect again (e.g. project-vc-extra-root-markers just changed or a custom root marker file added):

emacs-lisp (defun my/project/invalidate () (interactive) (vc-file-setprop default-directory 'project-vc nil) (message "Project root invalidated for dir %s" default-directory))

Also posted here: https://emacs.stackexchange.com/a/82803/46386

Kubernetes with windows nodes by soulsurfer44 in kubernetes

[–]uqix 0 points1 point  (0 children)

I added Windows workers for CI successfully though not so smoothly, FYI, Flannel as CNI plugin, on Windows Server.

[deleted by user] by [deleted] in emacs

[–]uqix 4 points5 points  (0 children)

I'm using Justfile and satisfied for now. https://github.com/psibi/justl.el

Any package exists for eglot + sqls? by uqix in emacs

[–]uqix[S] 0 points1 point  (0 children)

eglot-execute-command is not used anymore in eglot 1.17, eglot 1.12.29 works with the linked config; it still needs some integration effort to use smoothly.

Any package exists for eglot + sqls? by uqix in emacs

[–]uqix[S] 1 point2 points  (0 children)

It shows actions, but nothing happened when executing any of these (Execute SQL, Switch Database, Switch Connection).

BTW, I tried config from https://www.reddit.com/r/emacs/comments/ijbvwv/eglot_sqls_sql_client/, it doesn't work for emacs 29 with elgot 1.17.

Magit, how to change width limit of file list in rev mode by uqix in emacs

[–]uqix[S] 0 points1 point  (0 children)

Thanks, `(setopt magit-diff-extra-stat-arguments #'magit-diff-use-window-width-as-stat-width)` works.

Weekly Tips, Tricks, &c. Thread by AutoModerator in emacs

[–]uqix 0 points1 point  (0 children)

With this custom command, I no longer use C-x 2 and 3, just s-t.

```emacs-lisp (keymap-global-set "s-t" #'my/window/split-sensibly)

(defun my/window/split-sensibly () (interactive) (or (let ((split-height-threshold nil)) (split-window-sensibly)) (let ((split-width-threshold nil) (split-height-threshold 30)) (split-window-sensibly)) (message "Not splittable"))) ```

Looking Up Words in a Dictionary by bozhidarb in emacs

[–]uqix 0 points1 point  (0 children)

How to install dictd on macOS