habamax

joined 11 months ago
[–] [email protected] 1 points 10 months ago

I had this issue, then compiled emacs --with-pgtk and fonts became way better.

However, recently, wsl2 was updated in my win11 and out of curiosity I had recompiled emacs without pgtk and fonts are actually crisp and look the same as --with-pgtk.

I am staying with X due to better clipboard support, though, ugly white borders are something you have to "embrace" :)

[–] [email protected] 1 points 10 months ago (1 children)

Do you think you need this in emacs 29?

(require 'package)
(require 'use-package) ;; requires package.el and use-package so we can use it

(package-initialize)
(unless package-archive-contents
  (package-refresh-contents))

;; Initialize use-package on non-Linux platforms
(unless (package-installed-p 'use-package)
  (package-install 'use-package))
[–] [email protected] 1 points 10 months ago

Using M-x grep RET with ripgrep:

;; ripgrep as grep
(setq grep-command "rg -nS --no-heading "
      grep-use-null-device nil)

Then M-g n or M-g p for the next/previous match. With (repeat-mode) consequent next/previous are just n and p.

https://asciinema.org/a/YuUtg8nswgaiBxrIm9drTXAtD

[–] [email protected] 1 points 10 months ago (1 children)

Try this:

(eww-display-html 'utf-8 (buffer-name) nil (point-min) (current-buffer))

https://asciinema.org/a/bg4bmSYDhVwvZdLcwb9zmofOI