bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: po-mode.el in 0.11.3-pre2 not working on Debian's emacs21


From: Karl Eichwalder
Subject: Re: po-mode.el in 0.11.3-pre2 not working on Debian's emacs21
Date: Mon, 27 May 2002 09:15:01 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu)

address@hidden (Jordi Mallach) writes:

Thanks for the report.

> When opening a po file in Emacs using po-mode in 0.11.2 (and
> 0.11.3-pre2) using Debian, I get the following error:
> Autoloading failed to define function po-find-file-coding-system
>
> and po-mode doesn't start at all.

I removed the form from po-mode.el; please, load the separate
po-compat.el file.  Example:

(autoload 'po-mode "po-mode")
(setq auto-mode-alist (cons '("\\.po[tx]?\\'" . po-mode)
                            auto-mode-alist))

;; To automatically use proper fonts under Emacs 20/21, also add:

(unless (featurep 'po-find-file-coding-system)
  (autoload 'po-find-file-coding-system "po-compat"))
(modify-coding-system-alist 'file "\\.po[tx]?\\'"
                            'po-find-file-coding-system)

-=-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=-

Background: Current Emacs CVS version ("21.3.50") and the next Emacs
major release will come with `po-find-file-coding-system' on its own to
display .po files properly without loading po-mode.el.

-- 
Linux frechet 2.4.18-4GB #1 Fri Apr 5 15:14:39 UTC 2002 i686 unknown
  9:09am  up 48 days, 18:22, 12 users,  load average: 0.08, 0.05, 0.00
                                             work    :      address@hidden
Karl Eichwalder                              home    : address@hidden



reply via email to

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