From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40373 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Semi-recent addition - mailto local groups Date: Sat, 17 Nov 2001 12:19:43 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035175934 554 80.91.224.250 (21 Oct 2002 04:52:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:52:14 +0000 (UTC) Return-Path: Original-Received: (qmail 23238 invoked from network); 17 Nov 2001 11:21:27 -0000 Original-Received: from malifon.math.uh.edu (129.7.128.13) by mastaler.com with SMTP; 17 Nov 2001 11:21:27 -0000 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 1653X6-0007Fv-00; Sat, 17 Nov 2001 05:21:12 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 17 Nov 2001 05:20:54 -0600 (CST) 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 FAA12927 for ; Sat, 17 Nov 2001 05:20:43 -0600 (CST) Original-Received: (qmail 23229 invoked by alias); 17 Nov 2001 11:20:55 -0000 Original-Received: (qmail 23224 invoked from network); 17 Nov 2001 11:20:55 -0000 Original-Received: from unknown (HELO dolk.extundo.com) (195.42.214.242) by gnus.org with SMTP; 17 Nov 2001 11:20:54 -0000 Original-Received: from dhcp128.extundo.com (slipsten.extundo.com [195.42.214.241]) (authenticated bits=0) by dolk.extundo.com (8.12.1/8.12.1) with ESMTP id fAHBKMmb001537 for ; Sat, 17 Nov 2001 12:20:23 +0100 Original-To: ding@gnus.org In-Reply-To: (prj@po.cwru.edu's message of "Tue, 13 Nov 2001 11:44:22 -0500") Mail-Copies-To: nobody Original-Lines: 59 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40373 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40373 prj@po.cwru.edu (Paul Jarc) writes: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) wrote: >> prj@po.cwru.edu (Paul Jarc) writes: >>> nnml and some others recognize Newsgroups >> >> I know that nnimap does. Maybe nnmaildir does? Any others? > > Not nnmaildir. (Wasn't the nnml version added to the other nnmail > backends?) I was hoping somebody would make the necessary changes to > allow messages to be delivered only to Gcc, so I wouldn't have to > bother. Maybe I'll do that myself. Does this work? (I've committed it.) 2001-11-17 Simon Josefsson * message.el (message-send): Ask user if Fcc/Gcc should be performed when no other sender was specified. Suggested by prj@po.cwru.edu (Paul Jarc). Index: message.el =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/local/cvsroot/gnus/lisp/message.el,v retrieving revision 6.159 diff -u -r6.159 message.el --- message.el 2001/11/17 10:54:09 6.159 +++ message.el 2001/11/17 11:25:55 @@ -2499,7 +2499,7 @@ (message message-sending-message) (let ((alist message-send-method-alist) (success t) - elem sent + elem sent dont-barf-on-no-method (message-options message-options)) (message-options-set-recipient) (while (and success @@ -2516,9 +2516,19 @@ (error "Denied posting -- multiple copies"))) (setq success (funcall (caddr elem) arg))) (setq sent t)))) - (unless (or sent (not success)) + (unless (or sent (not success) + (let ((fcc (message-fetch-field "Fcc")) + (gcc (message-fetch-field "Gcc"))) + (and (or fcc gcc) + (setq dont-barf-on-no-method=20 + (gnus-y-or-n-p + (format "No receiver, perform %s anyway? " + (cond ((and fcc gcc) "Fcc and Gcc") + (fcc "Fcc") + (t "Gcc")))))))) (error "No methods specified to send by")) - (when (and success sent) + (when (or dont-barf-on-no-method + (and success sent)) (message-do-fcc) (save-excursion (run-hooks 'message-sent-hook))