Bug 1614

Summary: .po files do not open in GNU Emacs
Product: Sisyphus Reporter: Sergey Vlasov <vsu>
Component: gettextAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P5 CC: glebfm, ldv, placeholder
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
1614-gettext-po-mode-start.el none

Description Sergey Vlasov 2002-11-25 16:05:37 MSK
(The bug is really in the gettext-tools subpackage, but it is not listed in the BTS)

When trying to load a .po file in GNU Emacs with gettext-tools-0.11.5-alt9 installed, the file does not open with the error message:

insert-file-contents: Autoloading failed to define function po-find-file-coding-system

The problem is that /etc/emacs/site-start.d/gettext.el specifies:

(autoload \'po-find-file-coding-system \&quot;po-mode\&quot;)

However, in the new gettext-tools this function was relocated into po-compat.el; the autoload declaration needs to be fixed.
---

---

Comment 1 Dmitry V. Levin 2002-11-25 16:17:04 MSK
Patches are welcome.
Comment 2 Dmitry V. Levin 2002-11-25 16:17:04 MSK
Patches are welcome.
Comment 3 Sergey Vlasov 2002-11-25 17:18:08 MSK
Here is the fixed gettext-po-mode-start.el; no changes in spec are necessary. Seems to work with all *.po files from Sylpheed (the encoding is switched appropriately).
Comment 4 Sergey Vlasov 2002-11-25 17:18:08 MSK
Here is the fixed gettext-po-mode-start.el; no changes in spec are necessary. Seems to work with all *.po files from Sylpheed (the encoding is switched appropriately).
Comment 5 Dmitry V. Levin 2002-12-02 16:08:09 MSK
Applied in gettext-0.11.5-alt10
Comment 6 Dmitry V. Levin 2002-12-02 16:08:09 MSK
Applied in gettext-0.11.5-alt10