From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eduardo Ochs Newsgroups: gmane.emacs.bugs Subject: `url-retrieve-synchronously' is not synchronous enough Date: Sat, 10 Nov 2007 05:58:24 -0200 Message-ID: <87pryi7crj.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194681636 24633 80.91.229.12 (10 Nov 2007 08:00:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Nov 2007 08:00:36 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 10 09:00:38 2007 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 1IqlGc-0007Kr-Di for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Nov 2007 09:00:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IqlGQ-0003n7-MU for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Nov 2007 03:00:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IqlGK-0003jo-Sk for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2007 03:00:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IqlGI-0003fg-RM for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2007 03:00:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IqlGI-0003fJ-Im for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2007 03:00:14 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IqlGH-0000uZ-Sx for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2007 03:00:14 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IqlGF-0002qi-UZ for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2007 03:00:12 -0500 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1IqlG6-0001fw-67 for bug-gnu-emacs@gnu.org; Sat, 10 Nov 2007 08:00:04 +0000 Original-Received: from 189.25.93.129 ([189.25.93.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Nov 2007 08:00:02 +0000 Original-Received: from eduardoochs by 189.25.93.129 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Nov 2007 08:00:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 189.25.93.129 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:C2BHjYdOAY9g1YdJVeWpuFQh+GA= X-detected-kernel: by mx20.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:16951 Archived-At: `url-retrieve-synchronously' is not synchronous enough. When I execute this sexp, (progn (switch-to-buffer (url-retrieve-synchronously "http://127.0.0.1/")) (point)) the result is (point-max), but when I get the control back the point is at the first character of a buffer - as if some hook containing (goto-char (point-min)) ran after the (point) in the progn. My version of Emacs is: (emacs-version) -> "GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20) of 2007-11-09 on persephone". Cheers, Eduardo Ochs eduardoochs@gmail.com http://angg.twu.net/