From: Drew Raines <aaraines@gmail.com>
To: ding@gnus.org
Subject: Re: message-send-comfirm saved me again, do implement
Date: Fri, 05 Sep 2008 09:08:40 -0500 [thread overview]
Message-ID: <m263paofbr.fsf@id.draines.com> (raw)
In-Reply-To: <87prnrjdr3.fsf@jidanni.org>
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
prev parent reply other threads:[~2008-09-05 14:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-30 5:03 jidanni
2008-08-30 9:35 ` Ted Zlatanov
2008-08-30 10:44 ` Tassilo Horn
2008-08-30 15:08 ` Eric Schulte
2008-09-03 17:42 ` Ted Zlatanov
2008-09-04 5:41 ` Miles Bader
2008-09-04 6:43 ` Tassilo Horn
2008-09-23 18:20 ` Reiner Steib
2008-09-24 18:32 ` Ted Zlatanov
2008-09-24 20:40 ` Reiner Steib
2008-09-25 13:16 ` Ted Zlatanov
2008-09-05 14:08 ` Drew Raines [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m263paofbr.fsf@id.draines.com \
--to=aaraines@gmail.com \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).