From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44396 Path: main.gmane.org!not-for-mail From: Joseph Barillari Newsgroups: gmane.emacs.gnus.general Subject: Re: DSN [PATCH] Date: Wed, 24 Apr 2002 17:07:59 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: main.gmane.org 1019682560 8914 127.0.0.1 (24 Apr 2002 21:09:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2002 21:09:20 +0000 (UTC) Cc: ding , Matthieu.Moy@imag.fr Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 170U0t-0002JV-00 for ; Wed, 24 Apr 2002 23:09:19 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 170U01-0005wH-00; Wed, 24 Apr 2002 16:08:25 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 24 Apr 2002 16:08:39 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA01706 for ; Wed, 24 Apr 2002 16:08:25 -0500 (CDT) Original-Received: (qmail 27995 invoked by alias); 24 Apr 2002 21:08:06 -0000 Original-Received: (qmail 27990 invoked from network); 24 Apr 2002 21:08:06 -0000 Original-Received: from jbarilla.student.princeton.edu (@140.180.137.120) by gnus.org with SMTP; 24 Apr 2002 21:08:06 -0000 Original-Received: (from jbarilla@localhost) by jbarilla.student.princeton.edu (8.11.6/8.11.6) id g3OL7xe02585; Wed, 24 Apr 2002 17:07:59 -0400 Original-To: Simon Josefsson X-Public-Key: finger -l jbarilla@phoenix.princeton.edu X-Public-Key-Fingerprint: 99C7 4F49 AF41 AD0F A4FC 529C 215E 1BD2 F6A1 FA37 X-URL: http://www.princeton.edu/~jbarilla In-Reply-To: (Simon Josefsson's message of "Wed, 24 Apr 2002 22:52:01 +0200") Original-Lines: 37 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:44396 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:44396 --=-=-= Content-Transfer-Encoding: quoted-printable >>>>> "SJ" =3D=3D Simon Josefsson writes: SJ> Joseph Barillari writes: >> I take it that Gnus replicates the functions of sendmail.el in >> messsage.el. That being so, shouldn't this patch be applied to >> message.el? Gnus uses `message-send-mail-with-sendmail' in >> message.el, rather than `sendmail-send-it' in sendmail.el to >> actually dispatch the messages, right? SJ> Argh, you're right. Why is this code being duplicated? SJ> sendmail.el does some other stuff as well. Hm. Ah. Message SJ> was perhaps intended to replace Mail, so it copied the code. SJ> However, Mail is still around, so the code ended up being SJ> duplicated. Sigh. IMHO it would be better if either message SJ> called the code in sendmail.el, or if message replaced SJ> sendmail stuff. The code in sendmail.el is responsible for the bare-bones `M-x mail' command, correct? Then it's certainly reasonable that the code overlaps. Gnus simply implements a superset of the features of sendmail.el in message.el. Because Gnus talks to sendmail with message.el, I think this patch should probably go in message.el. Regarding the possibility of eliminating duplication, speaking as a complete outsider to the Gnus/Emacs projects, I think they perform non-overlapping functions. Sendmail.el implements a bare-bones mail command, not a general-purpose mail-processing library. It could conceivably be stripped down even further to simply call the mail-processing functions in Gnus, but that would require that anyone who wanted to use the (previously standalone) sendmail.el would have to install all of Gnus (although it now comes as standard equipment with Emacs 21, some heathens may delete it). =2D-Joe --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard iD8DBQE8xx6vIV4b0vah+jcRAtvmAJ0fmM+WXQxQfpvJXd1UNNCHFiLcHgCePBCJ CEVs4qiVgkshEfnsS9TupgU= =pkXJ -----END PGP MESSAGE----- --=-=-=--