From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65663 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.gnus.general Subject: Re: message-confirm-send Date: Wed, 14 Nov 2007 21:18:40 +0000 Message-ID: <87ve84r0en.fsf@bzg.ath.cx> References: <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 1195075153 4154 80.91.229.12 (14 Nov 2007 21:19:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Nov 2007 21:19:13 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M14160@lists.math.uh.edu Wed Nov 14 22:19:17 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 1IsPdl-0005VO-7Z for ding-account@gmane.org; Wed, 14 Nov 2007 22:19:17 +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 1IsPdS-0003Uo-07; Wed, 14 Nov 2007 15:18:58 -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 1IsPdQ-0003UX-Q3 for ding@lists.math.uh.edu; Wed, 14 Nov 2007 15:18:56 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1IsPdK-0000uK-Lf for ding@lists.math.uh.edu; Wed, 14 Nov 2007 15:18:56 -0600 Original-Received: from ug-out-1314.google.com ([66.249.92.169]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IsPdG-0004i6-00 for ; Wed, 14 Nov 2007 22:18:46 +0100 Original-Received: by ug-out-1314.google.com with SMTP id y2so404315uge for ; Wed, 14 Nov 2007 13:18:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:received:from:to:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; bh=NOSF7BtjS5r37mhK2OE27tS9EGt3yyTXtAtd1Kd7OG0=; b=ATtWiQUTjQuK0jpgQntUHBNqnXFtevQmokA9hx55VT53YOo3s0H6SktDNOpCe0RUALUnUJMvT7g755G+2fPu8DCz7Uulsuiy0W33ECyBRCSfcoUpJX/FX8/KetYD6z3Kw1EqdXJCHPNkLc4XxGPpitdxqlEeXkMxo+NNMfAzl9U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:from:to:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; b=irY9M3XCG7bucS0f+C3oAu/zTTGHxP7cnoZVCz5J+S8IJs/CakEkqrRYvx3B8KeuyKyHMgcHkaiYC1Ml3CQjQvoSZevNXtmt7jDp4kjw9XcoJh1oFIKzZBS2pGMQNFYTgI5pc8JFLpizN3yvU7+d5DUZFARju9YGm7bu9jn7ywo= Original-Received: by 10.67.30.13 with SMTP id h13mr348776ugj.1195075128653; Wed, 14 Nov 2007 13:18:48 -0800 (PST) Original-Received: from bzg.ath.cx ( [89.243.193.202]) by mx.google.com with ESMTPS id 13sm1472650ugb.2007.11.14.13.18.47 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Nov 2007 13:18:47 -0800 (PST) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id 699B81575BA; Wed, 14 Nov 2007 21:18:40 +0000 (GMT) In-Reply-To: <87d4ucu017.fsf@jidanni.org> (jidanni@jidanni.org's message of "Thu, 15 Nov 2007 02:58:28 +0800") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65663 Archived-At: jidanni@jidanni.org writes: > Gentlemen, do you realize how easy it is to hit C-c C-c by accident > while composing an email? Not that easy IMO. > Ask yourselves: does e.g., mutt(1) not need a "y" confirmation to > actually send something? So the joke is that nobody will have the footnote (1) and will be able to ever know whether mutt does have such a neat feature. Funny. > 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. Please make your code readable. > Imagine sending a mail to people you respect, cut off in mid- le of a sentence that wasn't even worth starting. Yeah, I can imagine that :) -- Bastien