From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65658 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.gnus.general Subject: message-confirm-send Date: Thu, 15 Nov 2007 02:58:28 +0800 Message-ID: <87d4ucu017.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195072220 26232 80.91.229.12 (14 Nov 2007 20:30:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Nov 2007 20:30:20 +0000 (UTC) Cc: bugs@gnus.org To: ding@gnus.org Original-X-From: ding-owner+M14155@lists.math.uh.edu Wed Nov 14 21:30:24 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1IsOsI-0002YU-KQ for ding-account@gmane.org; Wed, 14 Nov 2007 21:30:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1IsOrC-000328-TB; Wed, 14 Nov 2007 14:29:06 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IsOrB-00031x-Pm for ding@lists.math.uh.edu; Wed, 14 Nov 2007 14:29:05 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1IsOr1-0000Xk-BH for ding@lists.math.uh.edu; Wed, 14 Nov 2007 14:29:05 -0600 Original-Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5] helo=looneymail-a3.g.dreamhost.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IsOqw-0003vy-00; Wed, 14 Nov 2007 21:28:50 +0100 Original-Received: from jidanni2 (122-127-39-67.dynamic.hinet.net [122.127.39.67]) by looneymail-a3.g.dreamhost.com (Postfix) with ESMTP id ABD8E27CD8; Wed, 14 Nov 2007 12:28:49 -0800 (PST) X-Spam-Score: 0.5 (/) X-Spam-Report: SpamAssassin (3.1.9 2007-02-13) analysis follows Bayesian score: 0.1292 Ham tokens: 0.000-55--182h-0s--0d--interactive, 0.000-2527--8388h-6s--0d--H*M:fsf, 0.000-2329--7731h-6s--0d--H*MI:fsf, 0.001-15--47h-0s--1d--UD:el, 0.003-19687--66352h-349s--0d--HCc:D*org Spam tokens: 0.963-4045--1079h-46687s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.963-4045--1079h-46687s--0d--H*RU:quimby.gnus.org, 0.939-3198--1772h-45285s--0d--H*r:quimby.gnus.org, 0.934-3047--1921h-45267s--0d--H*r:3.35, 0.933-3034--1999h-45861s--0d--HTo:D*gnus.org Autolearn status: no 1.0 NO_REAL_NAME From: does not include a real name -0.7 BAYES_20 BODY: Bayesian spam probability is 5 to 20% [score: 0.1292] 0.3 AWL AWL: From: address is in the auto white-list List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65658 Archived-At: Gentlemen, do you realize how easy it is to hit C-c C-c by accident while composing an email? You could send something half-baked to a mailing list of important people! Ask yourselves: does e.g., mutt(1) not need a "y" confirmation to actually send something? So how does one switch on confirmation mode? I don't see exactly such a variable in message.el. OK, you forced me to do (defun jidanni-message-confirm () "Confirm that we really want to send the message." (interactive)(or (y-or-n-p "Send?")(keyboard-quit))) (add-hook 'message-send-hook 'jidanni-message-confirm) At least add an example to the manual. Imagine sending a mail to people you respect, cut off in mid-