[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: detect-coding-with-priority
- From: Stephen Berman <Stephen.Berman@xxxxxxx>
- Date: Fri, 11 Jan 2008 09:00:23 +0100
- X-ml-name: emacs-w3m
- X-mail-count: 09926
- References: <b4mabncj4t4.fsf@jpl.org>
On Fri, 11 Jan 2008 14:43:03 +0900 Katsumi Yamaoka <yamaoka@xxxxxxx> 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