Thursday, July 28, 2016

Emacs: disable auto-indent of new lines

This is a new feature from Emacs 24.4.
To revert to the old behavior, you need to disable electric-indent-mode.
(when (fboundp 'electric-indent-mode) (electric-indent-mode -1))
See http://emacs.stackexchange.com/questions/5939/how-to-disable-auto-indentation-of-new-lines

Monday, July 11, 2016

CentOS 6 / wkhtmltopdf: extra spaces added in strings when generating PDF from HTML

The tip on this page solved it for me:
sudo wget http://pastebin.com/raw.php?i=AmfYN3er -O /etc/fonts/conf.d/10-wkhtmltopdf.conf