DrOps

joined 1 year ago
[–] DrOps@feddit.de 1 points 6 months ago

This is the fediverse. Depending on which service you are, and what software you use, you see either my blog article on https://plaindrops.de/blog/2024/CodingLispWithChatGPT/

or the Feddit server I posted this Link on. You got the latter, and it’s web interface is throwing that error. I informed the admin.

[–] DrOps@feddit.de 1 points 6 months ago (2 children)

For plaindrops.de or feddit.de?

5
submitted 6 months ago* (last edited 6 months ago) by DrOps@feddit.de to c/emacs@lemmy.ml
 

When I needed a taylored function for a problem, I tried if ChatGPT could help me.

 

Making a Hydra for Denote was not as straightforward as I thought, Therefore I documented it

 

For sure, I’m heading straight to Emacs hell for this.

Apparently, there are a lot of Emacs purists in the world who, over the years, have learned to type such complex key sequences as C-x r t M-. C-c C-p fluently. I'm not one of them. And when I tried to figure out how to customize it for myself, the web forums were full of comments saying it wasn't a good idea.

[–] DrOps@feddit.de 15 points 1 year ago (3 children)

I did 4 things, that helped me a lot:

  1. Make aliases for the most visited directories

alias cem=’cd /home/drops/.config/emacs’

  1. Make aliases for moving up the tree tree:

alias. .=’cd. . && ls’

Three points for two levels up, etc...

  1. Name all directories lowercase, 3-5 letters long, and try to avoid directories with the same starting letter as siblings That way you can use tab completion with just a single letter

  2. Use the option to jump to subdirectories of /home/user from everywhere.

[–] DrOps@feddit.de 5 points 1 year ago (1 children)

Nope, I switched back to X11 after I found, that xdotool couldn't work with Wayland, and ydotool doesn't support window handling.

 

Yesterday I tried to layout a bunch of program windows via xdotools moveto and resize. In theory they should have been all the same size, but they came out all different, and none had the targeted size. They all had space around them. What is involved in this process? Are there invisible borders, or stuff like that?