all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: codepage-setup, autoload cpNNN
Date: Fri, 05 Aug 2005 10:32:06 +0900	[thread overview]
Message-ID: <E1E0r4A-0001de-00@etlken> (raw)
In-Reply-To: message from Eli Zaretskii on Thu, 04 Aug 2005 21:44:25 +0300

Eli Zaretskii <eliz@gnu.org> writes:
>>  I.e. if Gnus displays an
>>  article with charset=window-12xx, all characters are displayed
>>  correctly.  Sometimes people use charset=cp850 or need to edit files
>>  encoded in cpNNN.  After `M-x codepages-setup RET NNN RET' the coding
>>  system is available.  But etc/NEWS says "`codepage-setup' is now
>>  obsolete".  What is the correct way to setup cpNNN?

> See code-pages.el.  I don't know the answer for that, perhaps the code
> will tell you.  IIRC, `codepage-setup' was declared obsolete because
> the need to do something in order for a coding system to become
> available was deemed a bad idea.  But I don't remember the details,
> nor what would be the Right Way.  The birth of code-pages.el was
> accompanied by heated discussions, so some issues were lost in the
> dispute and never resolved.

Reiner, I thought that you added autoload cookies to all
coding systems in code-pages.el, but I've just found that
you actually added it only to iso-8859-* and windows-125*.
I think there's no problem in adding the cookie to all
coding systems defined in code-pages.el.  So, I've just
commited such a change.  Now there's no need to "setup
cpNNN" on GNU/Linux and Unix system.  I've also changed the
relevant etc/NEWS entry to this:

*** Many new coding systems are available in the `code-pages' library.
These include complete versions of most of those in codepage.el, based
on Unicode mappings.  `codepage-setup' is now obsolete and is used
only in the MS-DOS port of Emacs.  All coding systems defined in
`code-pages' are auto-loaded.

---
Kenichi Handa
handa@m17n.org

             reply	other threads:[~2005-08-05  1:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-05  1:32 Kenichi Handa [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-08-04 17:57 codepage-setup, autoload cpNNN Reiner Steib
2005-08-04 18:44 ` Eli Zaretskii

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=E1E0r4A-0001de-00@etlken \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.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.