From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: raman Newsgroups: gmane.emacs.devel Subject: Re: eww: call to eww-render looks incorrect Date: Sun, 03 Sep 2017 10:50:35 -0700 Message-ID: References: <83d177ygng.fsf@gnu.org> <8360czycfx.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1504461113 13412 195.159.176.226 (3 Sep 2017 17:51:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 3 Sep 2017 17:51:53 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 03 19:51:39 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1doZ3J-00028a-JN for ged-emacs-devel@m.gmane.org; Sun, 03 Sep 2017 19:51:21 +0200 Original-Received: from localhost ([::1]:36770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doZ3Q-0002X3-Gt for ged-emacs-devel@m.gmane.org; Sun, 03 Sep 2017 13:51:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doZ2i-0002WG-Vq for emacs-devel@gnu.org; Sun, 03 Sep 2017 13:50:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doZ2e-0007VI-C0 for emacs-devel@gnu.org; Sun, 03 Sep 2017 13:50:45 -0400 Original-Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]:36255) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1doZ2d-0007US-Vm for emacs-devel@gnu.org; Sun, 03 Sep 2017 13:50:40 -0400 Original-Received: by mail-pf0-x22b.google.com with SMTP id r187so12343998pfr.3 for ; Sun, 03 Sep 2017 10:50:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=RN+/WbxV/keQVmMcYJNQoM+5VCASJVRiIq7ji3bPcbU=; b=kgoHL7p5MxoQWMvIOsEqycBQj+kkTHpFB1+NsdzoSe+vTC3Dkps1rmIloqcgMX4vPh U5o7hnwCK1QTVTuHAGCL+BnTcv7dexlFFd4veae0XOJ+Z0UWsX4Ps3KR0LhDRYkQvscV NxhYXAZEdiX98eab6TwwSz++vrkZjmB2GQuvema32Zg2UAPwYznr/4P985mYJdJYwBRb 9KMFAEYAWjmnaL12Lxhen5lcYNgcVnZ9akwbIuUX3i0J88tGqDY+WdRX0tgs+EtL6sR8 pqGhgmoXgITEVq+PClwd4pexKQ9CSHaOJ55bUd520wf/j4xu8GwTejGXMdsOcFmoP0XX e7OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=RN+/WbxV/keQVmMcYJNQoM+5VCASJVRiIq7ji3bPcbU=; b=bgvkgKhu8uwEOOtBahGS7p4gPHFpoKFMBhAwE93LRlO/zpaY59YXTc8dbfx9F3bEq0 o4JW+kfKRy42Q+R4gvdQJUidneYQbITWuvp5r17XFoXzto7Ojk5t4KtS1wVA3uSdBuxe WWS+PudZMlp8ezZVImXsyHIikCpmbqgz3LllzOgs1t6mPolLlQ5FKUBk19r4z8lalkFM vtJ0sdSCWBOBGQmGagIUr9EH0g/10vqj0RKlI1MNxuBD0a/ApD8SyXilsd3d5meZ6V9D sXDBTeEjSTxJnG9txYtuTsPAqbXrcX/egtirsdEKycPlvizJZRUMV8asuZl7/ljsvPhQ MSbA== X-Gm-Message-State: AHPjjUjF1Y7N+6CicYlUgBZvIiPdGcxMheClV9Ze4JPezE29BKKNEdDT eV+SS+dhdxkDcLq8+0rfcQ== X-Google-Smtp-Source: ADKCNb59rhy8zWZ55zpxi7h/DGLLKU/50hon3+YkEoH6gY+/tltcF+jPCJJvBLkAaNlr/lNTQWXAtg== X-Received: by 10.98.33.211 with SMTP id o80mr8700886pfj.111.1504461038333; Sun, 03 Sep 2017 10:50:38 -0700 (PDT) Original-Received: from raman-glaptop2 (c-73-170-121-60.hsd1.ca.comcast.net. [73.170.121.60]) by smtp.gmail.com with ESMTPSA id z30sm37783pfg.54.2017.09.03.10.50.37 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sun, 03 Sep 2017 10:50:37 -0700 (PDT) In-Reply-To: <8360czycfx.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 03 Sep 2017 19:27:46 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217917 Archived-At: Eli Zaretskii writes: thanks -- I was clearly confused.>> From: raman >> Cc: emacs-devel@gnu.org >> Date: Sun, 03 Sep 2017 08:52:20 -0700 >>=20 >> Eli Zaretskii writes: >>=20 >> I might be confused -- reading that signature I thought status should be >> passed first, the call I see passes url first > > No, status is not included in the list of arguments. The doc string > says: > > (url-retrieve URL CALLBACK &optional CBARGS SILENT INHIBIT-COOKIES) > > Retrieve URL asynchronously and call CALLBACK with CBARGS when finished. > URL is either a string or a parsed URL. If it is a string > containing characters that are not valid in a URI, those > characters are percent-encoded; see =A1=AEurl-encode-url=A1=AF. > > CALLBACK is called when the object has been completely retrieved, with > the current buffer containing the object, and any MIME headers associat= ed > with it. It is called as (apply CALLBACK STATUS CBARGS). > STATUS is a plist representing what happened during the request, > > As you see, only CBARGS are taken from the call to url-retrieve, the > status is added when the callback is invoked. --=20