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

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

Re: Bug#110416: Error while loading 50gettext


From: Bruno Haible
Subject: Re: Bug#110416: Error while loading 50gettext
Date: Tue, 12 Mar 2002 14:17:32 +0100 (CET)

Santiago Vila writes:
> Chaskiel M Grundman wrote:
> > Has there been any progress on this? The base cause of the problem seems to
> > be that non-mule xemacs doesn't have modify-coding-system-alist.
> ...
> However (this is a question for the gettext maintainers), is there a
> default file to use which has this functionality for people using
> emacs20 or later and does not give an error when using xemacs21-non-mule?
> 
> (In other words: Is there a simple way to improve this default file?)

I wouldn't know how to distinguish xemacs-mule and xemacs-non-mule,
but Chaskiel Grundman already gave the answer: The latter is lacking
modify-coding-system-alist. So how about

; Exclude xemacs-non-mule, which isn't suitable for i18n work.
(if (fboundp 'modify-coding-system-alist)
  (progn
    ; Determine the coding system according to the rules specific for PO
    ; files.
    (modify-coding-system-alist 'file "\\.po\\'\\|\\.po\\."
                                'po-find-file-coding-system)
    (autoload 'po-find-file-coding-system "po-mode")))

Bruno



reply via email to

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