Gnus development mailing list
 help / color / mirror / Atom feed
From: "Łukasz Stelmach" <lukasz.stelmach@iem.pw.edu.pl>
To: ding@gnus.org
Subject: Re: IMAP IDLE command
Date: Thu, 02 Dec 2010 19:25:53 +0100	[thread overview]
Message-ID: <87fwugvxou.fsf%lukasz.stelmach@iem.pw.edu.pl> (raw)
In-Reply-To: <yb0zksowbf6.fsf@dod.no>

Steinar Bang <sb@dod.no> writes:

>>>>>> Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>:
>
>> There is probably an option, however, `g'-ing when idle. Because I
>> like the Pomodoro Technique[1] so I take break on quite regular
>> basis. Gnus could check mail after few minutes if idleness.
>
> Here are my settings from my .gnus.el, dated 2003-05-15 23:23:19:
>
>  ;; Automatically fetch news and mail every 15 minutes when idle
>  (gnus-demon-add-handler 'gnus-demon-scan-news 15 t)
>
> 11 days later, on 2003-05-26 11:55:55, I changed it to the code below (I
[...]
>  ;; Automatically fetch news and mail every 15 minutes when idle
>  (defun sb-gnus-demon-scan-imap ()
[...]

Thanks. I'll probably try the former first. If it does not work I'll try
to figure out what sb-gnus-demon-scan-imap is about.

I've just read the code and what would suit me best is 

    ;; Check every 30 minutes but not until 5 minutes of idleness have
    ;; elapsed.
    (gnus-demon-add-handler 'gnus-demon-scan-news 30 5)

I just  love Emacs and its applications for their flexiblity.

-- 
Miłego dnia,
Łukasz Stelmach




  reply	other threads:[~2010-12-02 18:25 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-28 17:09 Łukasz Stelmach
2010-11-28 17:31 ` Byung-Hee HWANG
2010-11-28 21:21   ` Łukasz Stelmach
2010-11-28 21:23   ` Łukasz Stelmach
2010-11-29  4:36 ` Lars Magne Ingebrigtsen
2010-11-29  5:10   ` Daniel Pittman
2010-11-29  6:21     ` Łukasz Stelmach
2010-11-29  7:38       ` Frank Schmitt
2010-11-29 21:25         ` Łukasz Stelmach
2010-11-29 21:37           ` Dan Christensen
2010-12-14 23:20     ` Ted Zlatanov
2010-12-15 19:34       ` Lars Magne Ingebrigtsen
2010-12-15 21:04         ` Ted Zlatanov
2010-11-29 21:39   ` Tibor Simko
2010-12-01  1:05     ` Łukasz Stelmach
2010-12-01  8:50       ` Steinar Bang
2010-12-02  0:12         ` Łukasz Stelmach
2010-12-02  9:07           ` Steinar Bang
2010-12-02 10:19             ` Łukasz Stelmach
2010-12-02 13:29               ` Steinar Bang
2010-12-02 18:25                 ` Łukasz Stelmach [this message]
2010-12-02 13:37               ` Julien Danjou
2010-12-02 18:13                 ` Łukasz Stelmach

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=87fwugvxou.fsf%lukasz.stelmach@iem.pw.edu.pl \
    --to=lukasz.stelmach@iem.pw.edu.pl \
    --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).