[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tuareg-mode and ocaml-mode



Ralf Treinen <treinen@free.fr> writes:


> The md5 checksum of the files /etc/emacs/site-start.d/50ocaml{-nox}.el,
> as installed on my system (I never touched them), is :
>
> % md5sum /etc/emacs/site-start.d/50ocaml*el
> a6939e717c2ca074f685d6f834fd44f8  /etc/emacs/site-start.d/50ocaml.el
> a6939e717c2ca074f685d6f834fd44f8  /etc/emacs/site-start.d/50ocaml-nox.el
>
> Hence, you could just hard-code this value into the postrm file,
> something like (you have to truncate the output of md5sum
> to make it work):
>
> if md5sum /etc/emacs/site-start.d/50ocaml.el =
> 			a6939e717c2ca074f685d6f834fd44f8
> then rm /etc/emacs/site-start.d/50ocaml.el
> if md5sum /etc/emacs/site-start.d/50ocaml-nox.el =
> 			a6939e717c2ca074f685d6f834fd44f8
> then rm /etc/emacs/site-start.d/50ocaml-nox.el
>
> Or am I missing something?

It is a possibility but I think it is too hackish :-P

I've commited my changes but I haven't done anything about this
yet. So far, I think the cleanest way would be to just rename
them to .save or something.

-- 
Jérôme Marant



Reply to: