From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68768 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: rfc2047.el dependencies on mm-util.el (was: Sending attachments) Date: Sun, 19 Jul 2009 19:22:03 -0400 Message-ID: References: <87eisjjrsc.fsf@uwakimon.sk.tsukuba.ac.jp> <87iqhsr8jm.fsf@lifelogs.com> <87my73kwxc.fsf@lifelogs.com> <87eisdol9i.fsf_-_@marauder.physik.uni-ulm.de> <838wikpmrr.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1248045756 26830 80.91.229.12 (19 Jul 2009 23:22:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Jul 2009 23:22:36 +0000 (UTC) Cc: Reiner.Steib@gmx.de, tzz@lifelogs.com, ding@gnus.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: ding-owner+M17190@lists.math.uh.edu Mon Jul 20 01:22:28 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1MSfi7-0006HH-SI for ding-account@gmane.org; Mon, 20 Jul 2009 01:22:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1MSfho-0006XY-2I; Sun, 19 Jul 2009 18:22:08 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1MSfhm-0006X9-Ml for ding@lists.math.uh.edu; Sun, 19 Jul 2009 18:22:06 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1MSfhl-0000DV-Eu for ding@lists.math.uh.edu; Sun, 19 Jul 2009 18:22:06 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1MSfiJ-0003Fs-00 for ; Mon, 20 Jul 2009 01:22:39 +0200 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MSfhj-0005ih-NP; Sun, 19 Jul 2009 19:22:03 -0400 In-reply-to: <838wikpmrr.fsf@gnu.org> (message from Eli Zaretskii on Sun, 19 Jul 2009 21:10:00 +0300) X-Spam-Score: -5.6 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68768 gmane.emacs.devel:112782 Archived-At: > What I want to do is keep the two functions > mm-find-mime-charset-region and mm-charset-to-coding-system (and their > subroutines and data) together with rfc2047.el, making them too a > regular part of Emacs. Do we really need these two functions? I think we have the necessary infrastructure in Emacs: . find-charset-region . find-coding-systems-region ... I don't know whether they do 100% of the job. I asked Handa basically that question a week ago, but he has not answered yet. I have been working on extracting the actually needed parts of mm-util.el. That code often consists of wrappers around these standard functions. But it does not have comments explaining why do something different, or which cases are intended to get different treatment, etc.