I was using Dave Love's python.el from
http://www.loveshack.ukfsn.org/emacs/
and even when I thought I had disabled it it was still in my load-path
and was getting loaded before the default python.el.
After realizing that snippets are loaded from the directory with the
same major-mode name then I created a link from python-mode to
python-2-mode and everything worked like a charm.
Thanks.
On Jun 4, 9:17 am, Zhang Chiyuan <
plus...@gmail.com> wrote:
> hi, what does it say when you are in python-mode and type "C-h v major-mode"
> ?
> It should be python-mode to make it work.
>