From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44393 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: DSN [PATCH] Date: Wed, 24 Apr 2002 22:28:27 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1019680405 4855 127.0.0.1 (24 Apr 2002 20:33:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 24 Apr 2002 20:33:25 +0000 (UTC) Cc: Matthieu Moy , ding@gnus.org 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 170TS8-0001GC-00 for ; Wed, 24 Apr 2002 22:33:24 +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 170TO2-0005Vv-00; Wed, 24 Apr 2002 15:29:10 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 24 Apr 2002 15:29:24 -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 PAA01456 for ; Wed, 24 Apr 2002 15:29:12 -0500 (CDT) Original-Received: (qmail 27397 invoked by alias); 24 Apr 2002 20:28:53 -0000 Original-Received: (qmail 27392 invoked from network); 24 Apr 2002 20:28:53 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 24 Apr 2002 20:28:53 -0000 Original-Received: from localhost.localdomain (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.2/8.12.2) with ESMTP id g3OKSnKg003622; Wed, 24 Apr 2002 22:28:50 +0200 Original-To: Joseph Barillari In-Reply-To: (Joseph Barillari's message of "Wed, 24 Apr 2002 15:50:30 -0400") Original-Lines: 29 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:44393 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:44393 Joseph Barillari writes: >>>>>> "SJ" == Simon Josefsson writes: > > SJ> What do you think of this patch instead? The additional Gnus > SJ> support can consit of message.el commands to set the > SJ> `mail-use-dsn' variable buffer locally. > > SJ> (Is there a better Custom :type for this? There really should > SJ> be. The point is that you want the user to be able to chose > SJ> any subset of three elements.) > > I like it: it's much cleaner. I'll send it to the emacs people. > What is the relationship between message.el and sendmail.el? I > patched message.el because I thought that program dispatched the > messages to the MTA. Can Gnus be configured to have sendmail.el > perform this function? --Joe Message uses sendmail, smtpmail, feedmail, qmail etc to send mail. Message could have key bindings that binds the mail-use-dsn to something within the current buffer. OTOH I think it is rather unclean as it only applies to one method for sending mail. So maybe it is better to only have the sendmail.el variable? And use M-x set-variable. Or using posting styles. Or hooks. Sendmail.el could provide functions for setting the variable, but it is such a simple function so maybe the variable is sufficient.