* Prompt to confirm post.
@ 2007-09-07 10:46 Richard G Riley
2007-09-26 20:57 ` Reiner Steib
0 siblings, 1 reply; 2+ messages in thread
From: Richard G Riley @ 2007-09-07 10:46 UTC (permalink / raw)
To: info-gnus-english
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Prompt to confirm post.
2007-09-07 10:46 Prompt to confirm post Richard G Riley
@ 2007-09-26 20:57 ` Reiner Steib
0 siblings, 0 replies; 2+ messages in thread
From: Reiner Steib @ 2007-09-26 20:57 UTC (permalink / raw)
To: info-gnus-english
On Fri, Sep 07 2007, Richard G Riley wrote:
> I found this function using google to prompt for posting confirmation
> while displaying all headers: [...]
> Is there now a better way to do this? Maybe something which does the
> same for sending mail too?
What are you trying to achieve?
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-26 20:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-07 10:46 Prompt to confirm post Richard G Riley
2007-09-26 20:57 ` Reiner Steib
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).