Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Reporting new mail
@ 2003-09-03  7:57 Vladimir Grul
       [not found] ` <vzbru247gl.fsf@redqueen.bytechase.cx>
  0 siblings, 1 reply; 2+ messages in thread
From: Vladimir Grul @ 2003-09-03  7:57 UTC (permalink / raw)


Hello,

I would like to call mail-source-report-new-mail on exiting gnus.
I have tried something like

(add-hook 'gnus-exit-gnus-hook 'mail-source-report-new-mail)

but I must call mail-source-report-new-mail with parameter t.

What is the correct way to achieve this?

Thank you.

Vladimir


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Reporting new mail
       [not found] ` <vzbru247gl.fsf@redqueen.bytechase.cx>
@ 2003-09-03  8:22   ` Vladimir Grul
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir Grul @ 2003-09-03  8:22 UTC (permalink / raw)


Norbert Koch <nk+news@viteno.net> writes:

> (add-hook 'gnus-exit-gnus-hook
>           '(lambda () (mail-source-report-new-mail t)))
> 
> should do it.
> 
> norbert.

It works. Thank you.

Vladimir


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-03  8:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-03  7:57 Reporting new mail Vladimir Grul
     [not found] ` <vzbru247gl.fsf@redqueen.bytechase.cx>
2003-09-03  8:22   ` Vladimir Grul

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).