Thanks a lot.

I finally fixed the problem by eliminating the file ~/.emacs.keyfreq.lock (although could not figure why was this file causing trouble).

S.