Mercurial > hg > xemacs-beta
comparison lisp/tm/tm-orig.el @ 4:b82b59fe008d r19-15b3
Import from CVS: tag r19-15b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:46:56 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:30df88044ec6 | 4:b82b59fe008d |
---|---|
1 ;;; | |
2 ;;; tm-orig.el --- tm definitions depended on FSF Original Emacs | |
3 ;;; | |
4 ;;; Copyright (C) 1995 Free Software Foundation, Inc. | |
5 ;;; Copyright (C) 1994,1995,1996 MORIOKA Tomohiko | |
6 ;;; | |
7 ;;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp> | |
8 ;;; Version: | |
9 ;;; $Id: tm-orig.el,v 1.1.1.1 1996/12/18 03:55:32 steve Exp $ | |
10 ;;; Keywords: mail, news, MIME, multimedia, multilingual, encoded-word | |
11 ;;; | |
12 ;;; This file is part of tm (Tools for MIME). | |
13 ;;; | |
14 ;;; This program is free software; you can redistribute it and/or | |
15 ;;; modify it under the terms of the GNU General Public License as | |
16 ;;; published by the Free Software Foundation; either version 2, or | |
17 ;;; (at your option) any later version. | |
18 ;;; | |
19 ;;; This program is distributed in the hope that it will be useful, | |
20 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
21 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
22 ;;; General Public License for more details. | |
23 ;;; | |
24 ;;; You should have received a copy of the GNU General Public License | |
25 ;;; along with This program. If not, write to the Free Software | |
26 ;;; Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | |
27 ;;; | |
28 ;;; Code: | |
29 | |
30 (require 'emu) | |
31 | |
32 | |
33 ;;; @ variables | |
34 ;;; | |
35 | |
36 (defvar mime/default-coding-system nil) | |
37 | |
38 (defvar mime/lc-charset-alist | |
39 (list | |
40 (cons (list lc-ascii) "US-ASCII") | |
41 (cons (list lc-ascii lc-ltn1) "ISO-8859-1") | |
42 )) | |
43 | |
44 (defvar mime/unknown-charset "ISO-8859-1") | |
45 | |
46 | |
47 ;;; @ functions | |
48 ;;; | |
49 | |
50 (defun mime/convert-string-to-emacs (charset str) | |
51 (if (or (string= "US-ASCII" charset) | |
52 (string= "ISO-8859-1" charset)) | |
53 str)) | |
54 | |
55 (defun mime/convert-string-from-emacs (str charset) | |
56 (if (or (string= charset "US-ASCII") | |
57 (string= charset "ISO-8859-1")) | |
58 str)) | |
59 | |
60 (defun mime/code-convert-region-to-emacs (beg end charset &optional encoding) | |
61 ) | |
62 | |
63 | |
64 ;;; @ end | |
65 ;;; | |
66 | |
67 (provide 'tm-orig) | |
68 | |
69 (run-hooks 'tm-orig-load-hook) | |
70 | |
71 ;;; tm-orig.el ends here |