Gnus development mailing list
 help / color / mirror / Atom feed
From: Joseph Barillari <jbarilla@princeton.edu>
Cc: ding <ding@gnus.org>, Matthieu.Moy@imag.fr
Subject: Re: DSN [PATCH]
Date: Wed, 24 Apr 2002 17:07:59 -0400	[thread overview]
Message-ID: <m3znzsbya8.fsf@washer.barillari.org> (raw)
In-Reply-To: <ilu4ri07rbi.fsf@extundo.com> (Simon Josefsson's message of "Wed, 24 Apr 2002 22:52:01 +0200")

[-- Attachment #1: Type: text/plain, Size: 1811 bytes --]

>>>>> "SJ" == Simon Josefsson <jas@extundo.com> writes:

    SJ> Joseph Barillari <jbarilla@princeton.edu> 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).

--Joe


[-- Attachment #2: Type: application/pgp-signature, Size: 268 bytes --]

  reply	other threads:[~2002-04-24 21:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-21 11:07 DSN Joseph Barillari
2002-04-21 13:16 ` DSN Simon Josefsson
2002-04-21 14:10   ` DSN Joseph Barillari
2002-04-23 20:28     ` DSN [PATCH] Joseph Barillari
2002-04-24 11:31       ` Kai Großjohann
2002-04-24 12:04         ` Matthieu Moy
2002-04-24 12:35           ` Joseph Barillari
2002-04-24 15:57             ` Simon Josefsson
     [not found]               ` <m38z7dawqy.fsf@washer.barillari.org>
2002-04-24 17:50                 ` Simon Josefsson
2002-04-24 19:50                   ` Joseph Barillari
2002-04-24 20:28                     ` Simon Josefsson
2002-04-24 20:40                       ` Joseph Barillari
2002-04-24 20:52                         ` Simon Josefsson
2002-04-24 21:07                           ` Joseph Barillari [this message]
2002-04-24 13:26           ` Simon Josefsson
2002-04-24 13:43             ` Joseph Barillari
2002-04-24 15:18           ` Kai Großjohann
2002-04-24 16:17             ` Joseph Barillari
2002-04-24  9:21 ` DSN Matthieu Moy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3znzsbya8.fsf@washer.barillari.org \
    --to=jbarilla@princeton.edu \
    --cc=Matthieu.Moy@imag.fr \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).