From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anselm Helbig Newsgroups: gmane.emacs.help Subject: Re: Notification of new email at gmail? Date: Fri, 24 Apr 2009 22:08:29 +0200 Organization: Freie Universitaet Berlin Message-ID: <87d4b1n7b6.wl%anselm.helbig+news2009@googlemail.com> References: <86prf2dfi3.fsf@zeus.knighten.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1240626021 29829 80.91.229.12 (25 Apr 2009 02:20:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Apr 2009 02:20:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 25 04:21:41 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LxXWO-0008Q5-Ks for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Apr 2009 04:21:40 +0200 Original-Received: from localhost ([127.0.0.1]:51394 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxXUz-0002XD-2L for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Apr 2009 22:20:13 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-X-Trace: news.uni-berlin.de 3HdEAGD9Y2yJRIkmWwLtbwLbG0/z2ozl/3c2LiYlyQ34pETQRgETcQw72D Cancel-Lock: sha1:9QYdb13QhoUgGz79ByhCyMnGSeQ= In-Reply-To: <86prf2dfi3.fsf@zeus.knighten.org> Mail-Followup-To: anselm.helbig+news2009@googlemail.com User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.3 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) Original-Xref: news.stanford.edu gnu.emacs.help:168738 X-Mailman-Approved-At: Fri, 24 Apr 2009 22:19:50 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64011 Archived-At: Hi Bob! > I am now using emacs to dirctly send and receive email using gmail as > the mail server. This works well except that new mail notification on > the mode line no longer works as the mail doesn't appear in any file on > the computer until VM is invoked. Is there any application available > that can provide the notification function on the mode line? I've found > independent applications that will popup a notification on my desktop, > but I would much prefer to keep it in the emacs mode line. I don't use VM myself, but a quick look at the documentation seems to indicate that you need to set the `vm-auto-get-new-mail' variable: *Non-nil value causes VM to automatically move mail from spool files to a mail folder when the folder is first visited. Nil means you must always use `vm-get-new-mail' to pull in newly arrived messages. If the value is a number, then it specifies how often (in seconds) VM should check for new mail and try to retrieve it. This is done asynchronously and may occur while you are editing other files. It should not disturb your editing, except perhaps for a pause while the check is being done." I used a similar setting in my setup once - I'm using wanderlust - but it became too annoying: if your internet connection hangs or mail provider becomes unresponsive your whole emacs session hangs. So maybe you'd rather go back and use fetchmail/getmail or some external utility - wmmail is one, but there sure are others that also get the job done. HTH, Anselm -- Anselm Helbig mailto:anselm.helbig+news2009@googlemail.com