Step 1: Fire all your best employees to cut costs.
Step 2: Your competitors hire those employees, and become more competitive as a result.
Step 3: Throw good money after bad and pay lawyers to sue your competitors for seizing the opportunity you yourself created for them.
Continuing my exploration of #meow keybindings for #emacs, I'm finding that just the process of getting ready to use meow is causing quite a few changes to my configuration, independent of meow, for the better:
1. I am very habituated to having a bunch of vim-like keybindings for window (in the emacs sense) management which are under C-w in vim and evil. This won't fly for meow, so I finally started using super bindings, adding s-w as the first super binding, and avoiding evil functions for these. I've been avoiding super for a long time since I use the windows key as super under linux. In ms-windows that key by default brings up the windows menu, and I decided not to rock that boat. With the pressure on to have at least a few comfortable vim-like bindings, I found a way to allow the window key to be used for super under windows, without much restriction (win-l and win-g being the exceptions).
2. I use the capslock for my i3 modifier key, and didn't have an equivalent for windows. Mapping this key to the old windows-key functionality turned out to be super easy with powertoys, and it's kind of analogous to the i3 modifier, if you squint a little. The linux key mapping is to hyper, while windows hyper has been appropriated by MS to be something completely useless and difficult--maybe impossible--to bind to a key. So this seems like a good use of an available key, and I don't want to keep the original caps-lock functionality as it's really rather useless and can be a foot gun when typing in passwords.
3. I had been binding M-w for other-window, that usage was already provided by a subbinding of C-w and now s-w. This allows some workarounds I had for magit to be removed, and allows using the binding when evil is not active.
4. I've for a long time bound the function keys as sort of a keyboard driven menu system organized around errr... functional groups of frequently used commands. As I will need to use emacs macros if I stick with meow, I needed to provide something equivalent to f3 and f4. So I moved the kmacro original definitions to C-f3 and C-f4 respectively. I am hoping this works out with meow.
I'm not sure I'll continue with meow (I still haven't finished the tutorial because of all these yaks to be shaved), but the changes its been driving are quite useful and will be helpful if I ever drop evil.
My third session trying out #meow....
My strategy with trying meow is the same as #emacs when I switched from #vim in 2015. I'm noodling around with it on a branch of my dotfiles repo. Basically I give myself low pressure editting tasks to see if I'm really ready to roll with the new setup. When I'm comfortable with that, I'll try it for work tasks. My current task is editing my init.el file (using meow bindings) to convert it to #meow. I was able to remove all the evil config successfully but it is incredibly awkward atm. Other than not really getting meow bindings, the other stumbling points are kind of surprising since so much of this is very automatic after many decades:
1. Window (in the emacs sense) management. I relied on C-w commands provided by evil. I've been able to replace these with various other commands under the C-w binding, mostly leveraging the built-in winmove.
2. Undo and redo. Although meow has an undo, there's no redo binding. I don't like the emacs bindings, so I decided to go more mainstream on this one and use C-z and S-C-z for undo and redo respectively. I've never used C-z to suspend emacs, so it doesn't seem like a huge loss.
3. Saving files. I used evil commands for these. The emacs bindings are ok, so I'm training myself to use C-x C-s. I'm already used to C-x C-c so this seems consistent.
4. Searching and replacing in current buffer. I really liked / and the :s///gc vim commands. C-s is a poor substitute so far. Still working on this.
Surprisingly, other than text editing, things are going well. I'm able to use 90% of emacs without issue. I still don't grok meow bindings yet, so next is getting up to speed on actually editing.
There seem to be many #Emacs users here in the fedi, so maybe some of you could help me find an answer to my question.
In 1981 Emacs paper, Stallman made the argument that "formal parameters cannot replace dynamic scope", which was an argument for elisp's preference fir dynamic scope.
Yet to my knowledge (and I think I read that in HOPL paper by @sperbsen and @monnier) elisp eventually gravitated towards lexical scoping.
I wonder whether this decision was based on some refutation of Stallman's argument, and if so, can the counterargument be found anywhere in the web?
For all you non-native English speakers out there, “read” is pronounced like “lead”, and “read” is pronounced like “lead”.
Once upon a time in Guatemala, the CIA hired a cocky American actor and two radio DJs to launch a revolution and oust a president. Their playbook is being used against the U.S. right now. Read all 7 parts in order below. https://narratively.com/collection/the-literally-unbelievable-story-of-the-original-fake-news-channel/
Ceci n'est pas un photomontage. C'est fou non ?
En réalité, vous voyez :
- en haut à droite, un mur orangé
- en bas à droite, le reflet du mur
- et la partie de gauche est l'eau sans réflexion à part le ciel
C'est absolument magnifique.
Voir ici: https://petapixel.com/2023/04/17/this-bird-photo-may-break-your-brain-and-no-it-wasnt-photoshopped/
My second session trying out #meow did not go well. However I found out something important.
Unlike #evil meow uses the built-in #emacs keybindings in its implementation (instead of binding to commands). So if I rebind C-b and C-f, then h and l don't work as expected but now move up and down by a page.
There's actually a note about it in the sources, and there's apparently a reason, but now I have to find new keybindings for anything that collides with emacs built-in keybindings. So that includes a number of #vim bindings that I'd rather have than the built-in bindings.
Oh well, I guess I'll have to adapt more than expected to use meow.
oof, I meant hjkl. And there are other bindings that are similar, it will all help I'm sure.
Old software developer. C++ developer by day, Rust for fun. Linux guy. Hacking on the intersection of #computervision and #neuroscience in my spare time. Fan of #SpaceX, but Elon, not so much.
*** NOTICE ***
I've been getting follows from some fairly dubious accounts, so I'm going to have to approve follows from now on. If you want to be approved, the bar is low, have some followers or a profile that checks out. Be patient, I may not check that often.
#rust #rustlang #emacs #elisp #cplusplus #i3wm #linux #embedded
#space #asciidoc #whisky #bebop