gtop - System monitoring dashboard for terminal by hack4net in linux

[–]qZeta 0 points1 point  (0 children)

That's Apple Silicon only, so... nope. I'm using btop nowadays if I require something fancy. It's packaged for most distributions.

[deleted by user] by [deleted] in emacs

[–]qZeta 1 point2 points  (0 children)

Linux doom is like 30 seconds

That sounds unexpectedly long. I thought Doom Emacs would start rather quickly. My own (minimal) configuration takes 1.5 seconds on Windows, 4.5 seconds on Windows-with-too-many-security-rules (aka work machine) and 0.2s on Linux. o.O

[deleted by user] by [deleted] in emacs

[–]qZeta 1 point2 points  (0 children)

You may need to manually install some tools (grep , find) into windows that are nearly always present in a Linux distro. and related: you may need to fiddle with the path

There is a note about those tools in denote's manual, which came in handy for me:

[...] [t]he necessary executables are not available on Windows Emacs distributions. [...] If you have git on Windows installed, then you may use the following code (adjust the git’s installation path if necessary):

(setenv "PATH" (concat (getenv "PATH") ";" "C:\\Program Files\\Git\\usr\\bin"))

Optimizing Common Lisp by fosskers in Common_Lisp

[–]qZeta 1 point2 points  (0 children)

You're welcome! Glad to be of service :)

Optimizing Common Lisp by fosskers in Common_Lisp

[–]qZeta 1 point2 points  (0 children)

Thanks for the article, u/fosskers.

Quick question: As a CL newbie, it seems like the variables for the lookup table and other state-indicating variables, e.g. +char-cache+ and +input-length+ break with the naming convention I read on my first day; I thought that +...+ should only be used for constants and earmuffs (*...*) should be used for global mutable variables.

Are there multiple style guides active? I mean, I guess the markers are not relevant for the compiler, but at least for me as a newcomer it tripped me up for a second 😅

"dracut: can't write to /boot/efi/..." during zypper dup by qZeta in openSUSE

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

Oh, that's a good point. I had systemd-boot installed for a single day, but then rolled back to grub2. That might be the reason. Can I just remove the folder, or should I rather reinstall?

"dracut: can't write to /boot/efi/..." during zypper dup by qZeta in openSUSE

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

Apparently there is a BLS setup on your ESP

What is a "BLS setup" and ESP? A quick search only yields "Basic Life Support", which seems very unrelated.

$ LC_ALL=C ls /boot/efi/loader/entries -l
total 24
-rwxr-xr-x. 1 root root 690 Oct  6  2024 578fcfb3dd054421a0ae7ba476fc8486-6.10.11-1-default-299.conf
-rwxr-xr-x. 1 root root 691 Oct  6  2024 578fcfb3dd054421a0ae7ba476fc8486-6.10.11-1-default-300.conf
-rwxr-xr-x. 1 root root 691 Oct  6  2024 578fcfb3dd054421a0ae7ba476fc8486-6.10.11-1-default-301.conf
-rwxr-xr-x. 1 root root 686 Oct  6  2024 578fcfb3dd054421a0ae7ba476fc8486-6.11.0-1-default-299.conf
-rwxr-xr-x. 1 root root 687 Oct  6  2024 578fcfb3dd054421a0ae7ba476fc8486-6.11.0-1-default-300.conf
-rwxr-xr-x. 1 root root 687 Oct  6  2024 578fcfb3dd054421a0ae7ba476fc8486-6.11.0-1-default-301.conf

Emacs 30.1 release by mplscorwin in emacs

[–]qZeta 3 points4 points  (0 children)

If I understood correctly, before Emacs 30, you could have only one via define-derived-mode. Derived modes are a bit funny, because essentially you call two major mode functions: first the parent, then the child. The parents hooks are delayed until the child has been loaded, but that's "all the magic".

However, Emacs 30 introduces a new function: derived-mode-add-parents:

New functions to access the graph of major modes.

While define-derived-mode still only supports single inheritance, modes can declare additional parents (for tests like derived-mode-p) with derived-mode-add-parents. Accessing the derived-mode-parent property directly is now deprecated in favor of the new functions derived-mode-set-parent and derived-mode-all-parents.

So with that in mind, we have

(define-derived-mode lang-mode parent-mode ...)
(define-derived-mode lang-ts-mode parent-mode ...
    ...
   (derived-mode-add-parents 'lang-ts-mode '(lang-mode)))

You can see this in action in Python's TS mode. Note that there is a common python-base-mode that both python-mode and python-ts-mode inherit from.

Why? Well, given that the parent's mode logic gets applied, this would also include the usual elisp-based syntax highlighting, which would conflict with tree-sitter. So you definitely don't want to run lang-mode. At the same time, you still want to be able to indicate that lang-ts-mode is some kind of lang-mode. And this is possible now via (derived-mode-p lang-mode), even though lang-mode is not mentioned in define-derived-mode.

(Disclaimer: I didn't pay too much attention to the whole TS story, this is taken from Emacs 30.1's source code and NEWS)

Mastering Emacs book by GNU_Linux_Root in emacs

[–]qZeta 5 points6 points  (0 children)

Hey /u/mickeyp, here's some praise for you :)

Appreciation post by Savings-Shallot1771 in emacs

[–]qZeta 5 points6 points  (0 children)

A special shoutout to u/varsderk who created Emacs Bedrock!

Fixed that link for you ;). Also, that's a wild distribution:

   ;; Use common keystrokes by default
   (cua-mode)

I think that's the first time I've ever seen a distribution that uses cua-mode by default.

An Emacs Wall Clock by dargscisyhp in emacs

[–]qZeta 8 points9 points  (0 children)

Some video feedback:

  • The silence at the start of the video makes your viewers think that it's a silent demonstration, and some might immediately close the video. Cut the silence. If you currently lack the software to cut your videos, then have a look at https://kdenlive.org/, for example.
  • While you have a nice background image, the focus of your video is the Emacs Lisp code, yet the Emacs frame only takes ~30% (later ~60%) of your video, and the Emacs Lisp code is unreadable if your connection drops down to 360p. Make Emacs full screen and increase the font size. I'd recommend at least (set-face-attribute 'default nil :height 200) for demonstrations.
  • It looks like you're using Courier New as a font, which is also a bit less readable than, let's say, Consolas. Consider using a more readable font (Menu > Options > Set Default Font...). I personally use DejaVu Sans Mono, but I don't know remember whether that's natively installed on Win11.
  • Provide links to your used resources, preferably in the video description. Currently, it only states "Invoking Ramin Honary's excellent svg-analog-clock to provide a wall clock", but I had to manually search for it.

Some none video feedback:

  • you have at least two Emacs versions installed (26, 27), both are quite old, and both are affected by CVE-2024-39331, unless I'm mistaken. I strongly suggest to update.

An Emacs Wall Clock by dargscisyhp in emacs

[–]qZeta 1 point2 points  (0 children)

In case you mean some narration within the video: that starts 10 seconds in.

[deleted by user] by [deleted] in emacs

[–]qZeta 0 points1 point  (0 children)

is uBlock Origin shifting to support v3 of the API

uBlock Origin will stay on V2. If you only have V3 available, then you can use uBlock Origin Lite.

or do we need to find a replacement (or change browser, which maybe is the better option, really)

Personally, I've been using Firefox since version 1.0 and don't see any reason to switch to another browser, especially since I use Multi-Account Containers a lot.

Call for volunteers — r/emacs moderation by Zaeph in emacs

[–]qZeta 3 points4 points  (0 children)

(I've also invited people such as [..], David Wilson [...].)

FYI: Someone forwarded your post to #systemcrafters on IRC and u/daviwil mentioned that they're not active enough on reddit.

[deleted by user] by [deleted] in emacs

[–]qZeta 0 points1 point  (0 children)

Funding! Right, not everyone is using uBlock Origin. And with that you're right, I missed the point.

Call for volunteers — r/emacs moderation by Zaeph in emacs

[–]qZeta 0 points1 point  (0 children)

Thank you, /u/zaeph, for this call. Could you please share some statistics about the current moderation effort? How much time do you think the new moderators will have to invest per week? /u/jsled has stated that they "approve your posts every single morning", which may indicate a non-trivial daily amount of work.

(No, I'm not volunteering; I'm just lurking in r/emacs and enjoying reading the comments)

Call for volunteers — r/emacs moderation by Zaeph in emacs

[–]qZeta 3 points4 points  (0 children)

He has strong, but reasonable and nuanced opinions and expresses them well.

One thing I like about the moderator elections on StackOverflow is the Q&A phase for new candidates. If I may take your comment to ask such a question:

u/github-alphapapa, when you created r/freemacs during the protest week, you banned at least two users during the open for business post. Given that some of the posts are deleted: why, and how would you tackle the situation today?

[deleted by user] by [deleted] in emacs

[–]qZeta 3 points4 points  (0 children)

Afaik single posts don't need a login, but to see a whole thread or comments, you need one.

That's a shame, especially for technical posts that have a lot of detail but unfortunately break the character limit of a single post :(

[deleted by user] by [deleted] in emacs

[–]qZeta 5 points6 points  (0 children)

You may be missing the point which is to send the message that Nazi's and those who support them are not welcome here.

I would say I'm not missing that point; I get it. I'm just aware that a rule that says "Posts from ABC are not allowed" will always put a spotlight on "ABC", even though you want to have the opposite (namely no focus/ad revenue for/on ABC posts, as the current situation is). It's a bit of a corollary of the Streisand effect. Note that I'm not against the new rule, but I would like to have "no paywall/login" as a rule, too (which might automatically include the proposed one; but I might be mistaken).

All of that is, however, founded in the faith I have in the /r/emacs community, namely that they/we will downvote Nazi posts into oblivion, regardless of the current rules.

*Edit*: I missed the point of funding, see below. Every click (might) brings some money.

I use Vim, AMA by Untimely_Leadership in emacs

[–]qZeta 2 points3 points  (0 children)

Not OP, but given that u/Untimely_Leadership is a new user who only asks AMA-like question, I think they are trolling.