From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73484 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: Re: message-confirm-send Date: Sat, 23 Oct 2010 12:18:28 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: <1ppqv1mcuj.fsf@news.eternal-september.org> References: <87r5fhedx1.fsf@jidanni.org> <87y69p9skh.fsf@eps142.cdf.udc.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1287829201 26574 80.91.229.12 (23 Oct 2010 10:20:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Oct 2010 10:20:01 +0000 (UTC) Cc: ding@gnus.org To: Alberto Luaces Original-X-From: ding-owner+M21853@lists.math.uh.edu Sat Oct 23 12:20:00 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 1P9bCe-0001q7-PK for ding-account@gmane.org; Sat, 23 Oct 2010 12:19:57 +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 1P9bBt-0000gK-Vy; Sat, 23 Oct 2010 05:19:10 -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 1P9bBs-0000g3-D5 for ding@lists.math.uh.edu; Sat, 23 Oct 2010 05:19:08 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P9bBo-00051i-6u for ding@lists.math.uh.edu; Sat, 23 Oct 2010 05:19:08 -0500 Original-Received: from mail-fx0-f44.google.com ([209.85.161.44]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P9bBn-0000iF-00 for ; Sat, 23 Oct 2010 12:19:03 +0200 Original-Received: by fxm9 with SMTP id 9so559451fxm.17 for ; Sat, 23 Oct 2010 03:18:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :organization:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=wlpzlJdobabIuopcQ/iDo+0gse8hOpvw7qCqJeYLAic=; b=erL+kFWbKGD/NgOKXRsNukyomv3YlYz5bOqjFoiOGz+oASWrXhCKfqYMCN4QhaViv3 0GylM42jRDvLnUFhQVKvL0ZXq+uee7RaKC6VHncQF3isPGOfmoFi6S+QQS3MHqTVmbBu JbikCcodxxUWh83z6VORolsclydko61HH5jRw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=GFv5ViwAkrf5/LVKx7qnGB8bLmg+bpLik+1Rx0Wq9JhJGRH08sOqGrAjI1FDVALhyN zfIfSXstvO+tAUkHf19+Ka3By7jPWYtU/50u3tHbFD2FhYuNn1zfZvb9N94uZ5jz2jRd 5hXU/xaHgSzyyk+T0GanybBjxHjlXb26xn81M= Original-Received: by 10.102.253.8 with SMTP id a8mr4778071mui.3.1287829112315; Sat, 23 Oct 2010 03:18:32 -0700 (PDT) Original-Received: from localhost ([85.183.18.158]) by mx.google.com with ESMTPS id a10sm1881204fak.27.2010.10.23.03.18.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 23 Oct 2010 03:18:30 -0700 (PDT) In-Reply-To: <87y69p9skh.fsf@eps142.cdf.udc.es> (Alberto Luaces's message of "Sat, 23 Oct 2010 11:17:18 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73484 Archived-At: Alberto Luaces writes: > 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? C-c C-c is ingrained as "process". I would agree that the confirm could and should be built in however. Possibly based on a group parameter "Prompt to confirm post". Defaulted to nil so default stays the same.