From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68766 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: rfc2047.el dependencies on mm-util.el (was: Sending attachments) Date: Sun, 19 Jul 2009 21:10:00 +0300 Message-ID: <838wikpmrr.fsf@gnu.org> References: <87eisjjrsc.fsf@uwakimon.sk.tsukuba.ac.jp> <87iqhsr8jm.fsf@lifelogs.com> <87my73kwxc.fsf@lifelogs.com> <87eisdol9i.fsf_-_@marauder.physik.uni-ulm.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1248027037 15020 80.91.229.12 (19 Jul 2009 18:10:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Jul 2009 18:10:37 +0000 (UTC) Cc: tzz@lifelogs.com, ding@gnus.org, Reiner.Steib@gmx.de, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 19 20:10:29 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MSaqD-00052k-Dk for ged-emacs-devel@m.gmane.org; Sun, 19 Jul 2009 20:10:29 +0200 Original-Received: from localhost ([127.0.0.1]:59632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSaqC-00050O-Ra for ged-emacs-devel@m.gmane.org; Sun, 19 Jul 2009 14:10:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSaq7-0004zj-IV for emacs-devel@gnu.org; Sun, 19 Jul 2009 14:10:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSaq7-0004zM-4U for emacs-devel@gnu.org; Sun, 19 Jul 2009 14:10:23 -0400 Original-Received: from [199.232.76.173] (port=39238 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSaq7-0004zJ-2C for emacs-devel@gnu.org; Sun, 19 Jul 2009 14:10:23 -0400 Original-Received: from mtaout6.012.net.il ([84.95.2.16]:35113) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MSaq4-00005l-On; Sun, 19 Jul 2009 14:10:21 -0400 Original-Received: from conversion-daemon.i-mtaout6.012.net.il by i-mtaout6.012.net.il (HyperSendmail v2007.08) id <0KN100600JMD8E00@i-mtaout6.012.net.il>; Sun, 19 Jul 2009 21:10:01 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.246.110]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KN100E4WJSOQJ50@i-mtaout6.012.net.il>; Sun, 19 Jul 2009 21:10:01 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:112763 gmane.emacs.gnus.general:68766 Archived-At: > From: Richard Stallman > Date: Sun, 19 Jul 2009 00:36:49 -0400 > Cc: tzz@lifelogs.com, ding@gnus.org, emacs-devel@gnu.org > > 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 . find-coding-systems-for-charsets . (coding-system-get FOO :mime-charset) . coding-system-list . sort-coding-systems If these are not enough to write a much cleaner, leaner versions of those two mm-utils functions, please tell what else is missing.