[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with po-mode.el
From: |
Karl Eichwalder |
Subject: |
Re: Problems with po-mode.el |
Date: |
Thu, 22 May 2003 13:37:51 +0200 |
User-agent: |
Gnus/5.090017 (Oort Gnus v0.17) Emacs/21.3.50 (gnu/linux) |
Greg Ward <address@hidden> writes:
> With XEmacs, I'm using the latest po-mode.el thanks to XEmacs' package
> management system. With GNU Emacs, the po-mode.el shipped with Emacs,
> namely version 1.1.1.1.
For the record, po-mode.el isn't packaged with emacs-21.2 (or later);
po-moce.el comes with gettext and version info is gone from
po-mode.el. po.el is availalbe in the Emacs CVS (trunk only, AFAIK).
> Problem #1: if I attempt to open a .po file in XEmacs, I get the message
>
> Autoloading failed to define function po-find-file-coding-system
>
> and the file does not load at all.
I guess the following:
. You do not use the latest version of po-mode.el
. You didn't make available po-compat.el which also comes with
gettext.
Add to your .emacs (replace .../path/to/po-mode with something
sensible):
(add-to-list 'load-path ".../path/to/po-mode")
(autoload 'po-mode "po-mode"
"Major mode for translators to edit PO files" t)
(setq auto-mode-alist (cons '("\\.po\\'\\|\\.po\\." . po-mode)
auto-mode-alist))
and load a .po file. This work for me out of the box with XEmacs
21.4.12 coming with SuSE Linux 8.2 i386.
> Problem #2: in GNU Emacs, I can load or create a .po file just fine.
Good.
> But when I try to use that .po file to drive string searching and
> marking (ie. use po-tags-search), I get the message
>
> Symbol's value as variable is void: po-marking-overlay
>
> when I hit "," in the po-mode buffer.
There is something flaky with the ',' key. "M-x po-tags-search RET"
works for me when I load the .c file I want to assign "_( ... )"
markers.
> Are either of these known problems? Are there fixes available?
I'll look into the tags-search problem the next days.
--
Linux frechet 2.4.20-4GB #1 Tue Apr 8 13:00:26 UTC 2003 i686 GNU/Linux
1:14pm up 24 days 4:44, 11 users, load average: 0.27, 0.47, 0.67
work : address@hidden
Karl Eichwalder home : address@hidden