unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: poppyer <poppyer@gmail.com>
Cc: cyd@stupidchicken.com, 1654@emacsbugs.donarmstrong.com
Subject: bug#1654: 23.0.60; auto encoding detection (detect-coding-region) not working
Date: Fri, 27 Mar 2009 16:29:55 +0900	[thread overview]
Message-ID: <E1Ln6Vn-0002le-Qi@etlken> (raw)
In-Reply-To: <h0r60jwnh8.fsf@nusnet-97-126.dynip.nus.edu.sg> (message from poppyer on Fri, 27 Mar 2009 13:20:35 +0800)

In article <h0r60jwnh8.fsf@nusnet-97-126.dynip.nus.edu.sg>, poppyer <poppyer@gmail.com> writes:

> So the current issue is that: in detect-coding-region's DOC, it says
> "Return a list of possible coding systems ordered by priority".
> But for big5 txt file, the big5 coding system is not in the returned
> list.

Ok, I've just modified the docstring as these:

DEFUN ("detect-coding-region", Fdetect_coding_region, Sdetect_coding_region,
       2, 3, 0,
       doc: /* Detect coding system of the text in the region between START and END.
Return a list of possible coding systems ordered by priority.
The coding systems to try and their priorities follows what
the function `coding-system-priority-list' (which see) returns.
[...]

DEFUN ("coding-system-priority-list", Fcoding_system_priority_list,
       Scoding_system_priority_list, 0, 1, 0,
       doc: /* Return a list of coding systems ordered by their priorities.
The list contains a subset of coding systems; i.e. coding systems
assigned to each coding category (see `coding-category-list').
[...]

Are they clear?  If not, please improve them.

---
Kenichi Handa
handa@m17n.org






  reply	other threads:[~2009-03-27  7:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-27  2:59 bug#1654: 23.0.60; auto encoding detection (detect-coding-region) not working Chong Yidong
2009-03-27  4:34 ` Kenichi Handa
2009-03-27  4:58   ` Chong Yidong
2009-03-27  5:20     ` poppyer
2009-03-27  7:29       ` Kenichi Handa [this message]
2009-03-27  6:02     ` Kenichi Handa
2009-03-27  5:03   ` poppyer
2009-03-27  6:55     ` Kenichi Handa
2009-03-27  7:00       ` poppyer
2009-03-27  8:52       ` poppyer
2009-03-30  1:08         ` Kenichi Handa
  -- strict thread matches above, loose matches on Subject: below --
2008-12-21  8:21 Gaofeng Huang

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1Ln6Vn-0002le-Qi@etlken \
    --to=handa@m17n.org \
    --cc=1654@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=poppyer@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).