all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: cp-supported-codepages
Date: Fri, 08 Feb 2008 23:34:44 +0100	[thread overview]
Message-ID: <v9sl03jcvv.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <agwspfw60z.fsf@fencepost.gnu.org> (Glenn Morris's message of "Fri, 08 Feb 2008 15:24:28 -0500")

On Fri, Feb 08 2008, Glenn Morris wrote:

> Glenn Morris wrote:
>> cp-supported-codepages seems to have been removed from
>> lisp/international/codepage, but there is no associated ChangeLog or
>> NEWS entry.
>>
>> mm-codepage-setup in gnus/mm-util uses it.

`mm-codepage-setup' is a basically a no-op already in Emacs 22 since
we have autoloads for the cpNUMBER and windows-NUMBER coding systems.

> Added to FOR-RELEASE.

How about the following patch?

--8<---------------cut here---------------start------------->8---
--- mm-util.el	02 Feb 2008 11:28:36 +0100	1.67
+++ mm-util.el	08 Feb 2008 23:30:58 +0100	
@@ -219,7 +219,9 @@
 the alias.  Else windows-NUMBER is used."
   (interactive
    (let ((completion-ignore-case t)
-	 (candidates (cp-supported-codepages)))
+	 (candidates (if (fboundp 'cp-supported-codepages)
+			 (cp-supported-codepages)
+		       (error "`codepage-setup' is obsolete in this Emacs version."))))
      (list (completing-read "Setup DOS Codepage: (default 437) " candidates
 			    nil t nil nil "437"))))
   (when alias
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




  reply	other threads:[~2008-02-08 22:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-02  0:31 cp-supported-codepages Glenn Morris
2008-02-08 20:24 ` cp-supported-codepages Glenn Morris
2008-02-08 22:34   ` Reiner Steib [this message]
2008-02-08 22:54     ` cp-supported-codepages Glenn Morris
2008-02-10 14:13       ` cp-supported-codepages Reiner Steib

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=v9sl03jcvv.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@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.