From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71011 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] Use `url' rather than curl Date: Sat, 18 Sep 2010 21:02:34 +0100 Message-ID: References: <87eicrmaly.fsf@keller.adm.naquadah.org> <1284834162-24257-1-git-send-email-julien@danjou.info> <87r5gqlx2u.fsf@keller.adm.naquadah.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284840192 18718 80.91.229.12 (18 Sep 2010 20:03:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2010 20:03:12 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19384@lists.math.uh.edu Sat Sep 18 22:03:10 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ox3cs-0002xz-07 for ding-account@gmane.org; Sat, 18 Sep 2010 22:03:10 +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 1Ox3cX-0002ha-PJ; Sat, 18 Sep 2010 15:02:49 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Ox3cW-0002hK-Cb for ding@lists.math.uh.edu; Sat, 18 Sep 2010 15:02:48 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Ox3cV-0003w5-00 for ding@lists.math.uh.edu; Sat, 18 Sep 2010 15:02:48 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Ox3cU-0006Rd-00 for ; Sat, 18 Sep 2010 22:02:46 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ox3cT-0002oK-Uy for ding@gnus.org; Sat, 18 Sep 2010 22:02:45 +0200 Original-Received: from cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com ([86.9.122.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Sep 2010 22:02:45 +0200 Original-Received: from sdl.web by cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Sep 2010 22:02:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+ vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMO DhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QH w/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnY DQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V 7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ7 0hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloe m/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (Mac OS X 10.6.4) Cancel-Lock: sha1:rMslzOsC8874TA2m78weedelD5E= X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71011 Archived-At: On 2010-09-18 20:28 +0100, Lars Magne Ingebrigtsen wrote: >> I think (not sure) that is part of the URL's flow. After it invokes >> the callback provided by the user, it does other things which require >> the process buffer to be around. kill-buffer inside the process's >> filter/sentinel, disrupt its working. > > Right. However, I'm seeing no jumping cursors with Julien's patch. Alright. In my experience, it wasn't reliably reproducible making it difficult to debug. For example, it could depend on the time it takes to retrieve a page. I actually had this comment in June in a personal code snippet: - ;; xxx: sometimes it moves point - ;; (ircpaste-lodgeit-getpaste 215625) usually fails - ;; (ircpaste-lodgeit-getpaste 215623) usually works Referring to the two pastes: http://paste.pocoo.org/show/215625/ http://paste.pocoo.org/show/215623/ Anyway URL provides a pair url-mark-buffer-as-dead and url-gc-dead-buffers (called at the beginning of url-retrieve-internal). Leo