unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* which module is checking mail every minute ?
@ 2015-12-27 11:48 Zhang Jun
  2015-12-28  3:38 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang Jun @ 2015-12-27 11:48 UTC (permalink / raw)
  To: help-gnu-emacs

I notice emacs is checking mailbox every minute,
but I'm not using gnus/mew/rmail ...

strace log:

19154 stat64("/var/mail/root", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
19154 readlink("/var/mail/root", 0x862acc0, 100) = -1 EINVAL (Invalid
argument)
19154 lstat64("/var/mail/root", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
19154 stat64("/var/mail/root", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
19154 readlink("/var/mail/root", 0x85c0668, 100) = -1 EINVAL (Invalid
argument)
19154 lstat64("/var/mail/root", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
19154 stat64("/var/mail/root", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
19154 readlink("/var/mail/root", 0x862acc0, 100) = -1 EINVAL (Invalid
argument)
19154 lstat64("/var/mail/root", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
19154 stat64("/var/mail/root", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
19154 readlink("/var/mail/root", 0x85c0668, 100) = -1 EINVAL (Invalid
argument)
19154 lstat64("/var/mail/root", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
19154 stat64("/var/mail/root", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
19154 readlink("/var/mail/root", 0x862acc0, 100) = -1 EINVAL (Invalid
argument)
19154 lstat64("/var/mail/root", {st_mode=S_IFREG|0600, st_size=0, ...}) = 0

# emacs -version
GNU Emacs 23.4.1


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

* Re: which module is checking mail every minute ?
  2015-12-27 11:48 which module is checking mail every minute ? Zhang Jun
@ 2015-12-28  3:38 ` Eli Zaretskii
  2015-12-28  5:43   ` Zhang Jun
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2015-12-28  3:38 UTC (permalink / raw)
  To: help-gnu-emacs

> Date: Sun, 27 Dec 2015 19:48:09 +0800
> From: Zhang Jun <gb2313@gmail.com>
> 
> I notice emacs is checking mailbox every minute,
> but I'm not using gnus/mew/rmail ...

Did you turn on display-time-mode?  It by default checks your mailbox
and displays an icon if you do have mail.  There are customization
variables to disable the mail checking and still display the time.



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

* Re: which module is checking mail every minute ?
  2015-12-28  3:38 ` Eli Zaretskii
@ 2015-12-28  5:43   ` Zhang Jun
  0 siblings, 0 replies; 3+ messages in thread
From: Zhang Jun @ 2015-12-28  5:43 UTC (permalink / raw)
  Cc: help-gnu-emacs

Cool,

(setq display-time-mail-file t)

display-time-mail-file's value is t

Documentation:
File name of mail inbox file, for indicating existence of new mail.
Non-nil and not a string means don't check for mail; nil means use
default, which is system-dependent, and is the same as used by Rmail.


thanks!

On Mon, Dec 28, 2015 at 11:38 AM, Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Sun, 27 Dec 2015 19:48:09 +0800
> > From: Zhang Jun <gb2313@gmail.com>
> >
> > I notice emacs is checking mailbox every minute,
> > but I'm not using gnus/mew/rmail ...
>
> Did you turn on display-time-mode?  It by default checks your mailbox
> and displays an icon if you do have mail.  There are customization
> variables to disable the mail checking and still display the time.
>
>


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

end of thread, other threads:[~2015-12-28  5:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-27 11:48 which module is checking mail every minute ? Zhang Jun
2015-12-28  3:38 ` Eli Zaretskii
2015-12-28  5:43   ` Zhang Jun

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 read-only IMAP folder(s) and NNTP newsgroup(s).