From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.devel Subject: Re: New mail-related routines Date: Sun, 24 Oct 2004 14:03:58 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200410182157.i9ILvjln000739@oak.pohoyda.family> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098619515 9473 80.91.229.6 (24 Oct 2004 12:05:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 24 Oct 2004 12:05:15 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 24 14:05:03 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CLh7P-00052f-00 for ; Sun, 24 Oct 2004 14:05:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLhEz-0004M2-RT for ged-emacs-devel@m.gmane.org; Sun, 24 Oct 2004 08:12:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CLhEr-0004Lw-O6 for emacs-devel@gnu.org; Sun, 24 Oct 2004 08:12:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CLhEr-0004Lk-A0 for emacs-devel@gnu.org; Sun, 24 Oct 2004 08:12:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CLhEr-0004Lh-85 for emacs-devel@gnu.org; Sun, 24 Oct 2004 08:12:45 -0400 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CLh6n-0008V0-6O for emacs-devel@gnu.org; Sun, 24 Oct 2004 08:04:25 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CLh6l-00065o-00 for ; Sun, 24 Oct 2004 14:04:23 +0200 Original-Received: from c494102a.s-bi.bostream.se ([217.215.27.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Oct 2004 14:04:23 +0200 Original-Received: from jas by c494102a.s-bi.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 Oct 2004 14:04:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 16 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c494102a.s-bi.bostream.se Mail-Copies-To: nobody User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:p8U/q+8VuASOqg2o+I+CzRyM0hU= 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28821 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28821 Is there an updated version of your patch to review? I think I agree with all comments raised so far. It would be easier to review your code if there is an updated version to look at. I think it is important to improve documentation regarding these new functions. Right now, similar functions are implemented many times in many places in Emacs. It would be good if these could be fixed to use only one correct implementation. If there is no guidance, people will just write new functions for the same purpose again, or use one of the existing but inelegant interfaces. Perhaps a new texinfo manual could be created, "Emacs Lisp Mail Functions" (or something), to document the recommended mail APIs to use in Emacs Lisp. It should be in a non-MUA specific (Gnus, RMAIL etc) way. Perhaps extending emacs-mime.texi is the right thing, it already contain some non-MIME, but generic purpose mail functions.