majutsu a magit inspired Emacs client for jujutsu
majutsu a magit inspired Emacs client for jujutsu
Hot Lemon Tea ๐๐ซ and some peeking ๐
Hot Lemon Tea ๐๐ซ and some peeking ๐
Takeaways from a second serious session of #Lisp programming in #ed(1):
โข I still need Emacs for indentation and because I only set up #Git auth in #Magit.
โข Overall, the code is working nicely with line-readtable syntax
โข But Iโm afraid of the possibility of extending this code, because my nice line-local nesting operators will break when split across lines.
โข My programming style immediately shifted to writing small functions that compose (somewhat (like (that on args))) like in Lamber and #Wisp
This post is written in aed(1)
Woohoo! Had a quick look and fixed an annoyance I was having:
(setq magit-diff-visit-prefer-worktree t)
At some point recently Magit decided to show me the file in the index, rather than the worktree, when I press RET on a file header in the status buffer. I barely like it when I accidentally open an earlier revision of a file because I pressed RET on a deleted, not an added, line and now having it open the file in the index rather than the worktree just completely confused me.
Great that they added a setting to bring back the previous behavior :)
Is it useful to anyone to open the file in the index rather than the worktree? What am I missing?
#WritersCoffeeClub Jan. 4 - Share a tool of your trade.
#Emacs #OrgMode on the digital side. This is where all my drafts start out unless they are short and simple/already complete, or have special formatting needs requiring a word processor. I manage versions with #git, which Emacs greatly simplifies with the #Magit package, and once I'm ready to share or submit I export the .org file to .odt, and then to .docx, and edit with #LibreOffice Writer from there. Basically Org Mode meets the drafting and structuring needs Scrivener used to on Windows and Mac.
On the analogue side I like to carry around little one-sheet notebooks made from used printer paper. I simply tuck them inside an old passport bag that's my daily carry and write drafts or take notes on the go before I transcribe them into the appropriate Org Mode file. WikiHow has a nice article on how to make these mini notebooks, and you can skip the stapling step if you use them as discardable temporary notes like I do. https://www.wikihow.com/Make-a-Paper-Book
Thanks for the suggestion, but I'm not gonna rename Magit. ๐คจ #magit #git #emacs https://github.com/magit/magit/discussions/5499
Poking ....๐
Poking ....๐
Ummm ๐ค
Ummm ๐ค
Emacs speed up tip: If you only use git, add:
(setq vc-handled-backends '(Git))
The default value is (RCS CVS SVN SCCS SRC Bzr Git Hg)
Git is second to last! When visiting a file, Emacs will check all these in order to see if the file belongs to any of them.
See: https://www.gnu.org/software/emacs/manual/html_node/emacs/Customizing-VC.html
Posted by respatialized to #clojurians Slack
@hajovonta @ljs The bright side is that the updated #magit now works with the updated #Emacs, so I can finally start working today.
I was today years old when I discovered #git worktrees. ๐คฏ
Naturally, #Emacs' fantastic #magit handles them perfectly. ๐
@tarsius is a ๐
https://huonw.github.io/blog/2025/12/magit-insert-worktrees/
HT @samebchase for https://fantastic.earth/@samebchase/115728306442589471