Alex Schroeder <kensanata(a)yahoo.com> writes:
Imagine my ire, my blazing hate, the sheer unbelievability of it.
This is what I find:
[...]
Ah. That must have been what XEmacs saved... This
load-home-init-file stuff. But wait a second, why wasn't it saved in
my ~/.xemacs file? AND WHERE ARE ALL MY OTHER CUSTOMIZATIONS I LOVE
SO MUCH? Just to give you an idea of my situation:
~$ ll .emacs*
-rw-r--r-- 1 alex alex 58781 M=e4r 19 21:09 .emacs
-rw-r--r-- 1 alex alex 62437 Okt 21 22:42 .emacs-2001-10-21
-rw-r--r-- 1 alex alex 62475 Dez 17 21:16 .emacs-2001-12-17
-rw-rw-r-- 1 alex alex 5189 M=e4r 19 23:05 .emacs.desktop
-rw-r--r-- 1 alex alex 58734 M=e4r 19 14:24 .emacs~
About 3.5k of customizations are now lost. My oldest backup is
several months old.
I completely understanding the blazing hate. I would feel the same.
With absolutely no victim blaming intention, I'll take this time to
plug keeping all such files under revision control. I find it
especially useful for my emacs files due to their complexity and
how many machines and platforms they are shared across.
And what with (x)emacs's CVS support, it's totally easy.
I've found the best way for me is to have all such files in a
single subdirectory of my home directory, and set up symlinks to the places
programs expect the files to be. So, when setting up an account on a
new machine I only have to:
cd
cvs -d whatever checkout init
ln -sf init/*(.) . # requires zsh for that
and that's generally that. Even works on NT.
Taking this opportunity to check that I'm not sitting on any important
and not yet checked in changes to my files.
To relate this to Alex's dire situation, I'm thinking it would be a
good thing if any (x)emacs packages which edit .emacs, init.el,
custom.el or other such files saved a uniquely named backup of that
file before proceeding. I'm willing to do the work on that.
--
Brady Montz
bradym(a)balestra.org