Wednesday, July 09, 2014

blogspot: how to insert code

To insert code nicely formatted in blogspot use the following code:
<pre><code>
my code goes here...
</code></pre>

emacs: saves all the backup into a single folder

A nice settings suggested in http://www.emacswiki.org/emacs/BackupDirectory to get all your backup files created by emacs in a single folder, to do this I setup the following settings:
;; Put all backups in a folder
(setq
 backup-by-copying t
 backup-directory-alist `(("." . "~/.emacs_saves"))
 delete-old-versions t
 kept-new-versions 6
 kept-old-versions 2
 version-control t)