Avatar

xenodiumB

xenodium@alien.top
Joined
3 posts • 13 comments
Direct message

So far, in the small experiments I’ve done, it’s been fantastic. Thank you! You’ve also done a wonderful job with the documentation https://savchenkovaleriy.github.io/emacs-swift-module/documentation/emacsswiftmodule

I’ll file issues if I run into any troubles.

Apart from https://github.com/roife/emt (which reminded me to look at your project), I haven’t seen other integrations. I’d love to see what others are doing. What are you using it for?

So far, I’m replacing my previous implementations of reveal in finder (w/ selection) and sharing, with a snappy module implementation. Good times :)

Thanks again for the thorough work on it.

permalink
report
parent
reply

i want a video or a proof that emacs is wayy faster and efficient to code on than conventional vim

Watch all of https://emacsrocks.com

As a sneak peek, check out episode 13 (watch til the end)

permalink
report
reply

It’s been a while since I’ve updated this page, but I had bookmarked a bunch of elisp things. https://xenodium.com/emacs-lisp-bookmarks

There should be some links there that qualify the requirements, examples:

https://harryrschwartz.com/2014/04/08/an-introduction-to-emacs-lisp.html

https://github.com/abo-abo/elisp-guide

https://github.com/caiorss/Emacs-Elisp-Programming

Having said that, go to the built-in elisp manual to go deeper.

permalink
report
reply

I can think of two options:

  1. M-x find-dired RET RET RET (or adjust query): which will list all files recursively in dired. You probably don’t need to copy them elsewhere for renaming. Use M-x dired-toggle-read-only (or C-x C-q), rename in-place, and commit (toggle again C-x C-q). https://xenodium.com/batch-renaming-with-counsel-find-dired-and-wdired
  2. dired-subtree: enables drilling down to multipe subdirectories from the same dired buffer. Expand the subdirectories needing management, and edit like 1. (via C-x C-q) https://xenodium.com/drill-down-emacs-dired-with-dired-subtree

Edit: markup

permalink
report
reply

Probably MELPA hadn’t picked up my changes when you tried it. Maybe update the lckage and try again.

permalink
report
reply

As a macOS user, I typically glue these dired things via dwim-shell-command (disclosure, I wrote that).

Not super tested, but I added dwim-shell-commands-macos-add-to-photos to dwim-shell-commands.el (the optional part of the package).

(defun dwim-shell-commands-macos-add-to-photos ()
  "Add to Photos.app."
  (interactive)
  (dwim-shell-command-on-marked-files
   "Add to Photos.app"
   "osascript <>\"
  end tell
EOF"
   :silent-success t
   :utils "osascript"
   :on-completion (lambda (buffer process)
                    (if-let ((success (= (process-exit-status process) 0)))
                        (start-process "Open Photos" nil "open" "-a" "Photos")
                      (switch-to-buffer buffer)))))
  1. Select 1 or multiple photos from dired
  2. M-x dwim-shell-commands-macos-add-to-photos

ps. This also works on current buffer if you’re viewing an image in a buffer.

permalink
report
reply

Pick any that you like from https://emacsrocks.com. My favourite is https://emacsrocks.com/e13.html well worth watching until the end where it all comes together.

permalink
report
reply