[Top][All Lists]

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

Can't open .po file in po-mode

From: Csanyi Pal
Subject: Can't open .po file in po-mode
Date: Fri, 28 Aug 2009 21:58:19 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)


I have installed GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version
2.12.11) of 2008-11-09 on raven, modified by Debian, and gettext-el
Version: 0.17-4.

I have edited .emacs file with lines:
(setq auto-mode-alist
  (cons '("\\.po\\'\\|\\.po\\." . po-mode) auto-mode-alist))
  (autoload 'po-mode "po-mode"
   "Major mode for translators to edit PO files" t)

(modify-coding-system-alist 'file "\\.po\\'\\|\\.po\\."
     (autoload 'po-find-file-coding-system "po-mode")

When I try to open a .po file, I get message:
Loading po-mode...done
Autoloading failed to define
function po-find-file-coding-system

How can I solve this problem?

Regards, Paul Chany

reply via email to

[Prev in Thread] Current Thread [Next in Thread]