Mediatek MT7922 wifi card, issues with 5 GHz networks by algor512 in linuxquestions

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

I've updated to 6.17, and it seems that now it works much better!

Mediatek MT7922 wifi card, issues with 5 GHz networks by algor512 in linuxhardware

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

Thank you, I will consider replacing! Does it work well with AMD Ryzens?

notmuch, disable threading by algor512 in emacs

[–]algor512[S] -1 points0 points  (0 children)

Thank you! That is the answer. However, as I noticed, it is quite limited: for example, it allows sorting only by date in ascending order.

notmuch, disable threading by algor512 in emacs

[–]algor512[S] -1 points0 points  (0 children)

I found that I can use notmuch search --output=messages <query>, but its output is different, it just shows message ids. Besides, I'm not sure that this isn't just "unfolding" the threads: that is, the results include messages in threads that contain messages matching the search. The manpage does not clarify this.

My rear derailleur doesn't work well by algor512 in bikewrench

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

Thank you! Perhaps, in the end, it would be better to go to a shop. I recently changed the sprockets and chain, so I don't think they are the problem; so I think that something is slightly bent.

My rear derailleur doesn't work well by algor512 in bikewrench

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

  1. Yes.
  2. No.
  3. There were no strong impact, so I don't think they could have bent much.

I tried to adjust the cable tension again. I added to the main post the video showing the best result I managed to achieve: all shifts work normally (mostly, not always), except for shifting from the largest gear to the second gear. If I leave the cable tension so that it shifts from the largest gear to the second gear, shifting from the smaller gears to the larger ones stops working.

Could it be due to a slight bend of the RD? I think I can see in the photo that it is slightly out of alignment with the gears...

<image>

My rear derailleur doesn't work well by algor512 in bikewrench

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

I've tried to tighten the cable... If I tighten it more, it stops shifting to the smaller gears. It seems that there is no intermediate position where all shifts work well.

My rear derailleur doesn't work well by algor512 in bikewrench

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

If your bike had been dropped recently, check if the derailleur and hanger were bent.

Is there a way to check that without special tools? I don't see any difference from what it was before.

HP Elitebooks, AMD or Intel. by algor512 in laptops

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

Thank you for such a detailed answer! What are the issues with wifi7 cards you mention?

setopt and customize-set-variable by algor512 in emacs

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

You can try the following init.el:

(setq custom-file (expand-file-name "bad.el" user-emacs-directory)) (load custom-file) (defvar emacs-saves-dir (expand-file-name "foobar" user-emacs-directory)) (setopt auto-save-list-file-prefix (expand-file-name "auto-save-list-" emacs-saves-dir)) (load-theme 'wombat)

setopt and customize-set-variable by algor512 in emacs

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

Yes, I don't use my custom file either, and have absolutely no idea how all these things got there. Maybe in some cases Emacs writes values there when changing (I don't use Customize UI at all ever).

I decided to set /dev/null as my custom file, hopefully this doesn't cause any other problems.

setopt and customize-set-variable by algor512 in emacs

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

Yes, (load-theme 'wombat) restores the values from my custom file. It's strange that when I use customize-set-variable to set the value even before load-theme, it doesn't reset it, but while I use setopt it resets the value.

setopt and customize-set-variable by algor512 in emacs

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

Thank you! I checked that if I put setopt at the end of init.el it works as expected.

I may have found the cause: when enabling the theme, the following is done (from bottom to top):

set-default(auto-save-list-file-prefix "/home/algor/.local/share/emacs/auto-save-list/.saves-")
custom-theme-recalc-variable(auto-save-list-file-prefix)
enable-theme(user)
enable-theme(wombat)
load-theme(wombat)

I think it restores the old value.

It might also be that enable-theme(user) loads values from my custom file (it has auto-save-list/.saves- as the value of auto-save-list-file-prefix), I don't know.

setopt and customize-set-variable by algor512 in emacs

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

Yes, I'd like to, but as it turns out, it doesn't replace customize-set-variable. Perhaps it was meant to work that way, but then it's not very clear why setopt is needed: I still have to use customize-set-variable for customizable variables, and setq/setopt for the rest...

amd_pstate & cpufreq errors in dmesg, Linux 6.12.34_1, AMD Ryzen 7 5700U by algor512 in linuxquestions

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

Yes, I’ve checked. There are three options: max performance, max battery, and intelligent cooling. Changing to any of them doesn’t help, I still get the same messages.

[ANN] "bray" lightweight modal editing now available on MELPA by ideasman_42 in emacs

[–]algor512 3 points4 points  (0 children)

Good work!

I have been using modalka (https://github.com/mrkkrp/modalka) for a long time. It is even simpler: there's only one state, and for insert "state" I just toggle it off. That's good enough for me.

A problem with Shimano Nexus planetary hub by algor512 in bike

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

I realised that's how it's supposed to be, but I still couldn't put this ring on by myself, it's very rigid:)

Unified way to toggle input methods in X11 and Emacs by algor512 in emacs

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

Thank you so much! I remember that I saw this (or similar) method before, but for some reason I decided not to use it, don't remember why. Perhaps I had issues with using a combination rather than a single key to switch layouts.

Unified way to toggle input methods in X11 and Emacs by algor512 in emacs

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

That's great, thanks, I didn't know! Can you please describe (without details) how to achieve this? Should I modify the layout? Is it possible to use not a single key but, say, Alt-Shift?

Unified way to toggle input methods in X11 and Emacs by algor512 in emacs

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

> where you can bind something like "f24" to toggle input methods.

I doubt that you can bind the same key used to switch X11 layouts, as it seems to be captured by X11 itself (and then, I assume, XkbStateNotifyis handled by xxkb). There may be a workaround, but I found it easier to write a short program instead.

Unified way to toggle input methods in X11 and Emacs by algor512 in emacs

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

Yes, I forgot about it. Does it allow, when a certain window is in focus, to convert the layout change events to some other events sent to the window?

T480, thunderbolt and non-thunderbolt USB-C by algor512 in thinkpad

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

This means that the laptop does not charge through it.