emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master db828f6: Don't rely on defaults in decoding UTF


From: Eli Zaretskii
Subject: Re: [Emacs-diffs] master db828f6: Don't rely on defaults in decoding UTF-8 encoded Lisp files
Date: Sun, 27 Sep 2015 13:59:26 +0300

> Date: Sun, 27 Sep 2015 13:36:08 +0300
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden,
>       address@hidden, address@hidden
> 
>  ("\\.po[tx]?\\'\\|\\.po\\." . po-find-file-coding-system)
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>  ("\\.\\(tex\\|ltx\\|dtx\\|drv\\)\\'" . latexenc-find-file-coding-system)
>  ("" undecided))
> 
> And the bundled po.el already defines po-find-file-coding-system.
> 
> So it sounds like we simply have a bug here.

Ehm.. what bug?  AFAICS, the encoding is correctly detected and used
when I visit *.po files, no matter what is their encoding.

So I'm not sure why Paul said:

 >> Yes, and those files are a pain to look at with Emacs now, since it
 >> typically misguesses their encodings.  Presumably Emacs should be looking
 >> at .po files' charset= decorations.

as I see no such problems.  Maybe Paul has some customizations that
somehow disable po.el's detection?



reply via email to

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