From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#5372: Calling url-retrieve-synchronously in a timer Date: Wed, 13 Jan 2010 16:17:49 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1263395994 10857 80.91.229.12 (13 Jan 2010 15:19:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jan 2010 15:19:54 +0000 (UTC) Cc: 5372@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 13 16:19:46 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 1NV50X-0002TM-Le for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jan 2010 16:19:41 +0100 Original-Received: from localhost ([127.0.0.1]:45967 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NV50Y-00086W-EB for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jan 2010 10:19:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NV50D-0007uy-By for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2010 10:19:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NV508-0007qn-MA for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2010 10:19:20 -0500 Original-Received: from [199.232.76.173] (port=35865 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NV508-0007qW-Cq for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2010 10:19:16 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38358) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NV507-0004uK-5N for bug-gnu-emacs@gnu.org; Wed, 13 Jan 2010 10:19:15 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NV4zu-0002ZN-GH; Wed, 13 Jan 2010 10:19:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Lennart Borgman 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 15:19:02 +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.12633958999859 (code B ref 5372); Wed, 13 Jan 2010 15:19:02 +0000 Original-Received: (at 5372) by debbugs.gnu.org; 13 Jan 2010 15:18:19 +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 1NV4zD-0002Yy-Gv for submit@debbugs.gnu.org; Wed, 13 Jan 2010 10:18:19 -0500 Original-Received: from mail-bw0-f216.google.com ([209.85.218.216]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NV4zB-0002Yf-Lv for 5372@debbugs.gnu.org; Wed, 13 Jan 2010 10:18:18 -0500 Original-Received: by bwz8 with SMTP id 8so15668829bwz.39 for <5372@debbugs.gnu.org>; Wed, 13 Jan 2010 07:18:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=YsOh2g8vqEVtRbbTv8aXLJoY0j8BRWAQLySYiUTVbgs=; b=M0ysLGo9aMS2KgqJQcNtoe8v8Lm1BuUnuEuRQtAoMPKR4HTtPif4xeGM9Rq7TFyzR4 1VIXPFPdLczsNZF3bj5/jFTdkKMdLUMHXIoqt8QPD5MHdxYTPWdPMDenqHQdWpWJfca4 laoAbwjw5LpTqxonS+8zP6SW55k5YqKArbCZo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=ZfQAkUu38FgOKbQLP4S51yIZ1s5oB2kgL2TtilenITO4kLXQ9onOyFCAaFm3BAP/b5 F/P+tiG8P8hxILGNdIuipFjuP6E15Cs11JAIA4OwQqDDNLZ0x9r77zVpVrqWzNuoj3nN AHe1TAWmUXqm5cSoLGLw8bdhXQjynL0J3fZ7I= Original-Received: by 10.239.189.13 with SMTP id r13mr831435hbh.92.1263395889130; Wed, 13 Jan 2010 07:18:09 -0800 (PST) In-Reply-To: X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -2.9 (--) Resent-Date: Wed, 13 Jan 2010 10:19:02 -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:34273 Archived-At: On Wed, Jan 13, 2010 at 3:43 PM, Stefan Monnier wrote: >> It looks like url-retrieve-synchronously is not finished when run in a >> timer. =C2=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? Or should it rather be documented for the moment? Does it work the same way on other platforms? (I tested on w32, forgot to mention that.) > 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. > so you should probably use url-retrieve instead. Thanks. Yes, I already did and that solved my problem, but the bug report is not about that.