From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#5372: Calling url-retrieve-synchronously in a timer Date: Wed, 13 Jan 2010 13:49:09 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1263410500 2022 80.91.229.12 (13 Jan 2010 19:21:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jan 2010 19:21:40 +0000 (UTC) Cc: 5372@debbugs.gnu.org To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 13 20:21:33 2010 Return-path: Envelope-to: geb-bug-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 1NV8ma-0007RY-C6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jan 2010 20:21:32 +0100 Original-Received: from localhost ([127.0.0.1]:50806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NV8ma-00062D-Qa for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jan 2010 14:21:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NV8kk-0005GE-1k for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2010 14:19:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NV8ke-0005F1-Te for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2010 14:19:37 -0500 Original-Received: from [199.232.76.173] (port=58469 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NV8ke-0005Et-KI for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2010 14:19:32 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39772) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NV8ke-0008Af-CQ for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2010 14:19:32 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NV8I7-0006fo-6m; Wed, 13 Jan 2010 13:50:03 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jan 2010 18:50:03 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5372 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5372-submit@debbugs.gnu.org id=B5372.126340855725617 (code B ref 5372); Wed, 13 Jan 2010 18:50:03 +0000 Original-Received: (at 5372) by debbugs.gnu.org; 13 Jan 2010 18:49:17 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NV8HM-0006f8-RH for submit@debbugs.gnu.org; Wed, 13 Jan 2010 13:49:16 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NV8HL-0006ew-9J for 5372@debbugs.gnu.org; Wed, 13 Jan 2010 13:49:15 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvIEAC+kTUvO+KPG/2dsb2JhbACBRNYRhDAEijI X-IronPort-AV: E=Sophos;i="4.49,269,1262581200"; d="scan'208";a="53687770" Original-Received: from 206-248-163-198.dsl.teksavvy.com (HELO pastel.home) ([206.248.163.198]) by ironport2-out.pppoe.ca with ESMTP; 13 Jan 2010 13:49:10 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 8ED4A806E; Wed, 13 Jan 2010 13:49:09 -0500 (EST) In-Reply-To: (Lennart Borgman's message of "Wed, 13 Jan 2010 16:17:49 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -2.1 (--) Resent-Date: Wed, 13 Jan 2010 13:50:03 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34289 Archived-At: >>> It looks like url-retrieve-synchronously is not finished when run in a >>> timer. =A0Is that expected behaviour? >>> It looks like it hangs in accept-process-output. >> It's not expected (for me anyway), but I'm not completely >> surprised either. > So do you consider it a bug? I think so, yes. >> Furthermore, it doesn't look like a good thing to >> do anyway: timer code should not run for an indefinite amount of time, > Maybe you misunderstod me. If I do the call to > url-retrieve-synchronously from the command loop it finishes very > quickly (in this case), but if I do the same thing in a timer > it hangs. I understood you alright. The fact that "it finishes quickly" when you try it doesn't mean that it will always run in a definite amount of time. Stefan