From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: rfc2047.el dependencies on mm-util.el Date: Sun, 19 Jul 2009 01:30:58 -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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247981482 11594 80.91.229.12 (19 Jul 2009 05:31:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Jul 2009 05:31:22 +0000 (UTC) Cc: tzz@lifelogs.com, ding@gnus.org, Reiner Steib , 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 07:31:14 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 1MSOzR-0000oa-KB for ged-emacs-devel@m.gmane.org; Sun, 19 Jul 2009 07:31:13 +0200 Original-Received: from localhost ([127.0.0.1]:38742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSOzQ-0007HU-WD for ged-emacs-devel@m.gmane.org; Sun, 19 Jul 2009 01:31:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSOzL-0007Gz-8P for emacs-devel@gnu.org; Sun, 19 Jul 2009 01:31:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSOzG-0007FD-H5 for emacs-devel@gnu.org; Sun, 19 Jul 2009 01:31:06 -0400 Original-Received: from [199.232.76.173] (port=44229 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSOzG-0007F9-Ds for emacs-devel@gnu.org; Sun, 19 Jul 2009 01:31:02 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:16754 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MSOzE-0000K5-41; Sun, 19 Jul 2009 01:31:00 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqsEADdMYkpFpYWY/2dsb2JhbACBUcoXhAwFhwI X-IronPort-AV: E=Sophos;i="4.43,228,1246852800"; d="scan'208";a="41857723" Original-Received: from 69-165-133-152.dsl.teksavvy.com (HELO pastel.home) ([69.165.133.152]) by ironport2-out.teksavvy.com with ESMTP; 19 Jul 2009 01:30:58 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id A291180B0; Sun, 19 Jul 2009 01:30:58 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Sun, 19 Jul 2009 00:36:49 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:112730 gmane.emacs.gnus.general:68758 Archived-At: > If only a piece of it were unclear, that would be a reasonable question. > However, the problem is that I can't even begin to understand most > of those functions. The necessary info is not present. I'm not familar with those functions, but they don't look particularly unclear to me. So I don't know what "necessary info" you're looking for. > rfc2047.el implements (one of) the MIME standards. mm-utils.el > contains utility functions for MIME. I.e. they are closely related. > Only part of mm-utils.el is closely related to rfc2047.el. That part > is what I am talking about here. It consists of the two functions > mm-find-mime-charset-region and mm-charset-to-coding-system, and their > subroutines and data. They're used in other places as well (basically to encode message bodies), so they don't really belong to rfc2047.el. > I am going to move rfc20457.el outside Gnus to make it a regular part > of Emacs. It's been part of Emacs since Emacs-21. And I don't think you can prevent the Gnus maintainers from distributing rfc2047.el along with Gnus. > 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. This requires separating them from the rest > of mm-utils.el which will remain inside Gnus. It also requires making > them clean and understandable. Rather than focus on code-ownership, I'd rather we focus on this latter part: "clean and understandable". > I am asking Gnus developers to help me by do this by splitting mm-utils > and cleaning up this part. Maybe one way to look at it is to split mm-utils.el into a part that deals with compatibility between different Emacsen (e.g. mm-string-to-multibyte) and the other that provides actual functionality (e.g. mm-find-mime-charset-region). I'm still wondering why someone would want to do that since it seems pretty far from the goal of improving the user's experience. IOW, another way to look at this problem would be: what changes would it take to make Rmail use message-mode for composition? I'm sure this will take less time and make more people happier. Stefan