all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Reiner.Steib@gmx.de, emacs-devel@gnu.org
Subject: Re: codepage.el removed
Date: Wed, 01 Oct 2008 09:44:46 +0900	[thread overview]
Message-ID: <b4mskrh6t4x.fsf@jpl.org> (raw)
In-Reply-To: uabdpjuwl.fsf@gnu.org

>>>>> Eli Zaretskii wrote:
> I removed codepage.el from the Emacs CVS trunk.  However,
> gnus/mm-util.el still uses an obsolete function codepage-setup, which
> will now be unavailable.

> Please change mm-util.el to not use this function if it is
> unavailable.  There should be no need to use it in Emacs 23, since all
> cpNNN codepages exist by default, and don't need to be created.

Thank you for the info but we seem to have nothing to do.  For
the interactive use, Reiner has already changed `mm-codepage-setup'
so as to signal an error as:

`codepage-setup' is obsolete in this Emacs version

For the non-interactive use, i.e. the usage in `mm-charset-eval-alist',
`mm-charset-to-coding-system' that exclusively uses it will never call
`codepage-setup' since the charsets listed in `mm-charset-eval-alist'
by default don't need to be aliases.  Even if a user modifies the value
of `mm-charset-eval-alist' strangely, `mm-charset-to-coding-system'
will silently end up as follows:

(condition-case err
    (let ((mm-charset-eval-alist
	   '((windoze-9999 . (mm-codepage-setup 9999 t)))))
      (mm-charset-to-coding-system 'windoze-9999))
  (error err))
 => nil

For a person who uses `mm-codepage-setup' in a custom function,
he will realize that it cannot be used soon.

Regards,




      reply	other threads:[~2008-10-01  0:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-30 19:28 codepage.el removed Eli Zaretskii
2008-10-01  0:44 ` Katsumi Yamaoka [this message]

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=b4mskrh6t4x.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=Reiner.Steib@gmx.de \
    --cc=eliz@gnu.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.