Recently at ClojureD, Josef introduced me to a tool which quickly rose to fame (in the JavaScript world): prettier. It is an opinionated code formatter for various languages - this paradigm probably got popular ever since Go started to ship such a formatter in the core tooling. I knew the paradigm and prettier itself from blog posts, but didn't really try to use it so far.

Generally speaking I liked the idea of having my code automatically formatted in Emacs whilst adhering to configured linters such as eslint. However, from the docs it was much too complicated...

  • Emacs
  • programming
  • javascript
  • elisp
  • eslint
  • prettier

By default, the great Mail User Agent MU4E prefers Plain Text mails over HTML. This configuration can be overridden via mu4e-view-prefer-html, but there's probably few of us who would do that.

However, you might still see a whole lot of HTML emails. And when you check if they have a plain text version, they might have one! There's a reason for that. MU4E has a 'HTML over plain text' heuristic with this official rationale:

Ratio between the length of the html and the plain text part below which mu4e will consider the plain text part to be 'This messages requires html'...

Lean back and relax while enjoying a deep dive into the wonderful world of the Emacs editor. Emacs renaissance came with the advent of Clojure and undoubtedly is the most popular editor among Clojurians today. Of course there is a lot more you can do with Emacs, but much like playing an instrument, great skill only comes with practice.

You neither need to be an Emacs user nor a Clojure Programmer and neither do you need to contemplate about becoming one either to enjoy this talk. Much like you don't become a professional musician by attending a concert, but it might...

  • Emacs
  • talks
  • 200ok
  • clojure
  • elisp
  • ruby
  • javascript

You might be familiar with the great vidir utility which allows editing of contents of a directory in a text editor. This is a great concept, because editors are great at text manipulation - which in turn yields more efficiency for mass renaming/moving/deletion than typing commands in a shell or using a GUI. vidir is a great tool, there's no argument to be had - it's even completely decoupled from the actual $EDITOR used. If you're using Debian, it's contained in the moretools package (which has other helpful utilities).

However, if you're using Emacs as your editor, there's no...

tramp-mode is great for editing files remotely, but sometimes having a shell and Emacs together on the same file can be invaluable.

eshell opens up a shell which is like a regular Unix shell, but is written completely in Elisp, so it's built-in to Emacs and is completely portable. eshell has many interesting properties, but let's focus on editing files remotely.

When in eshell, it is possible to change the working directory into a remote directory with the same syntax as tramp-mode. Yes, no manual ssh-ing to the remote machine, it's more like a fuse-sshfs connection, but without fuse and without the...