StrangeAstronomer

joined 2 years ago
[–] [email protected] 2 points 1 year ago (2 children)

It might be more expected for you but I'm going to differ.

for an article (or a link to a image), it takes you there instead.

... and then you can't get to the discussion.

The RSS-2.0 definition of is

The URL to the HTML website corresponding to the channel.

so clearly, it should point to the lemmy post. No other RSS feed that I know of has this problem.

Fortunately, emacs can flex around this, but duh! Where can I raise a bug report?

[–] [email protected] 5 points 1 year ago

OK, more than wow! Probably the most helpful, in-depth and up to date coverage of this topic I've seen in 40 years of barely scratching the surface of emacs. Thank you!

[–] [email protected] 1 points 1 year ago

Wow! Just wow!

[–] [email protected] 2 points 1 year ago

Nice, sensible article.

You might also be interested in i3-menu for i3 and sway which presents a menu of i3/sway commands - very useful for those commands which one rarely uses or for which there is no key binding. It uses 'smart' comments in the config file.

[–] [email protected] 1 points 1 year ago

Another approach entirely is to use pam_mount(8) which can automatically mount a disc on login. I use it to mount /home/$USER (obviously this couldn't be used to mount the root fs !!)

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I find the various linters and checkers a bit too intrusive while I'm trying to code - I prefer to just have a check when I stop fiddling with the code and save it. So I have these checks run in after-save-hook - if there are errors, I get a popup otherwise nothing and all is good:

;; ** syntax checking on file save:
(defun bh/check-syntax ()
  "Check syntax for various languages."
  (when (eq major-mode 'emacs-lisp-mode)
    (ignore-errors (kill-buffer byte-compile-log-buffer))
    (let ((byte-compile-warnings '(not free-vars obsolete unresolved)))
      (unless (byte-compile-file buffer-file-name)
        (pop-to-buffer byte-compile-log-buffer))))
  (when (eq major-mode 'sh-mode)
    (compile (format "bash -n %s && shellcheck -f gcc %s" buffer-file-name buffer-file-name) t))
  (when (eq major-mode 'ruby-mode)
    (compile (format "ruby -c %s" buffer-file-name) t))
  (when (eq major-mode 'python-mode)
    (compile (format "python -B -m py_compile %s" buffer-file-name) t))
  (when (eq major-mode 'awk-mode)
    (compile (format "AWKPATH=$PATH gawk --lint --source 'BEGIN { exit(0) } END { exit(0) }' --file %s" buffer-file-name) t)))

(add-hook 'after-save-hook #'bh/check-syntax)

I don't work much with json files but I daresay the idea could be extended to them. Sorry about the crappy elisp.

[–] [email protected] 7 points 1 year ago

virt-manager for the win!

[–] [email protected] 7 points 1 year ago (14 children)

"64-128mb ram" is hardly "low memory"!

[–] [email protected] 2 points 2 years ago

I'll join in too - here's mine

[–] [email protected] 16 points 2 years ago (2 children)

You can't avoid IBM/RedHat - they contribute to the kernel and many, many other parts of Linux eg systemd. I have no idea what you mean by DIY distros, what a peculiar adjective in this context. Linux itself is DIY. Life is DIY.

That said, voidlinux is an independent distro without systemd or snaps based on runit for init and xbps for package management. It's also a STABLE rolling release.

[–] [email protected] 4 points 2 years ago (1 children)

waybar is good

scrcpy for android connectivity; syncthing to get files to and fro android (and any other linux system)

clipman for clipboard manager

wallpaper - whatever for? with a TWM you rarely see the background

emacs - because it's life (I jest)

[–] [email protected] 10 points 2 years ago* (last edited 2 years ago)

Can't believe no-one mentioned voidlinux yet. It's very tasty.

view more: ‹ prev next ›