From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82294 Path: news.gmane.org!not-for-mail From: Noorul Islam K M Newsgroups: gmane.emacs.gnus.general Subject: gnus notifications setup Date: Tue, 11 Sep 2012 10:34:21 +0530 Message-ID: <87lighkv56.fsf@noman.maa.corp.collab.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347340034 7416 80.91.229.3 (11 Sep 2012 05:07:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2012 05:07:14 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30560@lists.math.uh.edu Tue Sep 11 07:07:15 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TBIgq-0002c7-QE for ding-account@gmane.org; Tue, 11 Sep 2012 07:07:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1TBIfS-0001tD-Kb; Tue, 11 Sep 2012 00:05:46 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1TBIfP-0001sz-Pl for ding@lists.math.uh.edu; Tue, 11 Sep 2012 00:05:43 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1TBIfE-00021e-MX for ding@lists.math.uh.edu; Tue, 11 Sep 2012 00:05:43 -0500 Original-Received: from mail-iy0-f172.google.com ([209.85.210.172]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1TBIfC-0006Ol-Fi for ding@gnus.org; Tue, 11 Sep 2012 07:05:30 +0200 Original-Received: by iabz21 with SMTP id z21so138442iab.17 for ; Mon, 10 Sep 2012 22:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noorul.com; s=google; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=UCb7Bvpjg9mlokH95JbMaX8S1tGlnhXOOG74UhX1uhs=; b=el8eVjnSHEUGpXeF4SgYfYxQ7zRxZYLvSCgve/pgxpH59G1MQurRwAtmpQWQuCQnjF difLSobUDA1PfLOztUMQoWD6PKvERBiPsPkbJFp22BCtEJLshDq+ObE6PbR4wHl4tzFI aUwVulPmobVmT1Pq4OR8KsnnUg8+f69XKrboM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type:x-gm-message-state; bh=UCb7Bvpjg9mlokH95JbMaX8S1tGlnhXOOG74UhX1uhs=; b=pUOGvuMTIF4Cy89aHyv/hEVf457r5Q1uRy1cTp9PPUk/kknGmMFdp3VTsW2X95e5YY nc1E0SYNO7QDVNZiKwli7nArG3QzkjYE5Ju+Py73HgrJ/2dltNVkGoTd/F72KeGeS31e uccM5y6tSRl7gfqRRUlS1W/s5rlb5SaX/S5XgC2QR5UM4cDPRGx5ifn/nLt0xmpY+TnM zYnRibxdmsZKJfIJIXiI7zjngXKIV4hRuq0wvVIym+WPsXvWIV3xq9Qwd2Gc6wuh2Cnx Tm4A5gse6NsCT9Yl5HC4IZMVsQEzIG6u6HJmtoFgbeSPp2iF/Xdh8JXWKtluH57yxOqz 5Egw== Original-Received: by 10.42.86.138 with SMTP id u10mr20047570icl.32.1347339924344; Mon, 10 Sep 2012 22:05:24 -0700 (PDT) Original-Received: from noman.maa.corp.collab.net ([182.71.239.158]) by mx.google.com with ESMTPS id bp8sm1050517igb.12.2012.09.10.22.05.22 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Sep 2012 22:05:23 -0700 (PDT) User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (gnu/linux) X-Gm-Message-State: ALoCoQl+UsVD9jEptk+glI+XLaGrau9fPJ0U26ASAoY/r/FkVRhUP07YSZwUaYluus2J7TGrwX3p X-Spam-Score: -2.8 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82294 Archived-At: I was desperately looking for something like this http://julien.danjou.info/blog/2012/gnus-notifications. I thought of setting this up but I could not make it work. I tested this using the following expression and it works. (gnus-notifications-notify "Noorul" "Testing notification" nil) And I added the following line in .gnus.el ;;; Notification (add-hook 'gnus-after-getting-new-news-hook 'gnus-notifications) But when I press 'g' from groups buffer, I am not getting any notifications even if I have new mails. Am I missing something? >From describe variable: gnus-after-getting-new-news-hook is a variable defined in `gnus-start.el'. Its value is (gnus-notifications gnus-display-time-event-handler) Original value was (gnus-display-time-event-handler) Thanks and Regards Noorul