From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82169 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Username for gnus-notifications Date: Thu, 30 Aug 2012 08:54:42 +0200 Message-ID: <873934yiml.fsf@thinkpad.tsdh.de> References: <87a9xcyk00.fsf@thinkpad.tsdh.de> <878vcwri8g.fsf@dex.adm.naquadah.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346309703 10039 80.91.229.3 (30 Aug 2012 06:55:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2012 06:55:03 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30437@lists.math.uh.edu Thu Aug 30 08:55:02 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 1T6yeZ-0000PI-Nk for ding-account@gmane.org; Thu, 30 Aug 2012 08:55:00 +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 1T6yeR-0003vZ-Fh; Thu, 30 Aug 2012 01:54:51 -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 1T6yeP-0003v5-Jc for ding@lists.math.uh.edu; Thu, 30 Aug 2012 01:54:49 -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 1T6yeO-0003P2-5a for ding@lists.math.uh.edu; Thu, 30 Aug 2012 01:54:49 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1T6yeM-0005yL-8Q for ding@gnus.org; Thu, 30 Aug 2012 08:54:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id F00D51A4046 for ; Thu, 30 Aug 2012 08:54:45 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z1ascsNx1m93 for ; Thu, 30 Aug 2012 08:54:45 +0200 (CEST) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 7019DD244A for ; Thu, 30 Aug 2012 08:54:45 +0200 (CEST) In-Reply-To: <878vcwri8g.fsf@dex.adm.naquadah.org> (Julien Danjou's message of "Thu, 30 Aug 2012 08:45:03 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82169 Archived-At: Julien Danjou writes: >> Strangely, now when I hit `g` again, it asks for my gnome keyring >> password once, and then it shows the notifications as it should. > > That's goole-contacts trying to get OAuth access. And it did get it > finally, so it stored the token in a GPG encrypted file (that's why > gnome-keyring's asking your password). > >> So it seems to work, but for what was the first query loop good for >> then? > > OAuth authentification, but the fact that it looped is strange. > > Note that's nothing specific about gnus-notifications, more likely a > problem with google-contacts or oauth2. I use the former from your git repository and the latter from ELPA (most recent released version). If it occurs another time, I'll try to debug what's the problem. More importantly, gnus-notifications is really nice. I had a rather similar hack in my ~/.gnus.el for some time, but your's is much nicer. :-) Maybe one enhancement could be to make the notification timeout configurable. The default of -1 means to let the notification server decide how long to show it, and I have no clue what the gnome shell does in that respect and it doesn't seem to be configurable at all there. Bye, Tassilo