From: Karl Kleinpaste <invalid@kleinpaste.org>
To: info-gnus-english@gnu.org
Subject: Re: Newbies questions
Date: Thu, 26 Jul 2007 06:33:07 -0400 [thread overview]
Message-ID: <yu0lkd3sbdo.fsf@mesquite.kleinpaste.org> (raw)
In-Reply-To: <mailman.4002.1185433725.32220.info-gnus-english@gnu.org>
Tassilo Horn <tassilo@member.fsf.org> writes:
> Maybe it doesn't work for him because
> gnus-demon-scan-news-and-update
> gnus-demon-scan-mail-and-update
> are no predefined gnus functions?
No, those are the functions I gave him.
But what I did wrong was to neglect to provide the base function
needed for the two utility functions:
;; level-specified group scanner.
(defun gnus-demon-scan-mail-or-news-and-update (level)
"Scan for new mail, updating the *Group* buffer."
(let ((win (current-window-configuration)))
(unwind-protect
(save-window-excursion
(save-excursion
(when (gnus-alive-p)
(save-excursion
(set-buffer gnus-group-buffer)
(gnus-group-get-new-news level)))))
(set-window-configuration win))))
Without this, the two demon functions I offered should have blown up
completely on an undef error.
next prev parent reply other threads:[~2007-07-26 10:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-25 17:17 someusernamehere
2007-07-25 18:24 ` Karl Kleinpaste
2007-07-25 18:53 ` someusernamehere
2007-07-25 21:35 ` Karl Kleinpaste
2007-07-25 23:26 ` someusernamehere
2007-07-25 23:59 ` Karl Kleinpaste
2007-07-26 0:20 ` someusernamehere
2007-07-26 14:54 ` someusernamehere
2007-07-26 19:38 ` Exal de Jesus Garcia Carrillo
2007-07-26 7:07 ` Tassilo Horn
[not found] ` <mailman.4002.1185433725.32220.info-gnus-english@gnu.org>
2007-07-26 10:33 ` Karl Kleinpaste [this message]
2007-07-25 18:27 ` Dick Hoogendijk
2007-07-25 18:49 ` David Z Maze
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=yu0lkd3sbdo.fsf@mesquite.kleinpaste.org \
--to=invalid@kleinpaste.org \
--cc=MyGivenName+usenet@kleinpaste.org \
--cc=info-gnus-english@gnu.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).