From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73482 Path: news.gmane.org!not-for-mail From: Alberto Luaces Newsgroups: gmane.emacs.gnus.general Subject: Re: message-confirm-send Date: Sat, 23 Oct 2010 11:17:18 +0200 Message-ID: <87y69p9skh.fsf@eps142.cdf.udc.es> References: <87r5fhedx1.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1287825574 14057 80.91.229.12 (23 Oct 2010 09:19:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Oct 2010 09:19:34 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21851@lists.math.uh.edu Sat Oct 23 11:19:33 2010 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.69) (envelope-from ) id 1P9aGC-0006Ut-JY for ding-account@gmane.org; Sat, 23 Oct 2010 11:19:32 +0200 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 1P9aES-0000Eg-PU; Sat, 23 Oct 2010 04:17:44 -0500 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 1P9aER-0000EP-4f for ding@lists.math.uh.edu; Sat, 23 Oct 2010 04:17:43 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P9aEM-0004rG-JQ for ding@lists.math.uh.edu; Sat, 23 Oct 2010 04:17:43 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P9aEL-0008MO-00 for ; Sat, 23 Oct 2010 11:17:37 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P9aEK-0006DE-S2 for ding@gnus.org; Sat, 23 Oct 2010 11:17:36 +0200 Original-Received: from eps142.cdf.udc.es ([193.144.52.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Oct 2010 11:17:36 +0200 Original-Received: from aluaces by eps142.cdf.udc.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Oct 2010 11:17:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: eps142.cdf.udc.es User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:3cRBg69eh2zHPosMWntztrUWtMc= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73482 Archived-At: jidanni@jidanni.orgwrites: >>>>>> "LMI" == Lars Magne Ingebrigtsen writes: > LMI> jidanni@jidanni.org writes: > >>> 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- > > LMI> Heh heh heh. > > LMI> Well, I've sent more than my share of messages prematurely by leaning on > LMI> `C-c C-c', so I'm sympathetic, but on the other hand, all equivalent > LMI> Emacs things (like checking in stuff into VCs) work with `C-c C-c' > LMI> without any "warning". So I think it should remain that way. > > Yeah with VCs you could just check it back out. But with email you have > to send apologies, unless you already sent the corporate secrets due to > cut and paste errors. > > Do provide the function but leave the variable to activate it off. That way > users could just toggle a variable instead of having to muck around > writing their own hack. What about just mapping also `C-c C-c' to `message-dont-send' if you want to reread before sending? -- Alberto