From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Julien Danjou Newsgroups: gmane.emacs.devel Subject: Re: url-retrieve-synchronously and coding Date: Tue, 25 Jan 2011 11:44:03 +0100 Message-ID: <87fwshjma4.fsf@keller.adm.naquadah.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1295952274 8487 80.91.229.12 (25 Jan 2011 10:44:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Jan 2011 10:44:34 +0000 (UTC) Cc: Stefan Monnier , Emacs-Devel devel To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 25 11:44:29 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PhgNx-0001OT-Bo for ged-emacs-devel@m.gmane.org; Tue, 25 Jan 2011 11:44:29 +0100 Original-Received: from localhost ([127.0.0.1]:41529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhgNw-0000bc-N3 for ged-emacs-devel@m.gmane.org; Tue, 25 Jan 2011 05:44:28 -0500 Original-Received: from [140.186.70.92] (port=50912 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhgNf-0000ah-JO for emacs-devel@gnu.org; Tue, 25 Jan 2011 05:44:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhgNd-0005Is-FM for emacs-devel@gnu.org; Tue, 25 Jan 2011 05:44:11 -0500 Original-Received: from prometheus.naquadah.org ([212.85.154.174]:59083 helo=mx1.naquadah.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhgNd-0005Ht-9u for emacs-devel@gnu.org; Tue, 25 Jan 2011 05:44:09 -0500 Original-Received: by mx1.naquadah.org (Postfix, from userid 8) id 211745C168; Tue, 25 Jan 2011 11:44:07 +0100 (CET) Original-Received: from keller.adm.naquadah.org (unknown [IPv6:2a01:e35:2e39:e900:222:faff:fe9d:ce44]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.naquadah.org (Postfix) with ESMTPSA id DF2ED5C15C; Tue, 25 Jan 2011 11:44:04 +0100 (CET) Original-Received: from jd by keller.adm.naquadah.org with local (Exim 4.72) (envelope-from ) id 1PhgNY-0005he-2e; Tue, 25 Jan 2011 11:44:04 +0100 Mail-Followup-To: Lennart Borgman , Stefan Monnier , Emacs-Devel devel In-Reply-To: (Lennart Borgman's message of "Mon, 24 Jan 2011 18:29:06 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134925 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Mon, Jan 24 2011, Lennart Borgman wrote: > url-insert already does character decoding, but only if the > information is in the mime headers. Ok, did not spot that. > Isn't it easier to understand and maintain if all decoding is done at > the same place? Maybe url-insert is not the right place to do any > decoding? Yes. That should be split out of url-insert. I needed such a function and never found it, and never though url-insert might do some decoding=E2= =80=A6 Since I never needed to "insert" a url retrieved buffer. :) =2D-=20 Julien Danjou =E2=9D=B1 http://julien.danjou.info --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk0+qXMACgkQpGK1HsL+5c2FzACgj9mLQfGWgpdTRh1rJZy/y+Bp +8MAoMx9BF2xkyrgFEHs8bhILuUwdcbB =yIiX -----END PGP SIGNATURE----- --=-=-=--