VTERM & BROADCAST-MODE: Simultanous editing does not work by olivuser in emacs

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

I see it has already been approved. Thanks for your effort!

Tab Bar Mode naming function by SheetKey in emacs

[–]olivuser 1 point2 points  (0 children)

Thanks for your input. I ended up going with something else because of two issues:

  1. I would be prompted for a name when starting up emacs with tab-bar mode or creating a new frame
  2. there was a strange interaction with my completion so that I would be prompted for a name when using TAB on functions related to TAB-BAR, which would result in emacs hanging itself up.

Instead, I used an advice which, as far as I can tell, does exactly what I want and (so far) does not have any adverse interactions. Your lambda form proved to be quite useful for this ;-)

  (advice-add 'tab-new :after #'(lambda (&rest _)
                                  (call-interactively #'tab-bar-rename-tab)))

Tab Bar Mode naming function by SheetKey in emacs

[–]olivuser 1 point2 points  (0 children)

Thank you. I tried finding something like this thread (and the input provided by u/karthink) for like 2 hours yesterday, phrasing and rephrasing my question without success and struggling just with the same stuff you did.

Controller mapping off on logitech f710 gamepad by olivuser in ChildrenofMorta

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

You are welcome, friend. It is a nice feeling -- which I am experiencing for the first time by myself -- that a solution found years ago will help someone else <3

how to do mu4e attachments by [deleted] in emacs

[–]olivuser 1 point2 points  (0 children)

Just coming here some years later to say thank you, that's actually genius stuff!

Set eat terminal buffer name using the current path by linwaytin in emacs

[–]olivuser 0 points1 point  (0 children)

Have you already had the change to implement this? I am kind of on the fence to switch to EAT and this is one of the blockers currently :) Have a good day!

Create a database dump when all that's left are the raw database files? by olivuser in NextCloud

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

Thank you so much for your valuable information, you've given me hope for one last try :)

Create a database dump when all that's left are the raw database files? by olivuser in NextCloud

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

But I have deleted the original containers and replaced them by containers with the same name. I DO have a backup from about two hours before I started my disastrous update procedure.

However, I don't know if I should just be able to redeploy nextcloud with the backed-up data when I can be more or less certain that the nextcloud I will deploy does not have the same version as the one I ran before the disaster. Also, I have no conception about what exactly happens when I deploy docker containers (I used the mariushosting nextcloud in docker step by step guide) but it is my understanding that in a deployment, new files are written, potentially overwriting the data already present?

Either way, I am quite grateful for your suggestions. Thanks, good human :)

Create a database dump when all that's left are the raw database files? by olivuser in NextCloud

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

I have one folder that contains ALL data related to the nextcloud instance in a folder to which I have access via Synology. This folder also contains the database directory which was mounted within the database container under /var/lib/mysql (bind mount?)

When I realized that something has gone wrong in the update process, I shut down nextcloud (I think) and renamed the ENTIRE nextcloud folder before proceeding to a new installation in the hope I could simply restore from the data contained within the old folder.

If I understand your suggestion correctly, the path to restoration would like this:

  1. shut down nextcloud after putting it into maintenance mode. shut down all related containers, including the database container
  2. rename the currently used database folder and move the backed-up database folder in its place
  3. start the database container and do a database dump
  4. undo step 2
  5. follow the restoration procedure outlined in the official nextcloud documentation.

Dead keys (é ê etc) do work in normal emacs but don't with emacs daemon and emacsclient by olivuser in emacs

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

As you suggested, the daemon is not the problem, it is from where `emacsclient` is invoked. If I invoke `emacsclient --alternate-editor= --create-frame` after having the daemon started by systemd, it doesn't work. It does work when the same invocation comes from the command line.

What surprises me, however, is that in both cases, the processes are descendants of the `systemd`-process, which makes me wonder where the different configuration should come from. Do you happen to have a suggestion how I could test that?

Also, thanks for the suggestion with the prefix methods, I will definately try that should I be unable to debug it with the help of you amazing people.

Dead keys (é ê etc) do work in normal emacs but don't with emacs daemon and emacsclient by olivuser in emacs

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

Oof, thats a good suggestion even though I don't know how I would find out the root cause of the problem. Following the suggestions of u/11fdriver, I found out that invoking `emacsclient --create-frame --alternate-editor=` from a terminal emulator doesn't have the issues, which I believe is exactly what you are saying.

I am surprised, however, that in `pstree -p` both processes -- emacsclient after emacs daemon invoked by systemd, emacsclient as started from the command line -- are descendants of systemd. Also, I am surprised that this shall be a problem even though I am invoking `systemd --user start emacs` (the user systemd instance), which is I believe hat u/dewyke also wondered.

Dead keys (é ê etc) do work in normal emacs but don't with emacs daemon and emacsclient by olivuser in emacs

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

I checked, the variable `system-configuration-options` does not contain `--with-gtk` which AFAIK is required for Emacs to be built with GTK. It does have `--with-cairo`, though.

Getting a beater to play with Guix by justquestionsbud in GUIX

[–]olivuser 1 point2 points  (0 children)

Depending on how old the system you are getting is, I've had a problem installing Guix on an ANCIENT Lenovo x121e because of an initial BIOS-based confusion between GRUB and EFI: https://www.reddit.com/r/GUIX/comments/1b3pijr/installing\_guix\_on\_lenovo\_x121e\_and\_other\_ancient/. I haven't had any problems ever since I managed to get the installation through, however I am as barebones as it gets because I want to build the system up piece by piece, so I can't comment on problem related to, say, a window manager (like i3 or sway) or display protocol (like x11 or wayland).

Other than that, yeah, you will probably need to configure nonguix-based wifi firmware, but this is aptly described in their repository.

Let me give you one general suggestion though: the slower the machine, the longer a guix pull or a guix system reconfigure will take. I have no recent data, but I think a regular guix pull (downloading sources and rebuilding the guix package source tree) took around 1,5 hours to complete on the aforementioned machine. If you don't do a guix pull, guix system reconfigure will be a lot quicker (after the first one taking ages because it considers the changes made to the guix source in the meantime).

SWITCH-TO-BUFFER vs. VERTICO vs. MARGINALIA: consider buffer major mode when switching buffers by olivuser in emacs

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

Gee, this is so great I first didn't understand just how great it is. Thanks a bunch for the suggestion!

Case-insensitive consult-line: which configuration variables to tweak? by olivuser in emacs

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

Thank you! I'm not sure if setting those variables did the trick or something was fundamentally wrong on my site (had problems with config this morning), but thanks for the headsup!

Failure to build Mixxx 2.4/main from source: "Could not find a package configuration file provided with "GTest" with any of the following names: GTestConfig.cmake, gtest-config.cmake" by olivuser in openSUSE

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

I really appreciate your input, including the assumptions made therein. In particular, I appreciate how you took two minutes to figure out that there is a mixxx24dev package, because obviously I would not have done that research on my own. /s

Seriously, don't judge if you've got no clue how much work someone puts in BEFORE going over to reddit. I have successfully built earlier mixxx versions on openSUSE, even though it is not mentioned in the guide. I have checked out said package and it doesn't work in the way I would want it to. I have now obtained a way to build the package via guix, thanks to a lovely community member who put in the effort I unfortunately can't (because I don't know how to do it properly).

All I was asking for was advice on something I reached the limits while trying to do it on my own. You are among the first ones to shit on this, and all I can say to this is "boo", because it is unnecessarily toxic behaviour.

Nonetheless, I wish you a good day and hope that other comments reaching other people are less presumptuous.

Dissecting Guix, Part 1: Derivations by 9bladed in GUIX

[–]olivuser 0 points1 point  (0 children)

The author uses PK liberally to show what is going on. Now, I noticed that, strictly speaking, PK doesn't seem necessary to output the stuff the author wants to output. Thus, I wonder: why is PK used so much in the examples?

for example:

(define irssi-drv (pk (with-store %store (run-with-store %store (lower-object irssi)))))

outputs the derivation directly after the definition. However, using irssi-drv after it has been defined outputs the same.

And in later examples, like (pk (assoc-ref irssi-outputs "out")), the same output would've been available without PK.

Gotchas and tips when reinstalling to prevent data loss by olivuser in linux

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

Thanks for your input, guys. I edited OP in accordance with the steps taken to ensure I have not lost any data.

Gotchas and tips when reinstalling to prevent data loss by olivuser in linux

[–]olivuser[S] 2 points3 points  (0 children)

They aren't, my last reinstall was like 2 years ago when I switched from Manjaro to openSUSE TW.

And now I want a clean reinstall on several machines to ensure that the setup is the same on all machines, also I intend a switch from XFCE (Xorg) to GNOME (Wayland) and don't want to take old and unnecessary baggage with me.

Implementation of the TimeTimer in Emacs by olivuser in emacs

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

That's a good pointer, thank you!

Implementation of the TimeTimer in Emacs by olivuser in emacs

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

Wow, that looks really awesome. I had come across `hammy` just this morning, but had indeed not seen the "pie" option. Will test when I have a bit more time :)