From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67325 Path: news.gmane.org!not-for-mail From: Drew Raines Newsgroups: gmane.emacs.gnus.general Subject: Re: message-send-comfirm saved me again, do implement Date: Fri, 05 Sep 2008 09:08:40 -0500 Message-ID: References: <87prnrjdr3.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 1220630370 29633 80.91.229.12 (5 Sep 2008 15:59:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Sep 2008 15:59:30 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15776@lists.math.uh.edu Fri Sep 05 18:00:25 2008 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 1Kbdgb-000228-UP for ding-account@gmane.org; Fri, 05 Sep 2008 17:57:26 +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 1KbdfO-0004yd-Gy; Fri, 05 Sep 2008 10:56:10 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KbdeT-0004xG-Pl for ding@lists.math.uh.edu; Fri, 05 Sep 2008 10:55:13 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KbdeQ-0006rn-Mu for ding@lists.math.uh.edu; Fri, 05 Sep 2008 10:55:13 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KbdeT-0002Uz-00 for ; Fri, 05 Sep 2008 17:55:13 +0200 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KbdeI-0001BT-N8 for ding@gnus.org; Fri, 05 Sep 2008 15:55:02 +0000 Original-Received: from adsl-065-013-142-013.sip.bna.bellsouth.net ([65.13.142.13]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Sep 2008 15:55:02 +0000 Original-Received: from aaraines by adsl-065-013-142-013.sip.bna.bellsouth.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Sep 2008 15:55:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-065-013-142-013.sip.bna.bellsouth.net X-PGP-Key: http://raines.ws/pubkey.asc Mail-Copies-To: never User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (i386-apple-darwin8.10.3) Cancel-Lock: sha1:gI9I8n5c/iyqXAS+hIyE9McVN6E= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67325 Archived-At: jidanni@jidanni.org wrote: > (defun jidanni-message-confirm () > "Confirm that we really want to send the message." > (interactive)(or (y-or-n-p "Send?")(keyboard-quit))) I don't really like the modal nature of being prompted. I just throw in a prefix when I'm intentionally sending. For example: (defun aar/delay-send (prefix) "C-c C-c is too easy to hit." (interactive "p") (if (= 1 prefix) (message "Prefix with C-u to send...") (message-send-and-exit))) (define-key message-mode-map "\C-c\C-c" 'aar/delay-send) -Drew