Hi,
I found this function using google to prompt for posting confirmation
while displaying all headers:
(defun message-check-news-syntax ()
"Check the syntax of the message."
(and
(save-excursion
(save-restriction
(widen)
(and
;; We narrow to the headers and check them first.
(save-excursion
(save-restriction
(message-narrow-to-headers)
(message-check-news-header-syntax)))
;; Check the body.
(message-check-news-body-syntax))))
; sm: this last line is my addition
(y-or-n-p "Post the message? ")
))
Is there now a better way to do this? Maybe something which does the
same for sending mail too?
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english