emacs-devel
[Top][All Lists]
Advanced

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

Re: [emacs-w3m:09920] detect-coding-with-priority


From: Stephen Berman
Subject: Re: [emacs-w3m:09920] detect-coding-with-priority
Date: Fri, 11 Jan 2008 09:00:23 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

On Fri, 11 Jan 2008 14:43:03 +0900 Katsumi Yamaoka <address@hidden> wrote:

> Hi,
>
> I noticed that `detect-coding-with-priority' doesn't work
> recently in the Emacs trunk and Unicode-2, though I don't know
> when it began.
>
> (with-temp-buffer
>   (set-buffer-multibyte nil)
>   (insert (encode-coding-string "あいうえお" 'shift_jis))
>   (detect-coding-with-priority (point-min) (point-max)
>                              '((coding-category-sjis . shift_jis))))
>  => (raw-text no-conversion)
>
> Emacs 22.1 returns (shift_jis emacs-mule raw-text no-conversion)
> for this form.

So does GNU Emacs 23.0.50.4 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of
2008-01-04 on escher, so the change appears to have happened within the
last week.

Steve Berman





reply via email to

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