all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <Stephen.Berman@gmx.net>
To: emacs-devel@gnu.org
Cc: emacs-w3m@namazu.org
Subject: Re: [emacs-w3m:09920] detect-coding-with-priority
Date: Fri, 11 Jan 2008 09:00:23 +0100	[thread overview]
Message-ID: <87ve60kd0o.fsf@escher.local.home> (raw)
In-Reply-To: b4mabncj4t4.fsf@jpl.org

On Fri, 11 Jan 2008 14:43:03 +0900 Katsumi Yamaoka <yamaoka@jpl.org> 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	other threads:[~2008-01-11  8:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-11  5:43 [emacs-w3m:09920] detect-coding-with-priority Katsumi Yamaoka
2008-01-11  8:00 ` Stephen Berman [this message]
2008-01-11  9:59 ` detect-coding-with-priority Kenichi Handa
2008-01-11 11:30   ` detect-coding-with-priority Kenichi Handa
2008-01-11 11:50     ` [emacs-w3m:09929] detect-coding-with-priority Katsumi Yamaoka
2008-01-14  1:01       ` detect-coding-with-priority Kenichi Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ve60kd0o.fsf@escher.local.home \
    --to=stephen.berman@gmx.net \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-w3m@namazu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.