From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85020 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-gravatar may hang offline Date: Wed, 24 Sep 2014 16:49:01 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87bnq4lp6q.fsf@lifelogs.com> References: <87egx9q5f4.fsf@zoro.exoscale.ch> <87a97xq557.fsf@zoro.exoscale.ch> Reply-To: ding@gnus.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1411591752 24229 80.91.229.3 (24 Sep 2014 20:49:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2014 20:49:12 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33264@lists.math.uh.edu Wed Sep 24 22:49:02 2014 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 1XWtUe-0000MK-FO for ding-account@gmane.org; Wed, 24 Sep 2014 22:48:56 +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 1XWtUY-0007ZZ-54; Wed, 24 Sep 2014 15:48:50 -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 1XWtUW-0007ZE-N4 for ding@lists.math.uh.edu; Wed, 24 Sep 2014 15:48:48 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XWtUM-0006dd-FI for ding@lists.math.uh.edu; Wed, 24 Sep 2014 15:48:48 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XWtUK-0003R5-Vp for ding@gnus.org; Wed, 24 Sep 2014 22:48:37 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XWtUJ-0008OD-4c for ding@gnus.org; Wed, 24 Sep 2014 22:48:35 +0200 Original-Received: from c-98-229-61-72.hsd1.ma.comcast.net ([98.229.61.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Sep 2014 22:48:35 +0200 Original-Received: from tzz by c-98-229-61-72.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Sep 2014 22:48:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-229-61-72.hsd1.ma.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:JKxgEB5pL+y6TGfRIAZd9ep1DiI= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85020 Archived-At: On Fri, 25 Jul 2014 09:17:08 +0200 Vincent Bernat wrote: VB> ❦ 25 juillet 2014 09:11 +0200, Vincent Bernat  : >> While offline, I notice that Gnus sometimes hang when reading >> articles. I have pinpointed this problem to gravatar support. It uses >> `url-retrieve` which is documented as asynchronous but the resolving >> part isn't. >> >> I suppose there isn't much to do in a simple library like gravatar.el >> since the problem is rooted in Emacs. Does someone know if there is some >> workaround or if the problem is fixed in more recent versions of Emacs >> (I am using Emacs 24.3). VB> Meantime, I have found this thread: VB> http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg01053.html VB> However, it doesn't contain no conclusion. One possibility is to wait for the FFI to be available in Emacs, which might enable better DNS resolution plugin libraries. You could also disable the Gravatar support with `gnus-treat-mail-gravatar' and friends when you're offline. Finally, you could hard-code the IP address to the Gravatar server in your /etc/hosts file, but that has obvious long-term issues. Ted